summaryrefslogtreecommitdiff
path: root/sys/pccard
Commit message (Collapse)AuthorAgeFilesLines
* YAMFC:Nate Williams1997-03-045-79/+106
| | | | | | | | | | | | | | - Added PCIC resume function - Cleaned up includes - Better handling of PCIC controller IRQ's (Dynamically determine a free IRQ instead of just grabbing one.) - Cleaned up VLSI-PCIC chipset detection better, necessary for some newer laptops such as the NEC 6030H. OK'd by: joerg Notes: svn path=/stable/2.2/; revision=23361
* YAMFC (revision 1.10; deleted struct pc98_device).KATO Takenori1997-02-041-4/+0
| | | | Notes: svn path=/stable/2.2/; revision=22265
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.cvs2svn1996-11-021-150/+0
| | | | Notes: svn path=/stable/2.2/; revision=19327
* Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>:Bruce Evans1996-09-212-2/+22
| | | | | | | | | | | | | | | | - don't include <sys/ioctl.h> in any header. Include <sys/ioccom.h> instead. This was already done in 4.4Lite for the most important ioctl headers. Header spam currently increases kernel build times by 10-20%. There are more than 30000 #includes (not counting duplicates) for compiling LINT. - include <sys/types.h> if and only it is necessary to make the header almost self-sufficient (some ioctl headers still need structs from elsewhere). - uniformized idempotency ifdefs. Copied the style in the 4.4Lite ioctl headers. Notes: svn path=/head/; revision=18444
* - Don't include <machine/laptops.h>. It was a kludge I should neverNate Williams1996-09-072-2/+0
| | | | | | | have imported. Notes: svn path=/head/; revision=18106
* Yet another merge. Remove support.s by deleting memcopy. RemoveSatoshi Asami1996-09-072-6/+2
| | | | | | | | | autoconf.c by merging icu.h. Fix a couple of typos. Submitted by: The FreeBSD(98) Development Team. Notes: svn path=/head/; revision=18095
* Remove devconf, it never grew up to be of any use.Poul-Henning Kamp1996-09-062-55/+0
| | | | Notes: svn path=/head/; revision=18084
* Re-sync with the state of PC98 world. This will be the last commit beforeSatoshi Asami1996-08-301-0/+45
| | | | | | | | | we start merging things in earnest... Submitted by: The FreeBSD(98) Development Team Notes: svn path=/head/; revision=17947
* Added #include of <machine/md_var.h>. This will be needed whenBruce Evans1996-06-251-0/+1
| | | | | | | | some declarations are moved from <machine/cpufunc.h> to better places. Notes: svn path=/head/; revision=16733
* Oops, forgot to delete some garbage from working code.Satoshi Asami1996-06-141-8/+0
| | | | Notes: svn path=/head/; revision=16364
* The Great PC98 Merge.Satoshi Asami1996-06-144-0/+256
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=16363
* Minor formatting changes. No functional differences, but makes theNate Williams1996-06-052-18/+15
| | | | | | | style more consistant with KNF and the Nomad release. Notes: svn path=/head/; revision=16131
* Adds the APM hooks into the generic pccard kernel files. With this codeNate Williams1996-04-233-7/+118
| | | | | | | | | | | | in place device drivers can now register power-down/power-up routines so that we can use common routines to power-up/power-down cards for insert/removals, suspend/resume, etc.. Reviewed by: phk Submitted by: the 'Nomads' Notes: svn path=/head/; revision=15360
* Changed #includes of <i386/include/foo.h> to #includes of <machine/foo.h>.Bruce Evans1996-04-072-5/+4
| | | | Notes: svn path=/head/; revision=15119
* pccard.c:Gary Palmer1996-04-062-0/+3
| | | | | | | | | | | #include <i386/include/clock.h> to get sysbeep() prototype pcic.c: add appropriate #ifdef around a prototype to quiet GCC because fn decl. is also #ifdef'd. Notes: svn path=/head/; revision=15067
* Removed un-used code.Nate Williams1996-02-212-24/+0
| | | | Notes: svn path=/head/; revision=14174
* Updated PC-CARD support to contain most of the code from the latestNate Williams1996-02-215-19/+160
| | | | | | | | | | Japanese BSD-Nomad release. Reviewed by: phk Submitted by: hosokawa@mt.cs.keio.ac.jp and the rest of the Nomads Notes: svn path=/head/; revision=14172
* Fix a bunch of spelling errors in the comment fields ofMike Pritchard1996-01-301-1/+1
| | | | | | | a bunch of system include files. Notes: svn path=/head/; revision=13765
* Fix DEVFS, remove unused vars.Poul-Henning Kamp1996-01-282-19/+10
| | | | Notes: svn path=/head/; revision=13662
* Don't rely on the card 'automatically' powering up when we probe it.Nate Williams1996-01-062-2/+3
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=13272
* Completed function declarations and/or added prototypes and/or addedBruce Evans1995-12-162-2/+3
| | | | | | | #includes to get prototypes. Notes: svn path=/head/; revision=12878
* Julian forgot to make the *devsw structures static.Poul-Henning Kamp1995-12-081-1/+1
| | | | Notes: svn path=/head/; revision=12678
* Pass 3 of the great devsw changesJulian Elischer1995-12-081-28/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | most devsw referenced functions are now static, as they are in the same file as their devsw structure. I've also added DEVFS support for nearly every device in the system, however many of the devices have 'incorrect' names under DEVFS because I couldn't quickly work out the correct naming conventions. (but devfs won't be coming on line for a month or so anyhow so that doesn't matter) If you "OWN" a device which would normally have an entry in /dev then search for the devfs_add_devsw() entries and munge to make them right.. check out similar devices to see what I might have done in them in you can't see what's going on.. for a laugh compare conf.c conf.h defore and after... :) I have not doen DEVFS entries for any DISKSLICE devices yet as that will be a much more complicated job.. (pass 5 :) pass 4 will be to make the devsw tables of type (cdevsw * ) rather than (cdevsw) seems to work here.. complaints to the usual places.. :) Notes: svn path=/head/; revision=12675
* If you're going to mechanically replicate something in 50 filesJulian Elischer1995-11-291-1/+1
| | | | | | | it's best to not have a (compiles cleanly) typo in it! (sigh) Notes: svn path=/head/; revision=12521
* OK, that's it..Julian Elischer1995-11-291-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | That's EVERY SINGLE driver that has an entry in conf.c.. my next trick will be to define cdevsw[] and bdevsw[] as empty arrays and remove all those DAMNED defines as well.. Each of these drivers has a SYSINIT linker set entry that comes in very early.. and asks teh driver to add it's own entry to the two devsw[] tables. some slight reworking of the commits from yesterday (added the SYSINIT stuff and some usually wrong but token DEVFS entries to all these devices. BTW does anyone know where the 'ata' entries in conf.c actually reside? seems we don't actually have a 'ataopen() etc... If you want to add a new device in conf.c please make sure I know so I can keep it up to date too.. as before, this is all dependent on #if defined(JREMOD) (and #ifdef DEVFS in parts) Notes: svn path=/head/; revision=12517
* Completed function declarations and/or added prototypes.Bruce Evans1995-11-211-9/+15
| | | | Notes: svn path=/head/; revision=12453
* New file for pccard driver interface declarations.Bruce Evans1995-11-211-0/+22
| | | | Notes: svn path=/head/; revision=12449
* Make the LKM version compile again.Poul-Henning Kamp1995-11-211-4/+3
| | | | | | | Pointed out by: Michael Smith <msmith@atrad.adelaide.edu.au> Notes: svn path=/head/; revision=12447
* Fiddle with <machine/isa_device.h>Poul-Henning Kamp1995-11-141-3/+3
| | | | Notes: svn path=/head/; revision=12298
* Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC()Bruce Evans1995-11-141-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from a string to an identifier so that it can be used to generate declarations and strings. It's much easier to stringize an identifier than to identifize a string. A uniform naming scheme must be used for the automatically generated things to apply. This is a feature. Used the module identifer to generate prototypes for the module load, unload and stat functions. Removed the few prototypes for these that already existed. Used the module identifier to generate a unique struct tag in MOD_DEV(). This should probably be done for all the MOD_*() macros. Moved the trailing semicolon from the MOD_*() macro definitions to the macro invocations that didn't already (bogusly) have it. Staticized the module load and unload functions. Added function return types for the module load, unload and stat functions. lkm/ibcs2/ibcs2.c: Included <sys/sysproto.h> to get everything prototyped. Cleaned up #includes. lkm/ibcs2/ipfw.c: Cleaned up #includes. lkm/linux/linux.c: The module name had to change from "linux_emulator" to "linux_mod" to be automatically generated. Cleaned up #includes. lkm/syscons/*/*_saver.c: Completed delcarations of function pointers. sys/i386/isa/atapi.c: The module name had to change from "atapi" to "atapi_mod" to be automatically generated. sys/i386/isa/wcd.c: Used the fixed MOD_DEV(). This module has two devices and expanded the macro in the source instead of fixing it. The module names had to change from "wcd" and "rwcd" to "wcd_mod" and "rwcd_mod" to be automatically generated. sys/pccard/pcic.c: The module name had to change from "pcic" to "pcic_mod" to be automatically generated. Notes: svn path=/head/; revision=12276
* Fixed the type of yet another timeout function.Bruce Evans1995-11-131-7/+8
| | | | | | | | | | Fixed the type of pcic_unload(). Replaced nosys() by lkm_nullcmd() in pcic_mod() and in a misplaced comment about the lkm interface. Notes: svn path=/head/; revision=12254
* Clean up the ident style.Poul-Henning Kamp1995-11-096-782/+722
| | | | | | | | | | Remove the APM stuff Add support for VA469 Submitted by: Janic.Thaillandier@ratp.fr Notes: svn path=/head/; revision=12173
* Fixed the type of a timeout function and an interrupt mask variable.Bruce Evans1995-11-091-3/+3
| | | | Notes: svn path=/head/; revision=12161
* Fixed the types of the apm suspend/resume functions.Bruce Evans1995-11-091-4/+6
| | | | Notes: svn path=/head/; revision=12160
* Moved prototypes for devswitch functions from conf.c and driver sourcesBruce Evans1995-11-041-13/+0
| | | | | | | | | | to <machine/conf.h>. conf.h was mechanically generated by `grep ^d_ conf.c >conf.h'. This accounts for part of its ugliness. The prototypes should be moved back to the driver sources when the functions are staticalized. Notes: svn path=/head/; revision=12071
* Fix a missing arg to untimeout.Poul-Henning Kamp1995-10-231-1/+1
| | | | Notes: svn path=/head/; revision=11714
* A mixed bag of changes, relating to getting the state in "lsdev" right,Poul-Henning Kamp1995-10-212-35/+86
| | | | | | | and pccard support to work sensibly. Better by far, but still not good. Notes: svn path=/head/; revision=11602
* Make LKM entry consisten with tradition: pcic_mod().Poul-Henning Kamp1995-10-151-1/+1
| | | | Notes: svn path=/head/; revision=11518
* PCCARD support.Poul-Henning Kamp1995-10-102-7/+11
| | | | Notes: svn path=/head/; revision=11409
* Missed these changes to the pccard stuff. Sorry Martin!Poul-Henning Kamp1995-09-205-3/+10
| | | | Notes: svn path=/head/; revision=10914
* Shut warnings.Poul-Henning Kamp1995-08-252-24/+4
| | | | | | | | Add selwake calls. remove some trash. Notes: svn path=/head/; revision=10256
* Andrew McRae's pcmcia/pccard code, the kernel part.Poul-Henning Kamp1995-08-248-0/+2745
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> Notes: svn path=/head/; revision=10216