diff options
| author | riz <riz@NetBSD.org> | 2013-11-21 21:17:50 +0000 |
|---|---|---|
| committer | riz <riz@NetBSD.org> | 2013-11-21 21:17:50 +0000 |
| commit | c8dc6316ff790becfda93961af5987b79f185d5a (patch) | |
| tree | a6d16635b5518eea5ffc79927beaff66017cbebd /sys/dev/cardbus | |
| parent | 2c31e0f62d15db7342d14bfbbc3650c070b57c58 (diff) | |
Expand "#ifdef notyet" section to encompass the use of the variable
declared within.
Diffstat (limited to 'sys/dev/cardbus')
| -rw-r--r-- | sys/dev/cardbus/if_rtw_cardbus.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/cardbus/if_rtw_cardbus.c b/sys/dev/cardbus/if_rtw_cardbus.c index b117de4ca2e..fa0ef207bf9 100644 --- a/sys/dev/cardbus/if_rtw_cardbus.c +++ b/sys/dev/cardbus/if_rtw_cardbus.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_rtw_cardbus.c,v 1.43 2013/10/17 21:22:28 christos Exp $ */ +/* $NetBSD: if_rtw_cardbus.c,v 1.44 2013/11/21 21:17:50 riz Exp $ */ /*- * Copyright (c) 2004, 2005 David Young. All rights reserved. @@ -64,7 +64,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_rtw_cardbus.c,v 1.43 2013/10/17 21:22:28 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_rtw_cardbus.c,v 1.44 2013/11/21 21:17:50 riz Exp $"); #include "opt_inet.h" @@ -215,17 +215,17 @@ rtw_cardbus_attach(device_t parent, device_t self, void *aux) panic("rtw_cardbus_attach: impossible"); } + printf(": %s\n", rcp->rcp_product_name); + #ifdef notyet /* Get revision info. */ int rev = PCI_REVISION(ca->ca_class); -#endif - - printf(": %s\n", rcp->rcp_product_name); RTW_DPRINTF(RTW_DEBUG_ATTACH, ("%s: pass %d.%d signature %08x\n", device_xname(self), (rev >> 4) & 0xf, rev & 0xf, Cardbus_conf_read(ct, csc->sc_tag, 0x80))); +#endif /* * Map the device. |
