diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-08-04 15:02:30 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-08-04 15:02:30 +0000 |
commit | 2e4b52263abc38bb58d658eaa00e7c51ff6787bc (patch) | |
tree | 78a6bb92e0d31dc20c391cb46c166b058d71b993 /sys/dev/pci/if_dc_pci.c | |
parent | 5a0b6e0de393e7052b6894ae2aaa6163d61f1ab3 (diff) |
kill hppa quirk that is not needed
Diffstat (limited to 'sys/dev/pci/if_dc_pci.c')
-rw-r--r-- | sys/dev/pci/if_dc_pci.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/pci/if_dc_pci.c b/sys/dev/pci/if_dc_pci.c index 1c2737641ae..4ea861b3417 100644 --- a/sys/dev/pci/if_dc_pci.c +++ b/sys/dev/pci/if_dc_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_dc_pci.c,v 1.43 2004/06/28 12:34:20 mickey Exp $ */ +/* $OpenBSD: if_dc_pci.c,v 1.44 2004/08/04 15:02:29 mickey Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -462,13 +462,9 @@ void dc_pci_attach(parent, self, aux) /* Save the cache line size. */ if (DC_IS_DAVICOM(sc)) sc->dc_cachesize = 0; - else { + else sc->dc_cachesize = pci_conf_read(pc, pa->pa_tag, DC_PCI_CFLT) & 0xFF; -#ifdef __hppa__ - sc->dc_cachesize = 16; -#endif - } /* Reset the adapter. */ dc_reset(sc); |