37 i2c = nv_ro16(bios, dcb + 2);
39 i2c = nv_ro16(bios, dcb + 4);
42 if (i2c && *ver >= 0x30) {
43 *ver = nv_ro08(bios, i2c + 0);
44 *hdr = nv_ro08(bios, i2c + 1);
45 *cnt = nv_ro08(bios, i2c + 2);
46 *len = nv_ro08(bios, i2c + 3);
63 return i2c + hdr + (idx * *len);
73 info->
data = nv_ro32(bios, ent + 0);
74 info->
type = nv_ro08(bios, ent + 3);
77 if (info->
type == 0x07)
83 info->
drive = nv_ro08(bios, ent + 0);
84 info->
sense = nv_ro08(bios, ent + 1);
87 info->
drive = nv_ro08(bios, ent + 1);
91 info->
drive = nv_ro08(bios, ent + 0);
112 info->
drive = nv_ro08(bios, ent + 4);
114 info->
sense = nv_ro08(bios, ent + 5);
118 info->
drive = nv_ro08(bios, ent + 6);
120 info->
sense = nv_ro08(bios, ent + 7);