Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/pci/pci.c
Show First 20 Lines • Show All 5,359 Lines • ▼ Show 20 Lines | db_printf("%s%d@pci%d:%d:%d:%d:\tclass=0x%06x card=0x%08x " | ||||
(p->pc_subclass << 8) | p->pc_progif, | (p->pc_subclass << 8) | p->pc_progif, | ||||
(p->pc_subdevice << 16) | p->pc_subvendor, | (p->pc_subdevice << 16) | p->pc_subvendor, | ||||
(p->pc_device << 16) | p->pc_vendor, | (p->pc_device << 16) | p->pc_vendor, | ||||
p->pc_revid, p->pc_hdr); | p->pc_revid, p->pc_hdr); | ||||
} | } | ||||
} | } | ||||
#endif /* DDB */ | #endif /* DDB */ | ||||
static struct resource * | struct resource * | ||||
pci_reserve_map(device_t dev, device_t child, int type, int *rid, | pci_reserve_map(device_t dev, device_t child, int type, int *rid, | ||||
rman_res_t start, rman_res_t end, rman_res_t count, u_int num, | rman_res_t start, rman_res_t end, rman_res_t count, u_int num, | ||||
u_int flags) | u_int flags) | ||||
{ | { | ||||
struct pci_devinfo *dinfo = device_get_ivars(child); | struct pci_devinfo *dinfo = device_get_ivars(child); | ||||
struct resource_list *rl = &dinfo->resources; | struct resource_list *rl = &dinfo->resources; | ||||
struct resource *res; | struct resource *res; | ||||
struct pci_map *pm; | struct pci_map *pm; | ||||
▲ Show 20 Lines • Show All 1,394 Lines • Show Last 20 Lines |