summaryrefslogtreecommitdiffstats
path: root/sys/pccard/i82365.h
Commit message (Collapse)AuthorAgeFilesLines
* First cut at bringing NEC PC98 original pccard bridge code back intoimp2001-04-191-1/+1
| | | | | | | | | FreeBSD. This code doesn't work just yet, but does compile. We need to start indirecting via the cinfo pointers, rather than directly calling pcic_*. There may be other issues as well, but you gotta start somewhere. Obtained from: PAO3
* Lots of minor cleanup, plus a couple of interesting things.imp2001-03-191-17/+60
| | | | | | | | | | | | | | | | | | | | | | | o Attempt to disable the slot when we detect that there are problems with it in our ISR. This should make polling mode work better for more cards, but more work may be needed. This "disabling" sets the card interrupt register to 0. This worked for me for lots of tests in polling mode. o Now that I've found datasheets, fix a boatload of magic numbers in the source to make it easier to understand. o Use a table of names rather than a big case statement. o Cull a few of the "unused" controller types that we map to other times that were a vestiage of PAO code that we never merged in the same way. o Enforce legal IRQs. You are no longer allowed to try to use IRQs that will fail on all known ISA/PCI <-> PCMCIA bridges. The bridges do not have pins for these illegal interrupts, and all of them are listed as reserved and/or illegeal in the datasheets depending on which one you look at. o Add comments about how IBM-AT based computers and NEC PC-98 based computers map these interrupts and which ones are valid. o Always clear the bit that steers the management interrupt either to the value listed in the PCIC_STAT_INT register. I've seen this bit get set on suspend/resume and after windows boot, and it does't hurt to clear it. NOTE: this might mean we can share this interrupt in the future.
* Add support for PnP ISA cards, and some laptop PnP support:imp2000-03-101-2/+7
| | | | | | | | | | | | | | | o break out some of the probe routine the allocation of resources into an attach routine o Recognize PnP ids o Allocate IRQ per card rather than per system o Better polling reporting o Remove unneeded include files in slot.h o store a pseudo unit number on each device we find. o Pass a unit number to interrupt/timeout routine and use it for polling the hardware. Tested on: My VAIO and with the Linksys pccard reader. Approved by: jkh
* Add probing support for the vadem VG365 and the Vadem VG465 pcic chips.imp1998-08-251-6/+8
| | | | | | | | | We do the same thing we do with all the other Vadem chips and print the right identification for these chips. Tested with the 365, and inferred for the 465. This allows the cheapo PCMCIA card that I got from necx to print the right chip number on boot.
* Modem cards send the speaker audio (dialing noises) to the host'snate1997-10-061-0/+8
| | | | | | | | | speaker. Cirrus Logic PCIC chips must enable this. There is also a Low Power Dynamic Mode bit that claims to reduce power consumption by 30%, so enable it and hope for the best. PR: 4650 Submitted by: Nick Sayer <nsayer@quack.kfu.com>
* - Style policenate1997-10-061-9/+9
| | | | | | - Updated some comments using data from the most recent PAO release. Obtained (partially) from: PAO-970616
* 1. i82365.h: Chip identifiers should not be #ifdef PC98. Add identifierphk1997-04-201-2/+2
| | | | | | | | | | (pt. unused) for TI PCI1130. 2. pccard.c: PCIC_RESUME_RESET is now (also) a sysctl. (Never make it a #ifdef if it can be made a sysctl!) 3. pcic.c: make getb() and putb() proper member functions of struct pcic_slot. Add a couple of missing casts.
* The Great PC98 Merge.asami1996-06-141-0/+3
| | | | | | | | All new code is "#ifdef PC98"ed so this should make no difference to PC/AT (and its clones) users. Ok'd by: core Submitted by: FreeBSD(98) development team
* Updated PC-CARD support to contain most of the code from the latestnate1996-02-211-1/+5
| | | | | | | Japanese BSD-Nomad release. Reviewed by: phk Submitted by: hosokawa@mt.cs.keio.ac.jp and the rest of the Nomads
* Don't rely on the card 'automatically' powering up when we probe it.nate1996-01-061-0/+1
| | | | | | | | | | | On some laptops, this doesn't work (ie; IBM 75x series), so force it to power on. With this modification, I am able to read the tuples off 4 different PCMCIA cards on my ThinkPad. Reviewed by: phk@FreeBSD.org Obtained from: if_zp.c
* Clean up the ident style.phk1995-11-091-0/+1
| | | | | | | Remove the APM stuff Add support for VA469 Submitted by: Janic.Thaillandier@ratp.fr
* Andrew McRae's pcmcia/pccard code, the kernel part.phk1995-08-241-0/+207
This is still very green, but I have managed to get my modem working. Lots of work still to do, but now at least we can commit it. /phk Reviewed by: phk Submitted by: Andrew McRae <andrew@mega.com.au>
OpenPOWER on IntegriCloud