|
|||||||||||
|
kernel/2879: Adaptec AVA-1502 not supported.
From: <Anders(at)Arnholm.nu>
Date: Wed Aug 14 2002 - 05:45:15 EDT
o_ Anders Arnholm, HiQ - Consultant
o/ /\ anders@arnholm.nu Phone : +46-703-160969
/|_, \\
http://anders.arnholm.nu/
http://www.hiq.se
/
` >Environment: System : OpenBSD 3.1 and -current Architecture: OpenBSD.i386 Machine : i386 Index: sys/dev/isa/isapnp.c RCS file: /cvs/src/sys/dev/isa/isapnp.c,v retrieving revision 1.34 diff -c -r1.34 isapnp.c *** sys/dev/isa/isapnp.c 2002/07/07 18:20:00 1.34 --- sys/dev/isa/isapnp.c 2002/08/14 09:00:01
+ #if 0
+ DPRINTF(("isapnp: known %s and %s (or %s)\n",
+ isapnp_knowndevs[i].pnpid, ipa->ipa_devlogic,
+ ipa->ipa_devcompat));
+ #endif
if (strcmp(isapnp_knowndevs[i].pnpid, ipa->ipa_devlogic) == 0)
dname = isapnp_knowndevs[i].driver;
else if (strcmp(isapnp_knowndevs[i].pnpid, ipa->ipa_devcompat) == 0)
dname = isapnp_knowndevs[i].driver;
+ #if 0
+ DPRINTF(("isapnp0: compare %s and %s\n",
+ dname, cf->cf_driver->cd_name));
+ #endif
if (dname && strcmp(dname, cf->cf_driver->cd_name) == 0) {
/*
* We found a match. Configure the card and call the
* ISA probe...
*/
+ DPRINTF(("isapnp: Config card %s using %s\n",
+ ipa->ipa_devlogic, dname));
if (isapnp_config(ipa->ia_iot, ipa->ia_memt, ipa)) {
printf("%s: error in region allocation\n",
cf->cf_driver->cd_name);
Index: sys/dev/isa/aic_isa.c RCS file: /cvs/src/sys/dev/isa/aic_isa.c,v retrieving revision 1.4 diff -c -r1.4 aic_isa.c *** sys/dev/isa/aic_isa.c 2002/03/14 01:26:56 1.4 --- sys/dev/isa/aic_isa.c 2002/08/14 09:00:01
+ int aic_isapnp_probe(struct device *, void *, void *);
+ void aic_isapnp_attach(struct device *, struct device *, void *);
int aic_isa_probe(struct device *, void *, void *);
void aic_isa_attach(struct device *, struct device *, void *);
+ struct cfattach aic_isapnp_ca = {
+ sizeof(struct aic_softc), aic_isapnp_probe, aic_isapnp_attach
+ };
+ struct cfattach aic_isa_ca = { sizeof(struct aic_softc), aic_isa_probe, aic_isa_attach };
if (bus_space_map(iot, ia->ia_iobase, AIC_NPORTS, 0, &ioh))
panic("%s: could not map I/O-ports", sc->sc_dev.dv_xname);
sc->sc_ih = isa_intr_establish(ia->ia_ic, ia->ia_irq, IST_EDGE,
IPL_BIO, aicintr, sc, sc->sc_dev.dv_xname);
+ AIC_TRACE(("aic: aic_isapnp_attach\n"));
aicattach(sc);
} Index: sys/dev/isa/files.isapnp RCS file: /cvs/src/sys/dev/isa/files.isapnp,v retrieving revision 1.23 diff -c -r1.23 files.isapnp *** sys/dev/isa/files.isapnp 2001/12/08 15:33:46 1.23 --- sys/dev/isa/files.isapnp 2002/08/14 09:00:01
attach aha at isapnp with aha_isapnp + attach aic at isapnp with aic_isapnp attach sb at isapnp with sb_isapnp file dev/isa/sb_isapnp.c sb_isapnp needs-flagIndex: sys/dev/isa/pnpdevs RCS file: /cvs/src/sys/dev/isa/pnpdevs,v retrieving revision 1.106 diff -c -r1.106 pnpdevs *** sys/dev/isa/pnpdevs 2002/01/02 19:41:11 1.106 --- sys/dev/isa/pnpdevs 2002/08/14 09:00:02
Index: sys/dev/isa/pnpdevs.h RCS file: /cvs/src/sys/dev/isa/pnpdevs.h,v retrieving revision 1.107 diff -c -r1.107 pnpdevs.h *** sys/dev/isa/pnpdevs.h 2002/01/02 19:41:32 1.107 --- sys/dev/isa/pnpdevs.h 2002/08/14 09:00:02
const struct isapnp_knowndev isapnp_knowndevs[] = {
{ {"PNP00A0"}, {"aha"} },
+ { {"ADP1502"}, {"aic"} },
{ {"ADP1520"}, {"aic"} },
{ {"ADP2015"}, {"aic"} },
{ {"PNP0500"}, {"com"} },
>Release-Note:
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:36 EDT |
||||||||||
|
|||||||||||