diff options
author | imp <imp@FreeBSD.org> | 1999-10-25 02:41:58 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-10-25 02:41:58 +0000 |
commit | b3ebae016a5c532ef50c367a058d394d04b05029 (patch) | |
tree | f08c2d0c060a6858fd722931d6a11acad72b8933 /sys/pccard/driver.h | |
parent | 5c654c474375626efab60ddf5d5bf9098b8f7337 (diff) | |
download | FreeBSD-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/driver.h')
-rw-r--r-- | sys/pccard/driver.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/pccard/driver.h b/sys/pccard/driver.h index 4f1ae15..1cd030b 100644 --- a/sys/pccard/driver.h +++ b/sys/pccard/driver.h @@ -12,11 +12,6 @@ struct pccard_device; void pccard_add_driver __P((struct pccard_device *)); -#ifdef _I386_ISA_ISA_DEVICE_H_ /* XXX actually if ointhand2_t is declared */ -int pccard_alloc_intr __P((u_int imask, ointhand2_t *hand, int unit, - u_int *maskp, u_int *pcic_imask)); -#endif -void pccard_remove_driver __P((struct pccard_device *)); enum beepstate { BEEP_ON, BEEP_OFF }; |