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:
Warner Losh 2002-11-23 23:09:45 +00:00
parent c3bf92aa58
commit e961d904ac
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107194
2 changed files with 2 additions and 5 deletions

View file

@ -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))

View file

@ -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