Home
last modified time | relevance | path

Searched refs:bus_type (Results 1 – 25 of 46) sorted by relevance

12

/titanic_41/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Dstpaul.c150 MOTHERBOARD, pci_card.bus_type, in stpaul_pci_callback()
155 MOTHERBOARD, pci_card.bus_type); in stpaul_pci_callback()
221 log_printf("%6s", pci_card.bus_type); in stpaul_pci_callback()
372 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type()
374 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type()
376 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type()
378 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type()
380 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type()
382 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type()
384 (void) strlcpy(card->bus_type, "NONE", sizeof (card->bus_type)); in get_bus_type()
H A Derie.c77 char bus_type[MAXSTRLEN]; in erie_pci_callback() local
119 erie_get_bus_type(parent_path, bus_type); in erie_pci_callback()
121 erie_get_nac(bus_type, path, slot, name, nac, sizeof (nac)); in erie_pci_callback()
130 log_printf("%-6s", bus_type); in erie_pci_callback()
375 erie_get_bus_type(char path[], char bus_type[]) in erie_get_bus_type() argument
378 (void) strcpy(bus_type, "PCIX"); in erie_get_bus_type()
380 (void) strcpy(bus_type, "PCIE"); in erie_get_bus_type()
493 erie_get_nac(char bus_type[], char path[], int slot, char name[], char nac[], in erie_get_nac() argument
504 (void) snprintf(nac, size, "%s/%s%d", MOTHERBOARD, bus_type, in erie_get_nac()
507 (void) snprintf(nac, size, "%s/%s", MOTHERBOARD, bus_type); in erie_get_nac()
H A Dpelton.c70 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type()
72 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type()
74 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type()
76 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type()
78 (void) strcpy(card->bus_type, "PCIE"); in get_bus_type()
207 IOBOARD, pci_card.bus_type, pci_card.slot); in pelton_pci_callback()
211 pci_card.bus_type); in pelton_pci_callback()
258 log_printf("%6s", pci_card.bus_type); in pelton_pci_callback()
H A Derie.h102 void erie_get_bus_type(char path[], char bus_type[]);
103 void erie_get_nac(char bus_type[], char path[], int s,
H A Dhuron.c64 (void) strcpy(card->bus_type, "NIU"); in huron_get_bus_type()
66 (void) strcpy(card->bus_type, "PCIE"); in huron_get_bus_type()
208 MOTHERBOARD, pci_card.bus_type, in huron_pci_callback()
213 MOTHERBOARD, pci_card.bus_type); in huron_pci_callback()
260 log_printf("%6s", pci_card.bus_type); in huron_pci_callback()
H A Dontario.c84 (void) strcpy(card->bus_type, "PCIX"); in get_bus_type()
86 (void) strcpy(card->bus_type, "PCIE"); in get_bus_type()
224 IOBOARD, pci_card.bus_type, pci_card.slot); in ontario_pci_callback()
228 pci_card.bus_type); in ontario_pci_callback()
275 log_printf("%6s", pci_card.bus_type); in ontario_pci_callback()
H A Dhuron.h109 void huron_get_nac(char bus_type[], char path[], int s,
/titanic_41/usr/src/cmd/mdb/i86pc/modules/common/
H A Dintr_common.c215 int bus_type; in apic_interrupt_dump() local
258 bus_type = irqp->airq_iflag.bustype; in apic_interrupt_dump()
274 (bus_type ? businfo_array[bus_type] : " "), in apic_interrupt_dump()
319 int bus_type; in apix_interrupt_dump() local
347 bus_type = BUSTYPE_NONE; in apix_interrupt_dump()
350 bus_type = BUSTYPE_PCI; in apix_interrupt_dump()
353 bus_type = irqp->airq_iflag.bustype; in apix_interrupt_dump()
392 (bus_type ? businfo_array[bus_type] : "-"), in apix_interrupt_dump()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl_picl.c109 int bus_type; in opl_pci_callback() local
223 &bus_type); in opl_pci_callback()
231 bus_type = PCI_UNKN; in opl_pci_callback()
289 if (bus_type == PCI) in opl_pci_callback()
290 (void) strlcpy(pci_card.bus_type, in opl_pci_callback()
291 "PCI", sizeof (pci_card.bus_type)); in opl_pci_callback()
292 else if (bus_type == PCIX) in opl_pci_callback()
293 (void) strlcpy(pci_card.bus_type, in opl_pci_callback()
294 "PCIx", sizeof (pci_card.bus_type)); in opl_pci_callback()
295 else if (bus_type == PCIE) in opl_pci_callback()
[all …]
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/monza/common/
H A Dmonza.c82 (void) strcpy(card->bus_type, "NIU"); in monza_get_bus_type()
84 (void) strcpy(card->bus_type, "PCIE"); in monza_get_bus_type()
231 IOBOARD, pci_card.bus_type, pci_card.slot); in monza_pci_callback()
235 "%s/%s", MOTHERBOARD, pci_card.bus_type); in monza_pci_callback()
282 log_printf("%6s", pci_card.bus_type); in monza_pci_callback()
/titanic_41/usr/src/grub/grub-0.97/netboot/
H A Dconfig.c54 dev->devid.bus_type = PCI_BUS_TYPE; in pci_probe()
103 dev->devid.bus_type = ISA_BUS_TYPE; in isa_probe()
H A Ddev.h12 unsigned char bus_type; member
/titanic_41/usr/src/uts/common/io/
H A Dbusra.c939 char bus_type[16] = "(unknown)"; in pci_resource_setup() local
949 len = sizeof (bus_type); in pci_resource_setup()
952 (caddr_t)&bus_type, &len) != DDI_SUCCESS) in pci_resource_setup()
956 if ((strcmp(bus_type, "pci") != 0) && (strcmp(bus_type, "pciex") != 0)) in pci_resource_setup()
1154 char bus_type[16] = "(unknown)"; in claim_pci_busnum() local
1162 len = sizeof (bus_type); in claim_pci_busnum()
1165 (caddr_t)&bus_type, &len) != DDI_SUCCESS) in claim_pci_busnum()
1169 if ((strcmp(bus_type, "pci") != 0) && (strcmp(bus_type, "pciex") != 0)) in claim_pci_busnum()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/montoya/common/
H A Dmontoya.c79 (void) strcpy(card->bus_type, "PCIE"); in get_bus_type()
194 IOBOARD, pci_card.bus_type, pci_card.slot); in montoya_pci_callback()
198 "%s/%s", MOTHERBOARD, pci_card.bus_type); in montoya_pci_callback()
245 log_printf("%6s", pci_card.bus_type); in montoya_pci_callback()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dsmp-imps.c403 memmove (str, bus->bus_type, 6); in add_bus()
598 memcpy (defconfig.bus[0].bus_type, "ISA ", 6); in imps_read_bios()
603 memcpy (defconfig.bus[0].bus_type, "MCA ", 6); in imps_read_bios()
H A Dsmp-imps.h157 char bus_type[6]; member
/titanic_41/usr/src/lib/libprtdiag/inc/
H A Ddisplay_sun4u.h72 char bus_type[MAXSTRLEN]; /* Type of bus this IO card is on */ member
/titanic_41/usr/src/lib/libprtdiag/common/
H A Dio.c330 log_printf("%-4s ", p->bus_type, 0); in display_io_cards()
373 (void) sprintf(card.bus_type, BUS_TYPE); in display_ffb()
536 (void) sprintf(card.bus_type, "SBus"); in display_sbus()
797 (void) sprintf(card.bus_type, "PCI"); in display_psycho_pci()
H A Ddisplay_sun4v.c201 card->bus_type[0] = '\0'; in get_bus_type()
206 (void) strlcpy(card->bus_type, "PCIE", in get_bus_type()
207 sizeof (card->bus_type)); in get_bus_type()
209 (void) strlcpy(card->bus_type, "PCIX", in get_bus_type()
210 sizeof (card->bus_type)); in get_bus_type()
240 (void) strlcpy(card->bus_type, q, in get_bus_type()
241 sizeof (card->bus_type)); in get_bus_type()
584 log_printf("%-6s", pci_card.bus_type); in sun4v_pci_callback()
/titanic_41/usr/src/uts/common/io/cardbus/
H A Dcardbus.c265 char bus_type[16] = "(unknown)"; in cardbus_claim_pci_busnum() local
273 len = sizeof (bus_type); in cardbus_claim_pci_busnum()
277 (caddr_t)&bus_type, &len) != DDI_SUCCESS) in cardbus_claim_pci_busnum()
280 if ((strcmp(bus_type, "pci") != 0) && in cardbus_claim_pci_busnum()
281 (strcmp(bus_type, "pciex") != 0)) /* it is not a pci bus type */ in cardbus_claim_pci_busnum()
742 char bus_type[16]; in is_32bit_pccard() local
744 len = sizeof (bus_type); in is_32bit_pccard()
749 (caddr_t)&bus_type, &len) != DDI_SUCCESS) in is_32bit_pccard()
752 if ((strcmp(bus_type, "pci") != 0) && in is_32bit_pccard()
753 (strcmp(bus_type, "pciex") != 0) && in is_32bit_pccard()
[all …]
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/starcat/common/
H A Dstarcat.c158 (void) sprintf(card.bus_type, "PCI"); in display_pci()
160 (void) sprintf(card.bus_type, "cPCI"); in display_pci()
681 log_printf("%-4.4s ", gettext(p->bus_type), 0); in display_io_slot_info()
/titanic_41/usr/src/uts/i86pc/io/
H A Dmp_platform_common.c1663 int ioapicindex, bus_type, vector; in apic_record_rdt_entry() local
1694 bus_type = irqptr->airq_iflag.bustype; in apic_record_rdt_entry()
1696 if (bus_type == BUS_PCI) in apic_record_rdt_entry()
1704 bus_type == BUS_PCI))) in apic_record_rdt_entry()
1708 bus_type = apic_find_bus(iointrp->intr_busid); in apic_record_rdt_entry()
1712 else if (bus_type == BUS_PCI) in apic_record_rdt_entry()
1719 bus_type == BUS_PCI))) in apic_record_rdt_entry()
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c93 static char *bus_type(di_node_t node, di_minor_t minor,
204 if ((btype = bus_type(node, minor, args->ph)) == NULL) { in add_bus()
543 if (bus_type(node, minor, args->ph) != NULL) { in add_devs()
1445 if (bus_type(pnode, di_minor_next(pnode, NULL), args->ph) != NULL) { in get_parent_bus()
1542 bus_type(di_node_t node, di_minor_t minor, di_prom_handle_t ph) in bus_type() function
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dcherrystone.c322 (void) snprintf(card.bus_type, MAXSTRLEN, in display_pci()
386 p->bus_type, p->schizo_portid, p->pci_bus, in display_io_cards()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dlittleneck.c325 (void) snprintf(card.bus_type, MAXSTRLEN, in display_pci()
398 log_printf(dgettext(TEXT_DOMAIN, "%-4s "), p->bus_type); in display_io_cards()

12