Commit Graph

14653 Commits

Author SHA1 Message Date
dyoung 595c6d88b2 Add support for Prism monitor mode. From Kevin Lahey
<kml@patheticgeek.net>.

This patch does NOT add monitor mode support for the Lucent radios.

awi(4) was only modified for compatibility with the new mediaopt.
It does NOT support monitor mode.

Tested by Kevin, Daniel Carosone, and I.
2003-02-25 01:57:35 +00:00
dyoung 9b203bb525 Step 0 of adding Prism monitor mode: name the firmware command for
setting up manufacturing test modes. Name the sub-command for
turning on monitor mode.
2003-02-25 00:56:35 +00:00
dyoung eb7810a127 Disable interrupts before ACKing them to avoid the obvious race. 2003-02-25 00:51:14 +00:00
dyoung 0691446706 Following implementation for other RIDs, read the driver's notion
of the fragmentation threshold instead of the hardware's notion.
2003-02-25 00:47:11 +00:00
tron e583f5d9f4 Don't match a PCI graphics card in a system which supports an AGP.
Patch supplied by Quentin Garnier in PR kern/19256.
2003-02-24 21:56:00 +00:00
christos 580397c542 back-out previous; it was wrong. 2003-02-24 20:03:02 +00:00
christos 29cd3b6180 fix memory leaks. 2003-02-24 19:58:09 +00:00
nakayama 3fd1afa7af Add quirk to probe I-O DATA USB-SC2 as umass.
(tested on sparc64 and i386)
2003-02-24 13:11:55 +00:00
nakayama b818704815 Regen. 2003-02-24 13:07:52 +00:00
nakayama 89f39fecfa Add I-O DATA USB2-SC (USB2.0-SCSI Bridge) 2003-02-24 13:06:45 +00:00
yamt bcd7beec98 initialize b_interlock properly.
(for ioctl)
2003-02-23 08:50:58 +00:00
simonb ac161ae918 Remove assigned-to but not used variable. 2003-02-23 04:20:06 +00:00
simonb 9bfb5c46f4 Remove unreachable break after return. 2003-02-23 04:19:26 +00:00
simonb 5eb4a89fef Remove assigned-to but not used variable. 2003-02-23 04:15:02 +00:00
simonb f0192b8a3f Remove assigned-to but not used variable (including nice little switch
statement to set said variable).
2003-02-23 04:14:16 +00:00
simonb e40197c4b3 Remove assigned-to but not used variable. 2003-02-23 04:10:11 +00:00
tsutsui 881b65ce01 Use mstohz() in <sys/param.h> rather than homegrown MS_TO_TICKS(). 2003-02-22 05:24:16 +00:00
tsutsui fa7988ee3e Remove unused MS_TO_TICKS(). 2003-02-22 05:18:50 +00:00
tsutsui 29849ba3b6 hz -> Hz 2003-02-22 05:06:36 +00:00
tsutsui 397cf8a482 {HZ,hz,hZ} -> Hz 2003-02-22 04:58:43 +00:00
tsutsui 60a7e59350 hz -> Hz 2003-02-22 04:57:48 +00:00
tsutsui 0ff49f9f99 hz -> Hz 2003-02-21 17:14:04 +00:00
petrov 1d6ce76050 Use MIIF_FORCEANEG. 2003-02-20 20:09:56 +00:00
hannken b7fea04c8d The SonicVibes DMA is broken and only works on 24-bit addresses. As long
as bus_dmamem_alloc_range() is missing we use the ISA dma tag on i386.

The iorange for the dma registers now gets allocated near the used range.
Chances are high, that this range is valid on this PCI bus.

This one is really ugly :-)

Approved by: Lennart Augustsson <augustss@netbsd.org>
2003-02-20 12:24:05 +00:00
matt 4630a8e7f3 Add a MIIF_FORCEANEG flag to be passed to mii_attach. This forces an
autonegotiation to take place if IFM_AUTO is selected in mii_media_set.
Make the gem driver use it.  (XXX hme probably should use it but I can't
test that).
2003-02-20 00:55:21 +00:00
hannken 8f45c81f55 Add PQUIRK_NO_FLEX_PAGE for Fujitsu MO MCJ3230AP.
This drive returns bogus geometry (0 heads, 0 sectors).
2003-02-19 14:33:15 +00:00
yamt 148af81ca0 initialize a simple_lock in softc. 2003-02-19 11:32:13 +00:00
augustss fe29dd94be Bail out early in isoc_done if the ii is not on the interrupt list. 2003-02-19 01:35:04 +00:00
wiz b3e61b0b56 s/intial/initial/, from jmc in .pl in PR 20414. 2003-02-18 18:47:06 +00:00
tsutsui d9a7d0e611 Also remove (probably) incorrect comment. 2003-02-18 16:42:40 +00:00
tsutsui 4adb30abcd hz -> Hz (from OpenBSD) 2003-02-18 16:37:48 +00:00
tsutsui 636e5d57b4 Remove unusable debug code. 2003-02-18 16:36:58 +00:00
augustss 8b132e9976 Add uax. 2003-02-18 14:20:11 +00:00
grant 72f6291506 add Intel PRO/100M.
from Quentin Garnier in PR kern/20400.
2003-02-18 00:11:53 +00:00
grant 1f01efa58c regen 2003-02-18 00:10:31 +00:00
grant ce4e49f957 add Intel PRO/100M. 2003-02-18 00:09:43 +00:00
tshiozak d62eb597a2 fix a few problems in the last commit:
- make sure that the driver checks the battery presence at acpibat_update()
    if the battery has been not present, because the driver sometimes
    (i.e. boot time or resuming time) miss to sense the presence.
  - make sure that the driver always update the status at acpibat_gtredata();
    I misunderstood about ACPI_NOTIFY_BatteryStatusChanged event.
2003-02-17 14:37:57 +00:00
augustss 47f7f552a2 Don't take xfers off the interrupt list if they are not on it yet. 2003-02-16 23:15:27 +00:00
augustss 50e312d584 Add a reference count to avoid detaching while the attach is still
waiting.
2003-02-16 23:14:06 +00:00
augustss 44563df953 Rework the mixer controls somewhat and give the controls in a FEATURE
unit alias names so normal mixer programs can access them.
2003-02-16 18:16:07 +00:00
augustss 6a5e88a858 Add a comment. 2003-02-16 17:40:05 +00:00
augustss 2eaee0aca2 Split out register definitions.
Clean up PHY init a little.

Use two outstanding read xfers to avoid dropping packets.
2003-02-16 17:18:47 +00:00
tshiozak f27a62da88 - reduce the frequency of updating informations on the power sources;
it is very slow to access to EC on some machines (i.e. CASIO FIVA 2xx).
- clean the flags up.
- add locks while updating informations.
- some cosmetic changes.
2003-02-16 16:50:09 +00:00
augustss 78521590f2 Make it work (albeit slow). 2003-02-16 13:52:37 +00:00
augustss 2fe25d04b8 Check in some work-in-progress (not yet operational). 2003-02-15 18:33:29 +00:00
augustss b3861dad89 Regen. 2003-02-15 18:30:55 +00:00
augustss 2f45046cd8 Add two new devices. 2003-02-15 18:30:28 +00:00
thorpej 22475c164d __'ify MACHINE_ARCH names. 2003-02-14 18:29:05 +00:00
tshiozak e077f7a7d9 - add acpi_acquire_global_lock()/acpi_release_global_lock()/
acpi_is_global_locked() functions.
  AcpiGlobalLock() API should be used to acquire lock between BIOS and OS.
  This API cannot be used to lock between threads of the OS side,
  because this function immediately returns if the lock is already acquired
  by the OS.  c.f. AcpiEvAcquireGlobalLock()@evmisc.c

- make sure that acpiec driver uses above functions.

- use ACPI_ALLOCATE_BUFFER instead of twice calls of AcpiEvaluateObject(),
  in acpi_eval_string()/acpi_eval_struct().
  Twice AcpiEvaluateObject() calls may cause twice side effects
  to ACPI machine / hardware and this may be wrong in some cases.
2003-02-14 11:05:39 +00:00
kanaoka 47b9a825ab Resolve conflict from acpica-unix-20030123. 2003-02-13 14:16:13 +00:00