Deleted Added
full compact
28c28
< __FBSDID("$FreeBSD: head/sys/dev/ata/ata-pci.c 233282 2012-03-21 16:59:39Z marius $");
---
> __FBSDID("$FreeBSD: head/sys/dev/ata/ata-pci.c 249083 2013-04-04 07:12:24Z mav $");
701,715d700
<
< #ifndef ATA_CAM
< static int
< ata_pcichannel_locking(device_t dev, int mode)
< {
< struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
< struct ata_channel *ch = device_get_softc(dev);
<
< if (ctlr->locking)
< return ctlr->locking(dev, mode);
< else
< return ch->unit;
< }
< #endif
<
771,773d755
< #ifndef ATA_CAM
< DEVMETHOD(ata_locking, ata_pcichannel_locking),
< #endif