summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_skreg.h
diff options
context:
space:
mode:
authormckay <mckay@FreeBSD.org>2004-03-31 12:35:51 +0000
committermckay <mckay@FreeBSD.org>2004-03-31 12:35:51 +0000
commit75184952d3500e61c2a9c6e39a4b4c9b84aec7d5 (patch)
tree50e4204f3f0b491727646e9bd239486ed248a812 /sys/pci/if_skreg.h
parenta362cdba471378b35f143e33a5a6b0b2625f7c80 (diff)
downloadFreeBSD-src-75184952d3500e61c2a9c6e39a4b4c9b84aec7d5.zip
FreeBSD-src-75184952d3500e61c2a9c6e39a4b4c9b84aec7d5.tar.gz
Support the D-Link DGE-530T. Mine appears to have a blank eeprom, so assume
they all do and handle that without alarming the user. Also pull in a bit of defensive code from OpenBSD that triggers when a card is recognised but not properly classified as either Genesis or Yukon. Not that I could ever have needed this. :-) Obtained from: OpenBSD/NetBSD (partially) MFC after: 2 weeks
Diffstat (limited to 'sys/pci/if_skreg.h')
-rw-r--r--sys/pci/if_skreg.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/pci/if_skreg.h b/sys/pci/if_skreg.h
index 8e2eb53..25027a1 100644
--- a/sys/pci/if_skreg.h
+++ b/sys/pci/if_skreg.h
@@ -91,6 +91,16 @@
#define DEVICEID_LINKSYS_EG1032 0x1032
/*
+ * D-Link PCI vendor ID
+ */
+#define VENDORID_DLINK 0x1186
+
+/*
+ * D-Link gigabit ethernet device ID
+ */
+#define DEVICEID_DLINK_DGE530T 0x4c00
+
+/*
* GEnesis registers. The GEnesis chip has a 256-byte I/O window
* but internally it has a 16K register space. This 16K space is
* divided into 128-byte blocks. The first 128 bytes of the I/O
OpenPOWER on IntegriCloud