diff options
author | mbr <mbr@FreeBSD.org> | 2003-01-10 08:16:03 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-01-10 08:16:03 +0000 |
commit | 8072add6cd64deb4e077636a4cbad94573f11b6e (patch) | |
tree | 1357173551b0b12d24d5c5f92e445cf865c847ac /sys/pci/if_sisreg.h | |
parent | 75f683db0e133f819fda95934108547a6f70a340 (diff) | |
download | FreeBSD-src-8072add6cd64deb4e077636a4cbad94573f11b6e.zip FreeBSD-src-8072add6cd64deb4e077636a4cbad94573f11b6e.tar.gz |
Make newer integrated SiS900 cards working.
Allow to read EEPROM from LAN. It is shared
between a 1394 controller and the NIC and each
time we access it, we need to set SIS_EECMD_REQ.
Idea from: linux driver source
Reviewed by: luoqi
Obtained from: linux driver source (idea)
Diffstat (limited to 'sys/pci/if_sisreg.h')
-rw-r--r-- | sys/pci/if_sisreg.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/pci/if_sisreg.h b/sys/pci/if_sisreg.h index 9ba2195..6ec34ce 100644 --- a/sys/pci/if_sisreg.h +++ b/sys/pci/if_sisreg.h @@ -129,6 +129,14 @@ #define SIS_EECMD_READ 0x180 #define SIS_EECMD_ERASE 0x1c0 +/* + * EEPROM Commands for SiS96x + * chipsets. + */ +#define SIS_EECMD_REQ 0x00000400 +#define SIS_EECMD_DONE 0x00000200 +#define SIS_EECMD_GNT 0x00000100 + #define SIS_EE_NODEADDR 0x8 #define NS_EE_NODEADDR 0x6 @@ -392,6 +400,7 @@ struct sis_ring_data { #define SIS_REV_630EA1 0x0083 #define SIS_REV_630ET 0x0084 #define SIS_REV_635 0x0090 +#define SIS_REV_96x 0x0091 /* * NatSemi vendor ID |