Commit Graph

14717 Commits

Author SHA1 Message Date
enami 8489e9c53e Add product id of ServerWorks CSB6 IDE controller. 2003-02-28 22:05:00 +00:00
pk d46f710241 Enable the MII output drivers in hme_mifinit() based on the currently
selected transceiver. Save and restore this setting in hme_mii_readreg()
and hme_mii_writereg().
2003-02-27 14:58:22 +00:00
pk 7f7fb5aa9c Back out rev. 1.26; I forgot about the Javastations.. 2003-02-27 13:33:23 +00:00
pk db07312961 Some machine have a `SUNW,CS4231' node, but no actual hardware. It seems
these can be identified by a `serial' device type.
From Julian Coleman.
2003-02-27 13:30:39 +00:00
martin ae13b3f806 bus_size_t != bus_addr_t, so use bus_size_t where appropriate.
Fixes PR kern/20482 by John Ruschmeyer.
2003-02-27 07:50:57 +00:00
leo 24f5eee0e7 Make this work as fdisa again on the Atari/Milan. 2003-02-26 20:48:48 +00:00
kochi e2b5c0723f Remove unexpectedly imported ACPI CA files and obsolete files 2003-02-26 17:06:40 +00:00
salo 1014d5a4e4 Regen. 2003-02-26 11:51:05 +00:00
salo fc8db570ec Add few more Silicon Motion, Inc. cards (Lynx EM, Lynx 3DM, Lynx 3D, Lynx)
Print various [company], Inc. consistently as (surprise) [company], Inc.
2003-02-26 11:48:58 +00:00
matt 65e5548a17 Add MBUFTRACE kernel option.
Do a little mbuf rework while here.  Change all uses of MGET*(*, M_WAIT, *)
to m_get*(M_WAIT, *).  These are not performance critical and making them
call m_get saves considerable space.  Add m_clget analogue of MCLGET and
make corresponding change for M_WAIT uses.
Modify netinet, gem, fxp, tulip, nfs to support MBUFTRACE.
Begin to change netstat to use sysctl.
2003-02-26 06:31:08 +00:00
briggs 52acc108b6 Play nice with files. Since we are doing an fd_getfile(), make appropriate
use of FILE_USE() and FILE_UNUSE().
2003-02-25 23:29:14 +00:00
thorpej 3ea6b8be93 Add missing splbio() protecting of bufpool access. Add a clarifying
comment to <sys/buf.h> reminding everyone of the need for splbio().
2003-02-25 21:25:40 +00:00
thorpej eb14e86676 Add a new BUF_INIT() macro which initializes b_dep and b_interlock, and
use it.  This fixes a few places where either b_dep or b_interlock were
not properly initialized.
2003-02-25 20:35:31 +00:00
toshii 6cc1deb5ca Add recording support for emuxki(4). The patch is basically the same
as I submitted in PR kern/18093.  Some of the patch needs refinement.
Also, only the ADC recording source is supported, because the other
sources are probably much less useful and the implementation isn't
trivial.
2003-02-25 08:48:24 +00:00
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
kanaoka 34d90725e0 Import INTEL 20030123 release. 2003-02-13 13:51:55 +00:00
kanaoka 86e5527901 Import INTEL 20030123 release. 2003-02-13 13:41:53 +00:00
pk b377c6693a Preserve the current PHY select bit in the MIF configuration register
in mii_readreg()/mii_writereg(). Also restore this bit based on the
currently selected media instance every time we need to reinitialise
the interface.
2003-02-13 12:10:20 +00:00
ichiro b43d919954 add SUNTAC Ir-Trinity IS96U
from FreeBSD
2003-02-12 15:36:20 +00:00
ichiro f6b8f0fcf8 regen 2003-02-12 15:34:53 +00:00
ichiro 33925bb372 add SUNTAC Ir-Trinity IS96U 2003-02-12 15:34:18 +00:00
drochner 05faaa969d stylistic change: put variable declarations to the top of a function 2003-02-11 10:45:28 +00:00
ichiro 7f36ac7104 add SUNTAC U-Cable type D2
from FreeBSD
2003-02-11 00:02:45 +00:00
ichiro 6e231f6386 regen 2003-02-11 00:01:24 +00:00
ichiro d2e9b4b23d add product SUNTAC U-Cable type D2 2003-02-11 00:00:43 +00:00
perry d42c7a04d9 Fix clockctlattach to take an (ignored) int as its parameter, which is
what the rest of the pseudo-device attach infrastructure expects. It
didn't cause any harm that the function signature was wrong because it
ignored what it was passed.
2003-02-10 23:20:15 +00:00
christos 84168d80ce Centralize the interrupt bits for the 3 registers where they are being used. 2003-02-10 21:10:06 +00:00
christos 2411f49e72 make this compile again. 2003-02-10 17:18:33 +00:00
jdolecek cd6f847ec6 undo constification of 'data' for wsdisplay font - unfortunately we need
to be able to adjust the font to display adapter needs very soon (in consinit()),
so it's not possible to do font copy
2003-02-10 14:28:19 +00:00
mjacob 5f882f6f98 Add in h/w VLAN tag support.
Put in code that, if enabled, makes *my* copper Sundance TI cards work-
promiscuous mode is needed for this for now. The default is to have this
off until I or somebody figures out what is broken- I think it's stuff
with the Marvell PHY.
2003-02-10 09:00:38 +00:00
pk c94277bcbc Remove NOTAG quirk for the Seagate ST11200N; the cause of the failure that
prompted this entry was actually a driver bug.
2003-02-10 08:10:51 +00:00
mjacob a417c5b137 Add missing binding of VLAN tag to received packet. 2003-02-09 21:43:43 +00:00
mjacob 84d62d1796 Roll to latest f/w. Supposed to correct some nasty f/w bugs. 2003-02-09 20:39:13 +00:00
jdolecek 2147742d01 wsfont_lock(): if bitorder/byteorder doesn't match, copy the font to new font
also if the font is static (and thus it's 'data' point to const/text location) -
later call to wsfont_rev{bit,byte}() needs to change the font data in-place
print info about the font copy when it's made

problem pointed out by Matthias Drochner
2003-02-09 18:40:31 +00:00
jdolecek 998befbc32 make 'name' and 'data' of struct wsdisplay_font const, mark data arrays
in font sources const
2003-02-09 10:29:35 +00:00
tron 1677386f89 Correct typo in an e-mail address. 2003-02-09 10:06:16 +00:00
jdolecek e3c5d7b092 constify some 2003-02-09 10:04:32 +00:00
itohy d0e6f0f013 - init panpot at reset
- whitespace police
2003-02-09 09:28:21 +00:00
jdolecek 9ea2d6b973 Don't do EISA reset on attach. This made the card reset to use default irq, rather
than to use the one configured by EISA, and perhaps had some other side
effects - according to Pavel Cahyna, NOT doing the reset improved receive
performance significantly.
This also resolves old thread on current-users regarding this EISA card.
2003-02-08 12:06:13 +00:00
ichiro 443e6bd05b regen 2003-02-08 04:21:51 +00:00
ichiro b58be339b3 add product
National Instruments GPIB-USB-A
2003-02-08 04:21:22 +00:00
ichiro 79f2f91bad regen 2003-02-08 04:08:23 +00:00
ichiro d334318f81 add product
Sun Communications Inc. Mobile-adaptor
2003-02-08 04:07:36 +00:00
ichiro 6236662a85 change URL pointers of USB[1,2] specification 2003-02-08 03:32:50 +00:00
augustss 529cc7ff54 Add more PDAs (untested). 2003-02-07 18:12:37 +00:00
augustss 4dee2e92d2 Regen. 2003-02-07 18:08:25 +00:00
augustss a9a792e32c Add HAndspring Treo. 2003-02-07 18:08:06 +00:00
augustss aed26c3d33 Regen. 2003-02-07 18:06:49 +00:00
augustss 05a8763715 Add some Palm and Sony PDAs. 2003-02-07 18:06:23 +00:00
mjacob caffbd9ad1 kern/20231- pass the correct argument (arg_addr) on thru to scsipi_do_ioctl,
not the locally dereferenced fetch.
2003-02-07 17:36:13 +00:00
hannken 9ec14301ad Remove unneeded #include's.
Approved by: Paul Kranenburg <pk@netbsd.org>
2003-02-06 16:20:05 +00:00