Commit Graph

45 Commits

Author SHA1 Message Date
xtraeme 7633a17263 Merge NOMAN, CLEANFILES and WARNS into the shared Makefile.inc. 2008-04-05 19:03:57 +00:00
xtraeme b4af2cba55 Add the finsio(4) LKM. 2008-04-03 22:57:40 +00:00
xtraeme 489d9f36fc Erm. Backout previous... I committed the wrong file. 2008-04-03 22:54:29 +00:00
xtraeme a68cbff5b2 Add the finsio(4) driver. This driver supports the Hardware Monitor
device in the Fintek LPC Super I/O chips, this includes the following
list:

- F71805F
- F71806F
- F71862FG
- F71872F
- F71882
- F71883F

This has been adapted from the fins(4) driver available in OpenBSD, which
only supported F71805F.

Tobias Nygren <tnn> and myself added support for the other chips; thanks go
to Tobias for testing the driver with a Fintek F71882 chip.
2008-04-03 22:46:22 +00:00
xtraeme da3a7579a9 Use BUILDSYMLINKS to avoid a compilation error where the source file
has the same name than the LKM.
2007-11-20 21:47:34 +00:00
xtraeme e9e087f048 Update for it(4) -> itesio(4) rename. 2007-11-15 13:04:50 +00:00
xtraeme fd79e0d338 Remove a local CPPFLAGS addition. 2007-09-11 22:02:09 +00:00
xtraeme 1dac9ede4d New aps(4) driver for IBM Thinkpad Active Protection System.
Exports some sensors through the envsys(4) framework available
in some Thinkpad laptops.

Ported by Pierre Pronchery from OpenBSD, via PR port-i386/36852.

Tweaks, LKM and misc improvements by me. Added into i386/GENERIC
commented out.
2007-09-11 21:46:52 +00:00
xtraeme d9144c32f2 Do not LKM_ISA_IO_PORT to 0x290 by default, some drivers try to guess it
and there's no much sense in adding it.
2007-09-11 07:41:26 +00:00
xtraeme e8f02a5c46 Set LKM_ISA_DRVNAME to LKM_ISA_DRVNAME_CA by default... removes an
extra line in some drivers.
2007-09-09 13:52:23 +00:00
xtraeme f98b18e4bd Ok, last round: templ -> tmpl. 2007-09-09 13:28:03 +00:00
xtraeme 4a8ca00f58 Rename lkm_isa.templ to lkm_isa.c.templ... to make jmcneill happy. 2007-09-09 13:24:02 +00:00
xtraeme d76f18ef6a Add all drivers that I just added. They won't be built by default... 2007-09-09 05:51:59 +00:00
xtraeme 09af330546 Remove a local CPPFLAGS line that was commented out. 2007-09-09 05:46:27 +00:00
xtraeme 3d9887f5a6 Add the ug(4) LKM. Not tested but I've been using lm(4) and should work. 2007-09-09 05:40:22 +00:00
xtraeme 42d3167c6c Add the nsclpcsio(4) LKM. Not tested but I've been using lm(4) and
should work.
2007-09-09 05:27:10 +00:00
xtraeme ba6e78a942 Add the smsc(4) LKM. Not tested but I've been using lm(4) and should work. 2007-09-09 05:18:20 +00:00
xtraeme c2d7d8aaf3 Add the it(4) LKM. Not tested but I've been using lm(4) and should work. 2007-09-09 05:11:01 +00:00
xtraeme ae26b33f71 Remove a duplicate line. 2007-09-09 04:38:16 +00:00
xtraeme 2049e94266 Add the lm(4) LKM and a common template to build ISA modules by only
setting some variables. Voodoo magic to create lkm_isa.c was required.
2007-09-09 04:24:24 +00:00
cube b1b29cb4ae Remove that example. It was obsolete even before 3.0 release. 2006-07-16 10:52:22 +00:00
christos d45a53ed73 Finish fixing compilation after device property changes. 2006-05-07 20:48:51 +00:00
christos 2867eb021b Don't define $S here; nothing uses it and it is broken. 2006-05-07 20:48:01 +00:00
martin 60dcc21763 Add missing <sys/device.h> include. 2006-02-01 20:55:31 +00:00
cube 9f02c7bd62 Free cfdata memory. The tap LKM might be wrong in that area, to...
Pointed out by Greg Oster.
2006-02-01 05:05:22 +00:00
cube 6527a45571 Have vnd(4) devices automatically created when the user tries to
configure one.  That removes the compile-time constant that limits the
number of vnds.

Thanks xtraeme@ for testing.
2006-02-01 03:15:33 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
drochner 9ab0a3e02e struct cfdata doesn't have locnames anymore 2005-08-25 15:08:06 +00:00
drochner 20b1effdae build pci/pcmcia driver LKMs only on i386 and alpha
(this is where I could test, could be more)
2005-07-23 16:11:18 +00:00
drochner bf66affbd6 let the build descend to device driver LKMs
this is more to make sure things don't bitrot than to provide
a useful set of modules
(the wi@pcmcia module is useful for me actually)
2005-07-22 20:14:55 +00:00
peter a9b411c198 Change all .Xr config 8 to .Xr config 1, following the recent move of
config from usr.sbin -> usr.bin.

Reviewed by wiz.
2005-06-20 13:25:23 +00:00
perry 477853c351 nuke trailing whitespace 2005-02-26 22:58:54 +00:00
drochner de8db0c004 also provide an example how a pci driver LKM looks
(This is just a dummy driver which doesn't touch the hardware.)
2004-08-18 14:06:13 +00:00
drochner b1a9bed356 add an LKM for "wi at pcmcia" as an example for the new MOD_DRV LKM type 2004-08-18 13:12:07 +00:00
cube 43a2c97ad2 Include pcidevs.h, because in a real driver, you'd need it. 2004-07-06 12:21:55 +00:00
cube f584691eb3 Hands are not good at pasting stuff. 2004-07-06 12:15:58 +00:00
cube f04e188b92 Add prototype for the forged <module>_lkmentry function. Pointed out by
rtr@.
2004-07-06 12:10:13 +00:00
skrll c561286bf0 wizd missed one! 2004-07-02 13:42:06 +00:00
wiz 711c55c92c Drop trailing whitespace; fix Dd argument; use standard section headers;
sort SEE ALSO; use \*[Lt]\*[Gt] instead of <>; empty lines are fine in
.Bd/.Ed.
2004-07-02 13:38:14 +00:00
wiz 07b563fdee Fix typo. 2004-07-02 13:33:39 +00:00
cube 4791863f66 Add 'pcilkm' module.
It is a layer to make it possible to have loadable PCI device drivers.

First you load (with symbols) the pcilkm module, then you can load PCI
drivers that have been compiled to work with pcilkm.

Two examples are provided.  'pcienum', the first one, is a simple
demonstration of how to use pcilkm:  it is the basic skeleton of a PCI
driver, and will attach at load time to all PCI devices known to the
system.

The second example 'auich' demonstrates how simple it is to use an
existing driver as a LKM.  It simply includes the code for auich(4) and
then adds the necessary pcilkm logic.  However there are some drawbacks
that are described in the README file.
2004-07-02 13:26:40 +00:00
mrg a698ba9223 allow the number of vnd's created to be patchable... 2004-03-21 10:51:16 +00:00
lukem 9c437ec754 Change `LNFILES' to `BUILDSYMLINKS', to more accurately describe its purpose.
Per discussion with Simon Gerraty.
2003-09-20 06:20:41 +00:00
lukem f7fe23abb3 use LNFILES to simplify creation of symlinks in .OBJDIR for builds 2003-09-04 07:18:01 +00:00
mrg 20998b4001 vnd.c
- allow vnddetach() to return EBUSY if any vnd's are currently initialised.
lkm:
- add new 'dev' directory, initially with just a 'vnd' LKM.  for now, the
vnd lkm driver requests 4 devices....

XXX: vnd should be converted to a psuedo-device that creates & deletes
instances of itself (vnd0, vnd1, etc) when vnconfig -c/-u are called,
then the vnd lkm driver can not be limited to '4' by default.
2002-11-16 08:10:48 +00:00