NetBSD-Bugs archive

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

Re: kern/38298

The following reply was made to PR kern/38298; it has been noted by GNATS.

From: "Scott Telford" <>
Subject: Re: kern/38298
Date: Tue, 15 Apr 2008 23:24:22 +0000

 >   The 0x00004000 needs a symbolic name (CB_SOCKET_FORCE_*, and maybe
 I agree. I'm not sure what this bit is called in the official documentation,
 but Linux defines it thus:
 #define    CB_CVSTEST           0x00004000      /* Card VS test */
 >   So what happens is that the slot is in badvcc state and won't power dow=
 >   Wouldn't it be better to detect and handle that inside pccbb_power()?
 While perusing the PR database, I found PR/36652, which seems to describe
 a similar problem. I've tried merging the pccbb.c rev 1.145 change suggested
 in this PR, which does write to CB_SOCKET_FORCE in pccbb_power(), but this
 doesn't fully fix the problem - the kernel doesn't seem to hang, but I still
 get the "disabling socket" message and the CardBus device isn't probed.
 Maybe if I added the 0x00004000 bit to the write, this might work, but I ha=
 tried that yet.
 Want an e-mail address like mine?
 Get a free e-mail account today at!

Home | Main Index | Thread Index | Old Index