static int wdc_pnpbus_probe(device_t parent, cfdata_t match, void *aux) { struct pnpbus_dev_attach_args *pna = aux; int ret = 0; /* XXX special case the Powerstack E1, it has wdc builtin on 14E * while the siop is builtin on 14L. No idea how this works at all. */ if (strcmp(res->VitalProductData.PrintableModel, "(e1)") == 0) return ret; /* XXX special case the MTX604/mcp750. The onboard IDE is actually * a PCIIDE chip. */ if (strcmp(res->VitalProductData.PrintableModel, "000000000000000000000000000(e2)") == 0) return ret; if (strcmp(pna->pna_devid, "PNP0600") == 0) ret = 1; if (ret) pnpbus_scan(pna, pna->pna_ppc_dev); return ret; }
static int mcclock_pnpbus_probe(device_t parent, cfdata_t cf, void *aux) { struct pnpbus_dev_attach_args *pna = aux; int ret = 0; if (strcmp(pna->pna_devid, "PNP0B00") == 0 && pna->subtype == RealTimeClock && pna->chipid == DallasRTC) ret = 1; if (strcmp(pna->pna_devid, "PNP0B00") == 0 && pna->subtype == RealTimeClock && pna->chipid == Dallas1585) ret = 1; if (ret) pnpbus_scan(pna, pna->pna_ppc_dev); return ret; }
int we_pnpbus_probe(device_t parent, cfdata_t cf, void *aux) { struct pnpbus_dev_attach_args *pna = aux; int ret = 0; if (strcmp(pna->pna_devid, "IBM2001") == 0) ret = 1; if (strcmp(pna->pna_devid, "IBM0010") == 0) ret = 1; if (ret) pnpbus_scan(pna, pna->pna_ppc_dev); return ret; }