GRANDPARENT
struct ata_pci_controller *ctlr = device_get_softc(GRANDPARENT(dev));
switch (pci_get_vendor(GRANDPARENT(rdp->disks[disk].dev))) {
devclass_t devclass=device_get_devclass(GRANDPARENT(GRANDPARENT(subdisk)));
switch (pci_get_vendor(GRANDPARENT(device_get_parent(subdisk)))) {
struct ata_channel *ch = device_get_softc(GRANDPARENT(dev));
(pci_get_vendor(GRANDPARENT(rdp->disks[disk].dev)) << 16) |
pci_get_device(GRANDPARENT(rdp->disks[disk].dev));
device_t gparent = GRANDPARENT(dev);
device_t gparent = GRANDPARENT(dev);
if (!device_get_children(GRANDPARENT(dev), &children, &nchildren)) {
device_t gparent = GRANDPARENT(dev);
struct ata_pci_controller *ctlr=device_get_softc(GRANDPARENT(request->dev));
struct ata_pci_controller *ctlr=device_get_softc(GRANDPARENT(request->dev));
device_t gparent = GRANDPARENT(dev);
device_t gparent = GRANDPARENT(dev);
device_t gparent = GRANDPARENT(dev);
struct ata_pci_controller *ctlr = device_get_softc(GRANDPARENT(dev));
device_t gparent = GRANDPARENT(dev);
device_t gparent = GRANDPARENT(dev);
device_t gparent = GRANDPARENT(dev);
device_t gparent = GRANDPARENT(dev);
device_t gparent = GRANDPARENT(dev);
struct ata_pci_controller *ctlr = device_get_softc(GRANDPARENT(dev));
device_t gparent = GRANDPARENT(dev);
struct ata_pci_controller *ctlr=device_get_softc(GRANDPARENT(request->dev));
struct ata_pci_controller *ctlr=device_get_softc(GRANDPARENT(request->dev));
device_t gparent = GRANDPARENT(dev);
device_t gparent = GRANDPARENT(dev);
if ((idx->cfg2 & PR_SX6K) && pci_get_class(GRANDPARENT(dev))==PCIC_BRIDGE &&
!BUS_READ_IVAR(device_get_parent(GRANDPARENT(dev)),
GRANDPARENT(dev), PCI_IVAR_DEVID, &devid) &&
if ((idx->cfg2 & PR_TX4) && pci_get_class(GRANDPARENT(dev))==PCIC_BRIDGE &&
!BUS_READ_IVAR(device_get_parent(GRANDPARENT(dev)),
GRANDPARENT(dev), PCI_IVAR_DEVID, &devid) &&
struct ata_pci_controller *ctlr = device_get_softc(GRANDPARENT(dev));
struct ata_pci_controller *ctlr = device_get_softc(GRANDPARENT(dev));
device_t gparent = GRANDPARENT(dev);
struct ata_pci_controller *ctlr=device_get_softc(GRANDPARENT(request->dev));
device_t gparent = GRANDPARENT(dev);
device_t gparent = GRANDPARENT(request->dev);
device_t gparent = GRANDPARENT(dev);
device_t gparent = GRANDPARENT(dev);
device_t gparent = GRANDPARENT(dev);
struct ata_pci_controller *ctlr=device_get_softc(GRANDPARENT(request->dev));
struct ata_pci_controller *ctlr=device_get_softc(GRANDPARENT(request->dev));
device_t gparent = GRANDPARENT(dev);
device_t gparent = GRANDPARENT(dev);
device_t gparent = GRANDPARENT(dev);