summaryrefslogtreecommitdiff
path: root/sys/dev/exca
Commit message (Collapse)AuthorAgeFilesLines
* Card type stuff was backwards, so assume io for the moment. mem needsWarner Losh2003-10-071-6/+2
| | | | | | | a lot of help and with luck bms will help me fix that. Notes: svn path=/head/; revision=120872
* CARDMEM is the offset of the address ON THE CARD (eg which page).Warner Losh2003-09-241-1/+1
| | | | | | | | | Instead, use EXCA_MEMREG_WIN_SHIFT which is the amount we shift the bus address by to write into upper memory (eg above 24MB). Use the latter in this case. Notes: svn path=/head/; revision=120421
* When we went to the set_flags interface for the memory resource, weWarner Losh2003-08-291-4/+4
| | | | | | | | | switched from PCCARD_MEM_FOO to PCCARD_A_MEM_FOO, yet we didn't change exca in all the right places. Do so now. Also use PCCARD_WIDTH_AUTO rather than the magic cookie 0. Notes: svn path=/head/; revision=119551
* A number of minor fixes to the mapping of memory. This should helpWarner Losh2003-08-281-22/+18
| | | | | | | | | | | | | | | | | | reading the CIS on some cards. However, not all just yet. This makes at least some of the xircom cards that weren't working to work. It doesn't make my home and away card work, however. o Don't get the card offset wrong. This is the biggest hassle for reading the CIS. The old code was just so wrong I can't believe that it worked at all. o Don't set the bit that allows/forces 16-bit memory access to the memory. It is hard coded with 0x80. o Don't need to slow down memory access with wait-states. OLDCARD didn't need them and it doesn't hurt anything. o remove bogus grousying in comment. Notes: svn path=/head/; revision=119520
* Fix location of $FreeBSD$ from last commit.Warner Losh2003-08-271-4/+3
| | | | Notes: svn path=/head/; revision=119511
* Use __FBSDID().David E. O'Brien2003-08-241-1/+3
| | | | | | | Also some minor style cleanups. Notes: svn path=/head/; revision=119418
* MFP4:Warner Losh2003-06-072-0/+88
| | | | | | | Merge some common code from cbb into exca. Notes: svn path=/head/; revision=115988
* Add two of three workarounds for interrupt storms for o2micro parts asWarner Losh2003-06-061-0/+7
| | | | | | | | | | | | obtained from o2micro. These should only be needed for 'older' o2micro bridges (anything before the 7xxx series of bridges), but will work with the new bridges. # I don't plan on porting it to oldcard, but will happily commit to # oldcard if someone else needs them. Notes: svn path=/head/; revision=115887
* Don't use return(foo(...)); in function returning void.Poul-Henning Kamp2003-05-311-1/+1
| | | | | | | Found by: FlexeLint Notes: svn path=/head/; revision=115461
* Massive overhaul of exca to help with the isa efforts:Warner Losh2003-02-143-64/+240
| | | | | | | | | | | | | | o chip_name arrays ifdef'd out. o use the OLDCARD-like get/put functions so we can support differnt types of mappings. o Write the beggings of is this a valid exca device and introduce more chipset support. # this is partially a wip, but also needed because some other cahnges I've # made require some of these changes. Notes: svn path=/head/; revision=110841
* Do not return(foo()) in void function.Semen Ustimenko2002-12-181-1/+1
| | | | | | | | Submitted by: marius@alchemy.franken.de MFC after: 3 days Notes: svn path=/head/; revision=108064
* Update comments to remind me about power bugs in oldcard.Warner Losh2002-10-071-1/+4
| | | | Notes: svn path=/head/; revision=104601
* MFp4:Warner Losh2002-07-263-20/+25
| | | | | | | | | | | | o Protect .h against multiple includes. o eliminate the pointers to the read/write routines. The bus_space_read routines can cope since we have the offset field. o Print a warning if the requested map address is > 16M and your chipset doesn't support the extended ExCA registers. Notes: svn path=/head/; revision=100703
* Fix a couple of places where preprocessor concatination was misused andAlfred Perlstein2002-06-011-2/+2
| | | | | | | something wound up grafted to a comma. Notes: svn path=/head/; revision=97708
* Make oldcard and newcard kernel module work.Takanori Watanabe2002-05-301-0/+9
| | | | Notes: svn path=/head/; revision=97613
* Default debugging to OFF now.Warner Losh2002-02-041-1/+0
| | | | Notes: svn path=/head/; revision=90187
* First draft of common code between pccbb and pcic drivers for talkingWarner Losh2002-01-293-0/+1155
to ExCA register sets. These registers exist in both ISA and PCI devices in a couple different ways, and this will provide a common base for future building. This code is a rehash of the pccbb 16-bit code, which was a rehash of the pcic code, which was a rehash of the netbsd i82365 code. More hashing to come. Notes: svn path=/head/; revision=89948