newcard & hang on shutdown
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Mon May 31 02:22:46 PDT 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00010.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20040531/abc13819/attachment-0020.obj>
More information about the Kernel
mailing list