Device
printf(" Using starbase %s\n", Device[dev].name);
printf("\t%s damaged\n", Device[dev].name);
Device[e->systemname].name, x * m1 + 0.005,
Device[i].person, Device[i].name);
const struct device Device[NDEV] = {
d = &Device[dev];
printf("%s", Device[COMPUTER].name);
printf("%s", Device[SRSCAN].name);
if (Device[i].name[0] == '*')
extern const struct device Device[NDEV];
UefiDevicePathLibCatPrint (Str, "Pci(0x%x,0x%x)", Pci->Device, Pci->Function);
Pci->Device = (UINT8) Strtoi (DeviceStr);
pci->Device, pci->Function);
*Value = pci_cfgregread(PciId->Bus, PciId->Device,
pci_cfgregwrite(PciId->Bus, PciId->Device, PciId->Function, Register,
PI2O_LCT_ENTRY Device;
for (Device = sc->ha_LCT->LCTEntry;
Device < (PI2O_LCT_ENTRY)(((U32 *)sc->ha_LCT)
++Device) {
if ((Device->le_type != I2O_UNKNOWN)
&& (Device->le_bus == bus)
&& (Device->le_target == target)
&& (Device->le_lun == lun)
&& (I2O_LCT_ENTRY_getUserTID(Device)
Device);
PI2O_LCT_ENTRY Device;
for (Device = sc->ha_LCT->LCTEntry; Device < (PI2O_LCT_ENTRY)
++Device) {
if ((Device->le_type != I2O_UNKNOWN)
&& (Device->le_bus == bus)
&& (Device->le_target == target)
&& (Device->le_lun == lun)
&& (I2O_LCT_ENTRY_getUserTID(Device) == 0xFFF)) {
TID = I2O_LCT_ENTRY_getLocalTID(Device);
ASR_setTid(sc, Device->le_bus,
Device->le_target, Device->le_lun,
PI2O_LCT_ENTRY Device;
for (Device = sc->ha_LCT->LCTEntry; Device < (PI2O_LCT_ENTRY)
++Device) {
if (I2O_LCT_ENTRY_getLocalTID(Device)
Device->le_bus = I2O_HRT_ENTRY_getAdapterID(
if ((Device->le_bus > sc->ha_MaxBus)
&& (Device->le_bus <= MAX_CHANNEL)) {
sc->ha_MaxBus = Device->le_bus;
PI2O_LCT_ENTRY Device;
for (Device = sc->ha_LCT->LCTEntry; Device < (PI2O_LCT_ENTRY)
(((U32 *)sc->ha_LCT)+I2O_LCT_getTableSize(sc->ha_LCT)); ++Device) {
if (Device->le_type == I2O_UNKNOWN) {
if (I2O_LCT_ENTRY_getUserTID(Device) == 0xFFF) {
if (Device->le_target > sc->ha_MaxId) {
sc->ha_MaxId = Device->le_target;
if (Device->le_lun > sc->ha_MaxLun) {
sc->ha_MaxLun = Device->le_lun;
if (((Device->le_type & I2O_PORT) != 0)
&& (Device->le_bus <= MAX_CHANNEL)) {
sc->ha_adapter_target[Device->le_bus] =
Device->le_target;
PI2O_LCT_ENTRY Device;
for (Device = sc->ha_LCT->LCTEntry; Device < (PI2O_LCT_ENTRY)
++Device) {
if (((Device->le_type & I2O_PORT) != 0)
&& (Device->le_bus == bus)) {
I2O_LCT_ENTRY_getLocalTID(Device));
Device disk;
#define DISK_VDEV_SIZE (__offsetof(VDevice, u) + sizeof(Device))