summaryrefslogtreecommitdiffstats
path: root/sys/pccard/driver.h
Commit message (Collapse)AuthorAgeFilesLines
* Axe a few __P() while I'm in the neighborhood.imp2001-03-221-6/+6
|
* add PC-Card melody beep(PC Card bus, kludge version)sanpei2000-10-281-1/+1
| | | | Original idea from: PAO3
* Make pccardc beep actually work. The kernel was doing the wrong thingimp1999-12-021-1/+1
| | | | | | | | with the beep information it had (like ignoring it). Submitted by: sanpei@sanpei.org (MIHIRA-san Yoshiro) Add $FreeBSD$ to pccard_beep.c while I'm here.
* Massive rewrite of pccard to convert it to newbus.imp1999-10-251-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Reorganize the attachement point for pcic (it was unattached andimp1999-10-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | floating before). Attach pccard devices to pcic, one per slot (although this may change to one per pcic). pcic is now attached to isa (to act as a bridge) and pccard is attached to pcic, cbb and pc98ic (the last two are card bus bridge and the pc98ic version of pcic, neither of which are in the tree yet). Move pccard compat code into pccard/pccard_compat.c. THIS REQUIRES A CONFIG FILE CHANGE. You must change your pcic/card entries to be: # PCCARD (PCMCIA) support controller pcic0 at isa? controller pcic1 at isa? controller card0 The old system was upside down and this corrects that problem. It will make it easier to add support for YENTA pccard/card bus bridges. Much more cleanup needs to happen before newbus devices can have pccard attachments. My previous commit's comments were premature.
* *** empty log message ***imp1999-09-261-2/+4
|
* Add "beep" ioctl. (#10 is reserved for PIOCSVIR)kuriyama1999-02-131-1/+1
| | | | | Obtained from: PAO3 Reviewed by: -current list
* Initial update pccard code for KLD module support. Module supportpeter1999-01-191-3/+0
| | | | | | however is only marginally useful until the new-style bus (pci and isa) stuff comes onboard to give us a better shot at actually pci and isa drivers loadable (or preloadable anyway).
* - Instead of relying on a functional call to register PCARD-capable drivers,nate1997-10-261-0/+1
| | | | | | | | use a Linker Set. Note, if a driver is loaded as an LKM if will have to use the function call, but since none of the existing drivers are loadable, this made things cleaner and boot messages nicer. Obtained from: PAO-970616
* - 'Beep' support now happens in it's own separate file, so you can messnate1997-10-261-0/+8
| | | | | | | around with different noises for the different events and not have it affect other files. Inspired by: PAO
* - Do a bunch of gratuitous changes intended to make the code easier tonate1997-10-261-3/+3
| | | | | | | | | | | | follow. * Rename/reorder all of the pccard structures, change many of the member names to be descriptive, and follow more closely other 'bus' drivers naming schemes. * Rename a bunch of parameter and local variable names to be more consistant in the code. * Renamed the PCCARD 'crd' device to be the 'card' device * KNF and make the code consistant where it was obvious. * ifdef'd out some unused code
* Update the PCIC controller's imask with individual slot IRQ's.nate1997-01-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Assuming that the intr_mask[] was updated by changing the maskptrs (the existing update_intr_masks() function will not work) this code was written so the PCIC controller insertion/removal events will not interrupt the card IRQ handler events. Some possible scenarios: + Card is removed during IRQ handler: - PCIC card handler is allowed to interrupt - card removal event is called, removing the driver and data structures * card interrupt handler continues w/out driver, data structures, and hardware OR (the code just committed) * card IRQ handler has no hardware to read/write to, but has code and data to run on (XXX- Assume it completes and doesn't spin forever) - PCIC card handler unloads the card driver The current situation at least leaves the card interrupt handlers the drivers and data structures to work with although the hardware can't be guaranteed. Reviewed by: bde
* New file for pccard driver interface declarations.bde1995-11-211-0/+22
OpenPOWER on IntegriCloud