Merge ../linux-2.6
This commit is contained in:
@@ -219,6 +219,7 @@ ahc_linux_pci_dev_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
ahc->flags |= AHC_39BIT_ADDRESSING;
|
||||
} else {
|
||||
if (dma_set_mask(dev, DMA_32BIT_MASK)) {
|
||||
ahc_free(ahc);
|
||||
printk(KERN_WARNING "aic7xxx: No suitable DMA available.\n");
|
||||
return (-ENODEV);
|
||||
}
|
||||
|
||||
@@ -2042,12 +2042,12 @@ 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.
|
||||
*/
|
||||
ahc_pci_write_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4,
|
||||
ahc->bus_softc.pci_softc.devconfig);
|
||||
ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/1,
|
||||
ahc->bus_softc.pci_softc.command);
|
||||
ahc_pci_write_config(ahc->dev_softc, CSIZE_LATTIME, /*bytes*/1,
|
||||
ahc->bus_softc.pci_softc.csize_lattime);
|
||||
ahc_pci_write_config(ahc->dev_softc, DEVCONFIG,
|
||||
ahc->bus_softc.pci_softc.devconfig, /*bytes*/4);
|
||||
ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND,
|
||||
ahc->bus_softc.pci_softc.command, /*bytes*/1);
|
||||
ahc_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;
|
||||
|
||||
Reference in New Issue
Block a user