There's no need to re-read PCIR_COMMAND once we set it.
Approved by: re (blanket)
This commit is contained in:
parent
237f9d22c3
commit
79e92ec4ea
@ -213,8 +213,6 @@ i80321_attach(struct i80321_softc *sc)
|
||||
PCIM_CMD_SERRESPEN;
|
||||
bus_space_write_4(sc->sc_st, sc->sc_atu_sh,
|
||||
PCIR_COMMAND, preg);
|
||||
preg = bus_space_read_4(sc->sc_st, sc->sc_atu_sh,
|
||||
PCIR_COMMAND);
|
||||
}
|
||||
/* Initialize the bus space tags. */
|
||||
i80321_io_bs_init(&sc->sc_pci_iot, sc);
|
||||
|
Loading…
Reference in New Issue
Block a user