Commit c42bcefb authored by Denis Vlasenko's avatar Denis Vlasenko Committed by James Bottomley

[SCSI] aic7xxx: ahc_pci_write_config() fix

Fix ahc_pci_write_config's (wrong order of arguments).
Signed-off-by: default avatarDenis Vlasenko <vda@ilport.com.ua>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 52988410
...@@ -2036,12 +2036,12 @@ ahc_pci_resume(struct ahc_softc *ahc) ...@@ -2036,12 +2036,12 @@ ahc_pci_resume(struct ahc_softc *ahc)
* that the OS doesn't know about and rely on our chip * that the OS doesn't know about and rely on our chip
* reset handler to handle the rest. * reset handler to handle the rest.
*/ */
ahc_pci_write_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4, ahc_pci_write_config(ahc->dev_softc, DEVCONFIG,
ahc->bus_softc.pci_softc.devconfig); ahc->bus_softc.pci_softc.devconfig, /*bytes*/4);
ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/1, ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND,
ahc->bus_softc.pci_softc.command); ahc->bus_softc.pci_softc.command, /*bytes*/1);
ahc_pci_write_config(ahc->dev_softc, CSIZE_LATTIME, /*bytes*/1, ahc_pci_write_config(ahc->dev_softc, CSIZE_LATTIME,
ahc->bus_softc.pci_softc.csize_lattime); ahc->bus_softc.pci_softc.csize_lattime, /*bytes*/1);
if ((ahc->flags & AHC_HAS_TERM_LOGIC) != 0) { if ((ahc->flags & AHC_HAS_TERM_LOGIC) != 0) {
struct seeprom_descriptor sd; struct seeprom_descriptor sd;
u_int sxfrctl1; u_int sxfrctl1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment