summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_dcreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-09-07 18:51:04 +0000
committerwpaul <wpaul@FreeBSD.org>2000-09-07 18:51:04 +0000
commite7db16f40776c80240ba3488d1e97376a935c423 (patch)
tree5744f4c213c2de1bb842cbdc4e0840da15a7927c /sys/pci/if_dcreg.h
parentfeadccca5dfe85a58bf6670d8065703640a13be6 (diff)
downloadFreeBSD-src-e7db16f40776c80240ba3488d1e97376a935c423.zip
FreeBSD-src-e7db16f40776c80240ba3488d1e97376a935c423.tar.gz
Special-case the LED twiddling code so that it doesn't do anything
on the NEC VersaPro NoteBook PC. This 21143 implementation has no LEDs, and flipping the LED control bits somehow stops it from establishing a link. We check the subsystem ID and don't flip the LED control bits for the NEC NIC.
Diffstat (limited to 'sys/pci/if_dcreg.h')
-rw-r--r--sys/pci/if_dcreg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pci/if_dcreg.h b/sys/pci/if_dcreg.h
index abb52ed..a0a2444 100644
--- a/sys/pci/if_dcreg.h
+++ b/sys/pci/if_dcreg.h
@@ -679,6 +679,7 @@ struct dc_softc {
#define DC_21143_NWAY 0x00000800
#define DC_128BIT_HASH 0x00001000
#define DC_64BIT_HASH 0x00002000
+#define DC_TULIP_LEDS 0x00004000
/*
* register space access macros
OpenPOWER on IntegriCloud