DragonFly BSD
DragonFly kernel List (threaded) for 2004-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: newcard & hang on shutdown

From: Eirik Nygaard <eirikn@xxxxxxxxxxxx>
Date: Sun, 30 May 2004 20:01:02 +0200

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@xxxxxxxxxxxx    Never let a computer know you're in a hurry.

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]