summaryrefslogtreecommitdiffstats
path: root/sys/dev/atkbdc/atkbdreg.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2013-01-11 21:42:23 +0000
committerimp <imp@FreeBSD.org>2013-01-11 21:42:23 +0000
commit32e8f5df879b7348e52a40e7caef786d515b2ae2 (patch)
tree4515906cca2f36bacfc681d529c3bdd43960fa89 /sys/dev/atkbdc/atkbdreg.h
parent376c20d463471553642222194d6f753af4b3a8b3 (diff)
downloadFreeBSD-src-32e8f5df879b7348e52a40e7caef786d515b2ae2.zip
FreeBSD-src-32e8f5df879b7348e52a40e7caef786d515b2ae2.tar.gz
Pass the device_t into atkbd_{probe,attach}_unit and get the
controller unit and keyboard unit from there. It will be needed for other things in the future as well...
Diffstat (limited to 'sys/dev/atkbdc/atkbdreg.h')
-rw-r--r--sys/dev/atkbdc/atkbdreg.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/atkbdc/atkbdreg.h b/sys/dev/atkbdc/atkbdreg.h
index cf7ee6b..3d09e44 100644
--- a/sys/dev/atkbdc/atkbdreg.h
+++ b/sys/dev/atkbdc/atkbdreg.h
@@ -39,9 +39,8 @@
#ifdef _KERNEL
-int atkbd_probe_unit(int unit, int ctlr, int irq, int flags);
-int atkbd_attach_unit(int unit, keyboard_t **kbd,
- int ctlr, int irq, int flags);
+int atkbd_probe_unit(device_t dev, int irq, int flags);
+int atkbd_attach_unit(device_t dev, keyboard_t **kbd, int irq, int flags);
#endif
OpenPOWER on IntegriCloud