summaryrefslogtreecommitdiffstats
path: root/sys/isa/pnp.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-11-02 18:48:54 +0000
committerimp <imp@FreeBSD.org>2008-11-02 18:48:54 +0000
commite4a289ae9df429422b7271131d81a416f660f896 (patch)
tree75daffb6fb9ee47bd587003a933fb3a9e9254f46 /sys/isa/pnp.c
parente0025a35ca7e80d6daca4e6d249bef6d86f3db89 (diff)
downloadFreeBSD-src-e4a289ae9df429422b7271131d81a416f660f896.zip
FreeBSD-src-e4a289ae9df429422b7271131d81a416f660f896.tar.gz
MFp4:
Make the ISA bus keep track of more PNP details. Plus a minor style fix while I'm here. More could be done here, but except for some SBCs that don't have ACPI, there's limited value to anybody in doing so.
Diffstat (limited to 'sys/isa/pnp.c')
-rw-r--r--sys/isa/pnp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/isa/pnp.c b/sys/isa/pnp.c
index 2b9db6b..6712f42 100644
--- a/sys/isa/pnp.c
+++ b/sys/isa/pnp.c
@@ -522,6 +522,8 @@ pnp_create_devices(device_t parent, pnp_id *p, int csn,
csnldn->ldn = ldn;
ISA_SET_CONFIG_CALLBACK(parent, dev, pnp_set_config,
csnldn);
+ isa_set_pnp_csn(dev, csn);
+ isa_set_pnp_ldn(dev, ldn);
ldn++;
startres = resp;
break;
OpenPOWER on IntegriCloud