summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pccard_nbk.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-10-25 02:41:58 +0000
committerimp <imp@FreeBSD.org>1999-10-25 02:41:58 +0000
commitb3ebae016a5c532ef50c367a058d394d04b05029 (patch)
treef08c2d0c060a6858fd722931d6a11acad72b8933 /sys/pccard/pccard_nbk.h
parent5c654c474375626efab60ddf5d5bf9098b8f7337 (diff)
downloadFreeBSD-src-b3ebae016a5c532ef50c367a058d394d04b05029.zip
FreeBSD-src-b3ebae016a5c532ef50c367a058d394d04b05029.tar.gz
Massive rewrite of pccard to convert it to newbus.
o Gut the compatibility interface, you now must attach with newbus. o Unit numbers from pccardd are now ignored. This may change the units assigned to a card. It now uses the first available unit. o kill old skeleton code that is now obsolete. o Use newbus attachment code. o cleanup interfile dependencies some. o kill list of devices per slot. we use the device tree for what we need. o Remove now obsolete code. o The ep driver (and maybe ed) may need some config file tweaks to allow it to attach. See config files that were committed for examples on how to do this. Drivers to be commited shortly. This is an interrum fix until the new pccard. ed, ep and sio will be supported by me with this release, although others are welcome to try to support other devices before new pccard is working. I plan on doing minimal further work on this code base. Be careful when upgrading, since this code is known to work on my laptop and those of a couple others as well, but your milage may vary. BUGS TO BE FIXED: o system memory isn't allocated yet, it will be soon. o No devices actually have a pccard newbus attach in the tree. BUGS THAT MIGHT BE FIXED: o card removal, including suspend, usually hangs the system. Many thanks to Peter Wemm and Doug Rabson for helping me to fill in the missing bits of New Bus understanding at FreeBSD Con '99.
Diffstat (limited to 'sys/pccard/pccard_nbk.h')
-rw-r--r--sys/pccard/pccard_nbk.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/pccard/pccard_nbk.h b/sys/pccard/pccard_nbk.h
index 971191e..bf0a20c 100644
--- a/sys/pccard/pccard_nbk.h
+++ b/sys/pccard/pccard_nbk.h
@@ -31,11 +31,5 @@
struct pccard_device;
extern devclass_t pccard_devclass;
-extern int pccnbk_alloc_resources(device_t);
-extern void pccnbk_release_resources(device_t);
-extern void pccnbk_wrap_old_driver(struct pccard_device *);
-
-/* kludges */
-extern void pccard_remove_device(struct pccard_devinfo *);
#endif /* ! PCCARD_PCCARD_NBK_H */
OpenPOWER on IntegriCloud