Remove a comple of bogus debug printfs that snuck in during some
debugging I was doing 3 months ago :-(. Noticed by: scottl Aproved by: the re blanket (different than the security blanket).
This commit is contained in:
parent
d3c6d000f7
commit
6051661649
@ -843,13 +843,11 @@ cbb_driver_added(device_t brdev, driver_t *driver)
|
||||
if (devlist[tmp] == NULL)
|
||||
/* NOTHING */;
|
||||
else if (strcmp(driver->name, "cardbus") == 0) {
|
||||
printf("Adding cardbus\n");
|
||||
sc->cbdev = devlist[tmp];
|
||||
if (((sockstate & CBB_SOCKET_STAT_CD) == 0) &&
|
||||
(sockstate & CBB_SOCKET_STAT_CB))
|
||||
wake++;
|
||||
} else if (strcmp(driver->name, "pccard") == 0) {
|
||||
printf("Adding pccard\n");
|
||||
sc->pccarddev = devlist[tmp];
|
||||
if (((sockstate & CBB_SOCKET_STAT_CD) == 0) &&
|
||||
(sockstate & CBB_SOCKET_STAT_16BIT))
|
||||
|
@ -176,11 +176,12 @@
|
||||
#define CBB_SOCKET_EVENT_CD1 0x02 /* Card Detect 1 */
|
||||
#define CBB_SOCKET_EVENT_CD2 0x04 /* Card Detect 2 */
|
||||
#define CBB_SOCKET_EVENT_CD 0x06 /* Card Detect all */
|
||||
#define CBB_SOCKET_EVENT_POWER 0x08 /* Power Cycle */
|
||||
#define CBB_SOCKET_EVENT_POWER 0x08 /* Power Cycle */
|
||||
|
||||
#define CBB_SOCKET_MASK_CSTS 0x01 /* Card Status Change */
|
||||
#define CBB_SOCKET_MASK_CD 0x06 /* Card Detect */
|
||||
#define CBB_SOCKET_MASK_POWER 0x08 /* Power Cycle */
|
||||
#define CBB_SOCKET_MASK_ALL 0x0F /* all of the above */
|
||||
|
||||
#define CBB_SOCKET_STAT_CARDSTS 0x00000001 /* Card Status Change */
|
||||
#define CBB_SOCKET_STAT_CD1 0x00000002 /* Card Detect 1 */
|
||||
@ -202,8 +203,6 @@
|
||||
#define CBB_SOCKET_STAT_XVSOCK 0x40000000 /* X.X V Socket */
|
||||
#define CBB_SOCKET_STAT_YVSOCK 0x80000000 /* Y.Y V Socket */
|
||||
|
||||
#define CBB_SOCKET_FORCE_BADVCC 0x0200 /* Bad Vcc Request */
|
||||
|
||||
#define CBB_SOCKET_CTRL_VPPMASK 0x07
|
||||
#define CBB_SOCKET_CTRL_VPP_OFF 0x00
|
||||
#define CBB_SOCKET_CTRL_VPP_12V 0x01
|
||||
|
Loading…
x
Reference in New Issue
Block a user