Lines Matching defs:path

61 huron_get_bus_type(char *path, struct io_card *card)
63 if (strcmp(path, HURON_NIU) == 0) {
71 huron_get_slot_number(char *path, struct io_card *card)
73 if (strcmp(path, HURON_N2_XAUI0) == 0) {
76 } else if (strcmp(path, HURON_N2_XAUI1) == 0) {
79 } else if (strncmp(path, HURON_PCIE_SLOT0,
83 } else if (strncmp(path, HURON_PCIE_SLOT1,
87 } else if (strncmp(path, HURON_PCIE_SLOT2,
91 } else if (strncmp(path, HURON_PCIE_SLOT3,
95 } else if (strncmp(path, HURON_PCIE_SLOT4,
99 } else if (strncmp(path, HURON_PCIE_SLOT5,
110 huron_get_network_instance(char *path)
112 if (strcmp(path, HURON_NETWORK_0) == 0) {
114 } else if (strcmp(path, HURON_NETWORK_1) == 0) {
116 } else if (strcmp(path, HURON_NETWORK_2) == 0) {
118 } else if (strcmp(path, HURON_NETWORK_3) == 0) {
120 } else if (strcmp(path, HURON_N2_XAUI0) == 0) {
122 } else if (strcmp(path, HURON_N2_XAUI1) == 0) {
137 char path[MAXSTRLEN];
176 path, sizeof (path));
181 (void) strlcpy(pci_card.notes, path, sizeof (pci_card.notes));
193 huron_get_slot_number(path, &pci_card);
200 instance = huron_get_network_instance(path);
296 char path[MAXSTRLEN] = "";
303 err = picl_get_propval_by_name(pcih, PICL_PROP_DEVFS_PATH, path,
304 sizeof (path));
309 if ((strcmp(path, HURON_NETWORK_0) == 0) ||
310 (strcmp(path, HURON_NETWORK_1) == 0)) {
318 if ((strcmp(path, HURON_NETWORK_2) == 0) ||
319 (strcmp(path, HURON_NETWORK_3) == 0)) {
327 if (strcmp(path, HURON_SWITCH_A_PATH) == 0) {
335 if (strcmp(path, HURON_SWITCH_B_PATH) == 0) {
343 if (strcmp(path, HURON_SWITCH_C_PATH) == 0) {
351 if (strcmp(path, HURON_LSI_PATH) == 0) {
359 (void) strcpy(device_path, path);