diff options
Diffstat (limited to 'sys/dev/amr/amr_pci.c')
-rw-r--r-- | sys/dev/amr/amr_pci.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/amr/amr_pci.c b/sys/dev/amr/amr_pci.c index 0c2231b937747..dd7128e372eff 100644 --- a/sys/dev/amr/amr_pci.c +++ b/sys/dev/amr/amr_pci.c @@ -155,7 +155,6 @@ amr_find_ident(device_t dev) for (id = amr_device_ids; id->vendor != 0; id++) { if ((pci_get_vendor(dev) == id->vendor) && (pci_get_device(dev) == id->device)) { - /* do we need to test for a signature? */ if (id->flags & AMR_ID_PROBE_SIG) { sig = pci_read_config(dev, AMR_CFG_SIG, 2); @@ -167,7 +166,7 @@ amr_find_ident(device_t dev) } return (NULL); } - + static int amr_pci_probe(device_t dev) { @@ -332,7 +331,6 @@ amr_pci_attach(device_t dev) goto out; debug(2, "ccb mapped"); - /* * Do bus-independant initialisation, bring controller online. */ @@ -389,7 +387,6 @@ amr_pci_shutdown(device_t dev) /* mark ourselves as in-shutdown */ sc->amr_state |= AMR_STATE_SHUTDOWN; - /* flush controller */ device_printf(sc->amr_dev, "flushing cache..."); printf("%s\n", amr_flush(sc) ? "failed" : "done"); @@ -706,4 +703,3 @@ amr_ccb_map(struct amr_softc *sc) return (0); } - |