diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2005-10-17 11:35:06 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2005-10-17 11:35:06 +0000 |
commit | 0fd82541d14f1fdd08ef07740e478ca7d885a316 (patch) | |
tree | 61b2f97483fe2d3d308e3cd81cec714541fa672d /sys | |
parent | 9bd2a4c3251935da24845f11d39eae057d94bddf (diff) |
Simplify case statement in apollo_chip_map().
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/pciide.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index 0b0f6b4b4b3..cc688227ad5 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.210 2005/10/17 11:24:25 jsg Exp $ */ +/* $OpenBSD: pciide.c,v 1.211 2005/10/17 11:35:05 jsg Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -2676,25 +2676,13 @@ apollo_chip_map(struct pciide_softc *sc, struct pci_attach_args *pa) } break; case PCI_PRODUCT_VIATECH_VT8231_ISA: - printf(": ATA100"); - sc->sc_wdcdev.UDMA_cap = 5; - break; case PCI_PRODUCT_VIATECH_VT8366_ISA: printf(": ATA100"); sc->sc_wdcdev.UDMA_cap = 5; break; case PCI_PRODUCT_VIATECH_VT8233_ISA: - printf(": ATA133"); - sc->sc_wdcdev.UDMA_cap = 6; - break; case PCI_PRODUCT_VIATECH_VT8235_ISA: - printf(": ATA133"); - sc->sc_wdcdev.UDMA_cap = 6; - break; case PCI_PRODUCT_VIATECH_VT6420_SATA: - printf(": ATA133"); - sc->sc_wdcdev.UDMA_cap = 6; - break; case PCI_PRODUCT_VIATECH_VT8251_SATA: printf(": ATA133"); sc->sc_wdcdev.UDMA_cap = 6; |