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: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Mon, 31 May 2004 11:03:47 +0200

On 30.05.2004, at 20:01, Eirik Nygaard wrote:

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.

inl != memory!!


the original reads one uint_32 from a memory location, your change reads one uint from a io port! I figure this is the wrong solution...

cheers
  simon

--
/"\
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News

Attachment: PGP.sig
Description: This is a digitally signed message part



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