sysfs cpu entry
Hi,
Can someone suggest where to add the code for a cpu
(/sys/devices/system/cpu/cpu0) entry in sysfs?
The 2.6.24 release has a sysfs.c file but it only seems to be used for
64-bit? Anyone know why? What kind of planetary disasters will I create if I allow it to be used in 32-bit as well?
kevin
P.S.: On an unrelated note, anyone know where to start looking for problems in pmac_zilog. My 8600 modem which worked fine in 2.4 is now essentially useless. Some problem with handshaking, I think.
Quoted 9 lines · Kevin Diggs
Hi,
Can someone suggest where to add the code for a cpu
(/sys/devices/system/cpu/cpu0) entry in sysfs?The 2.6.24 release has a
sysfs.cfile but it only seems to be used
for 64-bit? Anyone know why? What kind of planetary disasters will I create if I allow it to be used in 32-bit as well?kevin
There's no huge harm just make sure that you fixup things to only expose registers that exist on a 32-bit part.
What 32-bit chip are you looking to enable this for?
- k
Quoted 5 lines · Kumar Gala
What 32-bit chip are you looking to enable this for?
- k
I am working on some stuff for the 750GX
kevin
Quoted 3 lines · Kevin Diggs
P.S.: On an unrelated note, anyone know where to start looking for problems inpmac_zilog. My 8600 modem which worked fine in 2.4 is now essentially useless. Some problem with handshaking, I think.
It's possible that handshaking is broken, I remember some nasty tricks with it on some Apple HW and I may have gotten that wrong...
Ben.