newcard & hang on shutdown

Eirik Nygaard eirikn at kerneled.com
Sun May 30 11:09:17 PDT 2004


On Thu, May 27, 2004 at 10:09:16PM +0200, Eirik Nygaard wrote:
[ cut cut ]

After some starter help from drhodus I have now tracked down the problem.
cbb_get() in src/sys/dev/pccard/pccbb/pccbb.c calls bus_space_read_4 in
src/sys/i386/include/bus_at386.h which again returns 
"return (*(volatile u_int32_t *)(handle + offset));", but when I instead
make it return "return (inl(handle + offset));" it works.

So if someone could clarify for me why this is I would be grateful,
perhaps that would even get me one step closer to making a patch that
is not one big ugly hack which is what I have done now. (added another
inline function that return (inl(handle + offset)); regardless if tag and
handle match or not.)

-- 
Eirik Nygaard
eirikn at xxxxxxxxxxxx    Never let a computer know you're in a hurry.





More information about the Kernel mailing list