diff options
author | wpaul <wpaul@FreeBSD.org> | 2002-01-14 20:52:31 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2002-01-14 20:52:31 +0000 |
commit | d5ccc496a64277c6ec707c6dd76aef59342cae27 (patch) | |
tree | 6927762b8942e4dca51bce053d5652299b4a7a16 /sys/pci/if_sis.c | |
parent | 2a76d02bafbd7f6a8badd76af188a412978d2030 (diff) | |
download | FreeBSD-src-d5ccc496a64277c6ec707c6dd76aef59342cae27.zip FreeBSD-src-d5ccc496a64277c6ec707c6dd76aef59342cae27.tar.gz |
Fix mind-o: compare sc->sis_rev instead of 'command' when trying to
decide how to read the station address.
Diffstat (limited to 'sys/pci/if_sis.c')
-rw-r--r-- | sys/pci/if_sis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c index 704df70..998203e 100644 --- a/sys/pci/if_sis.c +++ b/sys/pci/if_sis.c @@ -962,7 +962,7 @@ static int sis_attach(dev) sc->sis_rev == SIS_REV_630ET) sis_read_cmos(sc, dev, (caddr_t)&eaddr, 0x9, 6); - else if (command == SIS_REV_635) + else if (sc->sis_rev == SIS_REV_635) sis_read_mac(sc, dev, (caddr_t)&eaddr); else #endif |