Commit Graph

14810 Commits

Author SHA1 Message Date
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
martin
63f12be4f3 Add <sys/lock.h> include for ncr53c9xvar.h. 2003-02-06 15:21:21 +00:00
perry
b46df93398 Document a URL from which you can get the ACPICA programmer reference manual. 2003-02-06 00:27:06 +00:00
pk
23c6c463a9 Remove unused variable. 2003-02-05 22:14:01 +00:00
pk
338f31f581 Make the buffer cache code MP-safe. 2003-02-05 21:38:38 +00:00
perry
a314df3d18 change t_extended to t_extended0 for consistency with KBR_EXTENDED[01]
and t_extended1
Fix comment to note that PAUSE keycodes are being remaped to 7F, not
BREAK, which isn't strictly accurate by the various pieces of official
documentaiton.
2003-02-05 17:36:16 +00:00
briggs
6d78dc7cfc Ensure that MEMORY_RBFLAGS is defined whether or not MEMORY_DISK_DYNAMIC. 2003-02-05 15:20:29 +00:00
nakayama
e3e4805068 Replace machine/rnd.h with more appropriate name to share it
with cycle counter based microtime in kern/kern_microtime.c.
2003-02-05 13:57:50 +00:00
tsutsui
6aea963ed9 It seems the LAN Adapter on dreamcast actually uses slow 150ns SRAM,
so handle it properly by an additional quirk flag in sc_flags.

The problem was reported by Pat Wendorf on port-dreamcast, and
the fix was suggested and confirmed by Christian Groessler.
2003-02-05 12:03:54 +00:00
augustss
16bb013530 Add Palm Zire. From kern/20206, Michael van Elst. 2003-02-05 00:50:14 +00:00
augustss
24f2257398 Regen. 2003-02-05 00:49:05 +00:00
augustss
a7d8c3912e Add Palm Zire. 2003-02-05 00:48:47 +00:00
kleink
62138f6396 unask -> unmask 2003-02-05 00:07:34 +00:00
perry
1f4ad37fe3 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-05 00:02:24 +00:00
martin
688ebd679e Fix swapped malloc parameters - caught by recent malloce(9) changes. 2003-02-04 23:26:36 +00:00
pk
557a5199d2 Make this driver MP-safe by using a single spin lock to guard all its entrances. 2003-02-04 20:05:11 +00:00
augustss
3cb14e4ac0 Regen. 2003-02-04 18:52:16 +00:00
augustss
9d1301b388 Add another ThumbDrive (from FreeBSD). 2003-02-04 18:51:49 +00:00
augustss
267379440e Fix a botched loop copied from the ohci driver (already fixed in ohci.c).
Pointed out by Daniel Ellis <dan@pod51.demon.co.uk>.
2003-02-04 18:41:20 +00:00
wrstuden
28a2da880e Add defines and structure for control mode page. 2003-02-04 18:09:40 +00:00
thorpej
b7f3c62431 Use bus_dmamap_load_mbuf() in fxp_add_rfabuf(). 2003-02-04 17:50:53 +00:00
thorpej
b6fa4ee6ba Use bus_dmamap_load_mbuf() in wm_add_rxbuf(). 2003-02-04 17:40:31 +00:00
matt
7c49a58fcd Fix wrong argument to free due to malloc_type changes. While there,
spot blatant bug by inspection and fix that as well.  (do not compare
scaled value against unscaled value).
2003-02-04 13:20:45 +00:00
matt
e372842a1a deal with malloc_type fallout. 2003-02-04 05:24:51 +00:00
perry
b3c149b15f pro forma -- no actual changes but the source file did change version 2003-02-04 01:43:11 +00:00
perry
dcb5109a39 Add explicit comment handling.
Handle any [A-Z]{3} preceded value, not just "PNP".
2003-02-04 01:42:32 +00:00
perry
d30d72b4a5 Add a comment noting the origin of the list
XXX We need to make it easier to import this list
XXX We also need to find a more comprehensive list
2003-02-04 01:12:06 +00:00
perry
5ac6107478 Correct an obvious syntax error (a comment without a # in front of it) 2003-02-04 00:49:56 +00:00
thorpej
882dec6ba3 Test callout_pending(), not callout_active(), and eliminate now-unnecessary
callout_deactivate() calls.
2003-02-03 23:50:59 +00:00
matt
a53ed95ee8 Allow "the forcing of root on md0a to single user" to be overriden by using
options MEMORY_RBFLAGS=0    (XXX forcing to single user needs to die).
2003-02-03 23:02:42 +00:00
pooka
b0c44d4948 regen 2003-02-03 13:28:54 +00:00
pooka
6330131ed7 add GeForce2 Go 2003-02-03 13:27:57 +00:00
joda
1c2dd5ecde regen 2003-02-03 11:00:53 +00:00
joda
fc8756e1aa correct previous, and add some more devices found in the Shuttle
SS51G.
2003-02-03 11:00:26 +00:00
kleink
7db9fed5ea Fix printf format warnings. 2003-02-03 01:11:54 +00:00
bouyer
5700f75418 Fix DEBUG printf warning. 2003-02-02 20:55:16 +00:00
bouyer
5442e1ce7f Regen: add SiS 651 host bridge. 2003-02-02 18:53:16 +00:00
bouyer
05d0caa632 Add SiS 651 host bridge. 2003-02-02 18:52:40 +00:00
wiz
cd68fb44fb guarantee, not guarentee. Idea from miod@openbsd. 2003-02-02 10:24:38 +00:00
bouyer
6acd95acc8 Add PQUIRK_NOLUNS entry for "NEC ", "CD-ROM DRIVE:502".
Fixes PR kern/18479
2003-02-01 21:38:09 +00:00
tron
f1eeaa9020 Only use MALLOC_DECLARE() in kernel namespace. 2003-02-01 18:34:14 +00:00
matt
17f9067206 Regen. 2003-02-01 16:58:35 +00:00
matt
fad0991b4b Add Tundra (Newbridge) PowerSpan/PowerSpanII/QSpanII PCI bridges 2003-02-01 16:58:01 +00:00
martin
7ab127868a Clenup malloc signature change fallout. 2003-02-01 13:23:28 +00:00
ichiro
913634c3a8 add product IO-DATA CBET100-CL 10/100 Ethernet
(OEM AboCom FE2000VX )
2003-02-01 07:50:38 +00:00
ichiro
7f5a6ef120 regen 2003-02-01 07:50:06 +00:00
ichiro
c349475c5f add product IO-DATA CBET100-CL 10/100 Ethernet
(OEM AboCom FE2000VX )
2003-02-01 07:49:33 +00:00
ichiro
1676e10b16 make compile 2003-02-01 06:50:42 +00:00
thorpej
b193480908 Add extensible malloc types, adapted from FreeBSD. This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.
2003-02-01 06:23:35 +00:00
thomas
59b8b56225 Define Atari wskeyboard type. 2003-01-31 23:28:30 +00:00
tsutsui
ef47e3f676 Changes to allow machines which don't use text mode at the boot time
to use generic VGA driver(s):
- Allow VGA drivers to use wsfont instead of builtin font.
- Add vga_reset() function, which will be called from MD consinit(),
  to put VGA into text mode. This function is enabled by options VGA_RESET.
2003-01-31 21:57:23 +00:00
pk
8f4478d022 lance_init(): explicitly clearing the `initialisation done' bit in the
status register triggers an interrupt which we don't handle.  Since the
driver doesn't depend on this status bit anywhere else, just leave it alone.
2003-01-31 17:40:05 +00:00
thorpej
12eeed2f38 Use aprint_*(). 2003-01-31 05:25:57 +00:00
thorpej
515d52e9e7 Change ext_size to a size_t, and update the signature of ext_free. 2003-01-31 05:00:24 +00:00
thorpej
e354490475 Use aprint_*(). 2003-01-31 02:15:57 +00:00
thorpej
2f060102ae Use aprint_*(). 2003-01-31 01:03:35 +00:00
thorpej
749715f6ee Use aprint_*(). 2003-01-31 00:26:25 +00:00
thorpej
7ec10e2d99 Use aprint_*(). 2003-01-31 00:07:39 +00:00
pk
ac9d761168 The introduction of FAS366 support annihilated the `reselect-while-selecting'
workaround for the ESP100 variant.
2003-01-30 11:03:45 +00:00
thorpej
2051b2d8e7 Don't set LDF_ENABLED unless the device is really okay. Noted by
Andrew Doran.
2003-01-29 16:50:37 +00:00
kanaoka
1cd881c271 Set RTK_ENABLE flag when it attached. This fixed multicast problem.
Found by FUKAUMI Naoki <naoki@fukaumi.org>.
2003-01-29 12:57:36 +00:00
gehenna
fbf74eae32 regen 2003-01-29 03:55:34 +00:00
gehenna
dc1b785a6e NETGEAR FA120 (USB 2.0 Fast Ethernet Adapter) 2003-01-29 03:54:05 +00:00
wiz
9115df8c49 success, not sucess. Noted by mjl. 2003-01-28 22:35:02 +00:00
wiz
7bd6fd354d unknown, not unkown. Noted by mjl. 2003-01-28 22:19:22 +00:00
kleink
8f87fa74eb Fix printf format warnings in previous. 2003-01-28 18:16:18 +00:00
pk
be1188e00d Provide locking required by the interrupt handlers running at IPL_SERIAL. 2003-01-28 12:35:31 +00:00
kent
e45b3e7121 Apply BUS_DMA_NOCACHE for the buffers in the case of 440MX. The
code was provided by DHOYASHIKI Shinichi in kern/19919, and
address kern/19435.
2003-01-28 02:09:34 +00:00
ad
6bae70db81 Also save status info in the user command packet. 2003-01-27 23:31:19 +00:00
bouyer
a1f27a3f79 Bump WDCC_IDENTIFY timeout to 3 seconds, as required by some drives.
Reported by Karl Janmar <karlj@mdstud.chalmers.se> on tech-kern.
2003-01-27 21:27:52 +00:00
thorpej
4155034751 G/C something left over from an earlier version of this code. 2003-01-27 20:18:11 +00:00
jmcneill
182716ac88 Attach to PNP0F03 -- makes the PS/2 mouse on this Dell work. 2003-01-27 19:18:46 +00:00
bouyer
0e0c2ae01d Remove revision in quirk entry for TOSHIBA XM-4101TASUNSLCD. The same drive with a newer revision also fails, so assume all revisions are bad until proven otherwise. Should fix PR kern/19912. 2003-01-27 18:55:24 +00:00
thorpej
3381232270 Experimental support for RAID volumes configured by ATA "RAID" controllers.
Such RAID controllers are actually just IDE controllers with a BIOS that
can create RAID volumes and write the configuration info to config blocks
on the disks.  The BIOS can do I/O to these volumes, and the OS must
understand the config blocks and implement RAID in software in order to be
able to use these volumes.

Only SPAN (simple concatenation) and RAID0 are supported at this time,
and writing back config blocks is also not supported at this time.  Currently,
only the Promise configuration scheme is supported, although supporting
the Highpoint scheme should not be too difficult.

In any case, this is sufficient to use the Promise RAID0 volume (thus
preserving the win2k AS installation) on this new Intel server I have.

Thanks to Soren Schmidt for doing the work in FreeBSD; it made this
task much easier.  The config block parsing code is adapted from his
work.
2003-01-27 18:21:23 +00:00
tsutsui
934e3c5a47 Set a value for MISCOUT register correctly in vga_setup_regs(). 2003-01-27 15:27:44 +00:00
tsutsui
289b9289f3 const'ify. 2003-01-27 15:22:47 +00:00
tsutsui
89b4d6221e - Replace some magic numbers with proper macro.
- Use vga_6845_{read,write}() defined in pcdisplayvar.h and
  remove vga_crtc_{read,write}() macros in vgareg.h.
2003-01-27 15:16:10 +00:00
tsutsui
862013bb51 - Use u_int8_t instead of char for register structure.
- Define MC6845_NREGS like vgareg.h.
2003-01-27 14:53:33 +00:00
tsutsui
a8c7515f5f KNF and space/TAB cleanup. 2003-01-27 14:46:10 +00:00
toshii
1e6d7bcb87 Use PRId64 for daddr_t in a DPRINTF. 2003-01-27 13:06:38 +00:00
bouyer
0cb4c95848 Ops, initialise len before using it.
Also, the minimum frame len is ETHER_MIN_LEN - ETHER_CRC_LEN.
2003-01-27 10:35:08 +00:00
thorpej
8dc5018716 If the upper-layer provides a geometry, use it. 2003-01-27 02:43:30 +00:00
wiz
902dd8b54d Undo last (not supposed to be committed). 2003-01-27 00:32:44 +00:00
wiz
b091df0ed2 regen (CANOSCAN N670U). 2003-01-27 00:31:01 +00:00
wiz
4307232850 Add CANON N670U scanner id. 2003-01-27 00:29:31 +00:00
chris
d577246bde Regen. 2003-01-26 19:35:52 +00:00
chris
339056bf8f Add podule id for NET100 card. 2003-01-26 19:35:04 +00:00
matt
ee04df9a4d Add support for Am79C87[45]. 2003-01-26 06:25:08 +00:00
matt
5ade701481 Regen. 2003-01-26 06:21:03 +00:00
matt
b9f79bf02f Add AMD Am79C87[45] (which use the Altima OUI). 2003-01-26 06:20:30 +00:00
kleink
bbb601497d Fix further printf format warnings for DEBUG, in the wake of daddr_t
having changed.
2003-01-25 23:18:46 +00:00
kleink
4e0e5333ae Fix further printf format warnings for DEBUG, in the wake of daddr_t
having changed.
2003-01-25 23:00:09 +00:00
tron
5067836b9e Use PRId64 instead of hard coding "%lld" to fix build problems under
LP64 ports.
2003-01-25 18:12:31 +00:00
tron
63dda858c6 Fix printf() format strings problems caused by "daddr_t" change. 2003-01-25 12:50:38 +00:00
thorpej
f57bacfc63 Add a couple more Promise ATA133 controllers. 2003-01-25 04:45:24 +00:00
pk
a22484a1ea zs_shutdown: lower IPL before sleeping. Also note the fact that the
effectiveness of that very tsleep() call is dubious at best.
2003-01-24 20:46:45 +00:00
thorpej
ae5c422a40 Regen; Tweak a Promise description. 2003-01-24 17:47:17 +00:00
thorpej
de5fb86d32 Tweak a Promise description. 2003-01-24 17:46:51 +00:00
nakayama
54e4cb1a6c fix kernel build error, such a configs w/o kbd, ms.
(approved by martin)
2003-01-24 16:54:34 +00:00
thorpej
b3ffb6e4ab * Enable Ultra133 on the NVIDIA nForce 2.
* Make sure to test for PCI_VENDOR_AMD before testing for any
  AMD products.
2003-01-24 05:51:04 +00:00
thorpej
fdedc91f87 Regen; add some more Promise products. 2003-01-24 05:34:25 +00:00
thorpej
5a31d135b0 Add some more Promise products. 2003-01-24 05:33:12 +00:00
thorpej
b3b68a3ced Sort the Promise entries. 2003-01-24 05:18:56 +00:00
thorpej
f6cc829138 Add support for the NVIDIA nForce ATA100 and nForce2 ATA133
IDE controllers, which are more-or-less compatible with the
AMD controllers.

XXX Need to determine the correct timing value for the nForce2
XXX at Ultra133, so we cap it at Ultra100, for now.
2003-01-24 04:53:13 +00:00
thorpej
34461a3ff9 Regen; add Nvidia nForce2 ATA133 IDE. 2003-01-24 03:16:08 +00:00
thorpej
8204d0458d Add Nvidia nForce2 ATA133 IDE product ID, and shuffle some
Nvidia entries around a little.
2003-01-24 03:15:04 +00:00
tsarna
68d5821c1b regen 2003-01-24 01:51:09 +00:00
tsarna
1b01d76d23 Add Griffin PowerMate 2003-01-24 01:49:22 +00:00