In the PCI error interrupt handler, specify the width of the PCI configuration
cycle using the correct argument. The location and width were reversed. MFC in: 2 days
This commit is contained in:
parent
4ddea3e2d4
commit
25edba1e56
@ -2119,12 +2119,13 @@ ahc_pci_resume(struct ahc_softc *ahc)
|
||||
* that the OS doesn't know about and rely on our chip
|
||||
* reset handler to handle the rest.
|
||||
*/
|
||||
aic_pci_write_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4,
|
||||
ahc->bus_softc.pci_softc.devconfig);
|
||||
aic_pci_write_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/1,
|
||||
ahc->bus_softc.pci_softc.command);
|
||||
aic_pci_write_config(ahc->dev_softc, CSIZE_LATTIME, /*bytes*/1,
|
||||
ahc->bus_softc.pci_softc.csize_lattime);
|
||||
aic_pci_write_config(ahc->dev_softc, DEVCONFIG,
|
||||
ahc->bus_softc.pci_softc.devconfig, /*bytes*/4);
|
||||
aic_pci_write_config(ahc->dev_softc, PCIR_COMMAND,
|
||||
ahc->bus_softc.pci_softc.command, /*bytes*/1);
|
||||
aic_pci_write_config(ahc->dev_softc, CSIZE_LATTIME,
|
||||
ahc->bus_softc.pci_softc.csize_lattime,
|
||||
/*bytes*/1);
|
||||
if ((ahc->flags & AHC_HAS_TERM_LOGIC) != 0) {
|
||||
struct seeprom_descriptor sd;
|
||||
u_int sxfrctl1;
|
||||
|
Loading…
Reference in New Issue
Block a user