Commit Graph

1238 Commits

Author SHA1 Message Date
elad 211d7b1c99 Use a single kauth(9) call. 2007-01-05 16:46:27 +00:00
elad d5ebb97b46 Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 18:44:45 +00:00
itohy d796584488 Don't use esp_pcmcia_enable() before attaching chip driver (ncr53c9x),
since it touches storage allocated by the chip attach function.
The chip driver properly calls scsipi_adapter_addref() /
scsipi_adapter_delref(), and just deleting the esp_pcmcia_enable() call
and the relevant code should be OK.

Fix panic descibed in PR kern/26909.
2006-12-28 16:37:46 +00:00
dogcow be3e9fcde5 fix a (valid) "buf may be used uninitialized" warning/error in DIAGNOSTIC. 2006-12-27 22:07:17 +00:00
alc f8b0309827 CID-3821: don't leak `fh' and close the firmware properly
ok christos@
2006-12-27 18:01:45 +00:00
yamt 8bf7662829 merge yamt-splraiseipl branch.
- finish implementing splraiseipl (and makeiplcookie).
	  http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
	- complete workqueue(9) and fix its ipl problem, which is reported
	  to cause audio skipping.
	- fix netbt (at least compilation problems) for some ports.
	- fix PR/33218.
2006-12-21 15:55:21 +00:00
uwe 4f6d5a41f4 Provide aprint_naive("\n"); in attach. 2006-12-10 03:44:28 +00:00
dsl a985c88ba5 Include the spectrum24y firmware when built as a LKM 2006-11-25 18:06:55 +00:00
dsl f26a3ca423 Make the inclusion of the spectrum24t firmware a config option, default
to enabled.
2006-11-25 17:52:57 +00:00
christos 168cd830d2 __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
christos c72ed40f25 regen 2006-11-16 00:53:31 +00:00
christos c4f844860a non working dual serial port. 2006-11-16 00:53:16 +00:00
christos 5cbe0fbb62 add another device. 2006-11-16 00:52:48 +00:00
drochner 78c0d69e17 kill the "irq" llocator for pcmcia - this doesn't make sense because
irq mapping is done by the controller, and it is not used anywhere afaict
2006-10-24 20:54:10 +00:00
pooka 5005d343ec * __unused games + other relevant fixes
* give me ANSI C or give me death (at least where it could be easily spotted)
2006-10-16 13:00:36 +00:00
christos 4d595fd7b1 - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
jmcneill f135e0d607 Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
2006-09-24 03:53:07 +00:00
jmcneill 9c01d5a7bc Regen for PR# 15666. 2006-09-23 15:40:16 +00:00
jmcneill e748bee1f6 PR# 15666: EDIMAX EP-4101 PCMCIA card support (patch included) 2006-09-23 15:39:51 +00:00
jmcneill 696fb7f495 Regen for PR# 27840. 2006-09-23 13:21:29 +00:00
jmcneill ee203eb22f PR# 27840: patch for IO DATA PCET/TX-R PCMCIA Ethernet card support 2006-09-23 13:21:01 +00:00
plunky 4f1cbddc12 update to bluetooth device attachment:
remove pseudo-device btdev(4) and inherent limitations

add bthub(4) which autoconfigures at bluetooth controllers as they
are enabled. bluetooth devices now attach here.

btdevctl(8) and its cache is updated to handle new semantics

etc/rc.d/btdevctl is updated to configure devices from a list
in /etc/bluetooth/btdevctl.conf
2006-09-10 15:45:55 +00:00
dogcow f2d329dca0 remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP. 2006-09-07 02:40:31 +00:00
christos 2ef37e3f61 use c99 initializers 2006-09-03 04:52:14 +00:00
christos 3cd45450e8 redo with c99 initializers 2006-09-02 18:59:46 +00:00
christos bd4bd1bf9d - comment out impossible comparison
- add missing initializer
2006-09-02 18:58:02 +00:00
christos ce149b700c fix initializers. 2006-08-30 16:55:06 +00:00
christos bf74b6c774 add missing initializers 2006-08-30 16:51:24 +00:00
christos f202705964 fix incomplete initializer 2006-08-30 01:09:39 +00:00
plunky f2c2a49a27 Make suspend/resume work properly for bt3c device.
Since state is kept inside the device that will be lost, we need to
flush all information relating to this controller from the protocol
stack.
2006-08-28 10:34:33 +00:00
christos d3b80ef998 remove impossible conditional 2006-08-28 00:10:20 +00:00
christos 35ca6c8b5b Fix all the -D*DEBUG* code that it was rotting away and did not even compile.
Mostly from Arnaud Lacombe, many thanks!
2006-08-17 17:11:27 +00:00
scottr aed25205e0 Regenerate with correct rcsids 2006-07-28 08:57:03 +00:00
scottr f9be1a6de9 Add Siemens SS1021 WLAN. 2006-07-28 08:02:39 +00:00
ad 3029ac48c7 - Use the LWP cached credentials where sane.
- Minor cosmetic changes.
2006-07-21 16:48:45 +00:00
gdamore 34537908ab Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@.  Fixes PR port-evbmips/32362.
2006-07-13 22:56:00 +00:00
peter 58224a41e7 Add power hooks for "ep* at pcmcia?".
ok christos@
2006-07-11 22:49:47 +00:00
peter 09f0de7ce4 Add power hooks for "ne* at pcmcia?".
ok christos@
2006-07-11 22:48:37 +00:00
drochner f7c7c95eb6 make some bluetooth devices just devices, not interface attributes 2006-06-21 17:14:13 +00:00
christos 89826912b8 Add another rogue card. 2006-06-19 21:53:57 +00:00
gdamore abf73663d1 Regen pcmciadevs. Sorry. 2006-06-19 16:44:24 +00:00
gdamore a5c89047c0 Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
2006-06-19 15:44:33 +00:00
christos 7b128daa3b stack police: Introduce an opl_match function that uses malloc instead of
allocating ~2K of softc on the stack.
2006-06-09 21:55:33 +00:00
elad 2867b68bc3 integrate kauth. 2006-05-14 21:42:26 +00:00
rpaulo e54bb9fc0c Comment out wl. 2006-04-26 16:19:52 +00:00
christos 7fad94d825 Coverity CID 1111: Fix cut'n'paste bug! 2006-04-14 17:50:27 +00:00
christos 4be84f7cdb Coverity CID 1112: If we did not get a packet, bail out early. 2006-04-14 17:46:29 +00:00
christos af27d5132b Coverity CID 773: Add a KASSERT to appease coverity. 2006-04-14 17:42:29 +00:00
christos 4b5dc3b5a8 - wrap memspace {}, pointed out by rui.
- comment out the memspace none case, pointed out by rui.
- move declarations to the top to avoid brace mess.
2006-04-08 20:55:22 +00:00
christos c2909c51dd Split the tuple parsing code in its own function for each kind, instead of
having a single parsing function that has more than 1000 lines of code.
2006-04-08 20:01:21 +00:00