Commit Graph

11195 Commits

Author SHA1 Message Date
thorpej
0234925705 Add product ID for the Intel IXP1200 Network Processor. 2001-09-04 20:51:44 +00:00
drochner
f2d93c6685 add encoding for ISO-2 2001-09-04 17:57:16 +00:00
drochner
03d3e7a8b4 -update a comment wrt the "active screen" flag
-apply the patch from PR kern/13117 (Onno van der Linden) to make the
 hardware cursor disappear more thoroughly
-deal with PR kern/13573: hardware cursor too big, but differently:
 we have to obey the font size actually used. At this point, fix the
 problem that the cursor got messed up by the initialization of
 unrelated screens.
2001-09-04 17:14:49 +00:00
drochner
f2fabb4c48 simplify the way the "active screen" is kept track of a bit 2001-09-04 17:06:54 +00:00
pooka
ffb40898f7 regen.. again.. *sigh* 2001-09-04 15:37:30 +00:00
pooka
4fb856e4eb add Allegro-1 ID
also from Jared D. McNeill
2001-09-04 15:37:00 +00:00
drochner
6d3056d1a3 -fix a debug message
-unref font(s) if a screen is deleted, so they could be unloaded
 if dev/wsfont supported it
-add missing pieces to support screen types with font sizes != 8x16
 as system console - now
options VGA_CONSOLE_SCREENTYPE="\"80x50\""
options FONT_VT220L8x8
 gives you what you'd expect
2001-09-04 15:32:22 +00:00
pooka
98f97b89ce regen 2001-09-04 15:24:59 +00:00
pooka
c68e12b73b add another device ID for the ESS Maestro3
from Jared D. McNeill
2001-09-04 15:24:35 +00:00
itohy
95411a84f0 Add "opl at cmpci" and "mpu at cmpci" attachment. 2001-09-04 13:37:29 +00:00
itohy
6bdd186c4e - Add opl at cmpci attachment.
- Add mpu at cmpci attachment.
- Fix panic during attach on alpha.
- Change register of SPDIF input phase (but undocumented, either).
- Change code for mixer initialization.
- Return 1, not 0, when an interrupt is processed.

More changes to the mixer are pending....
2001-09-04 13:36:07 +00:00
itohy
5934ac98b2 MPU-401 compatible MIDI UART driver for C-Media CMI8x38 2001-09-04 13:07:59 +00:00
itohy
d655e11596 OPL3 driver for C-Media CMI8x38 2001-09-04 13:07:11 +00:00
thorpej
150e62c0f9 Use bus_space_mmap(). 2001-09-04 06:59:10 +00:00
enami
1b4cef2087 Add prescaler bit constant (missed in previous commit). 2001-09-04 01:33:14 +00:00
is
8d9290c427 Allow 24 and 32bit linear audio.
Actually, the silence filler can do any multiple of 8 bits now, but I didn't
allow the parameter check to accept more than 32 bit to avoid confusion
of drivers that fail to check the parameters themselves thoroughly.
This should be changed later.
2001-09-03 18:51:43 +00:00
sommerfeld
3b5dda2596 Don't spinlockinit a simple_lock; simple_lock_init it instead. 2001-09-03 18:13:13 +00:00
drochner
09accd52c0 manage fonts through the wsfont framework, which allows to use both
compiled-in or runtime loaded fonts,
keep font pointers in a LRU queue and load into the adapter on demand,
 so we can have more fonts in use than physical font slots

CAUTION: font loading through the wsdisplay device directly into the
adapter doesn't work anymore!
2001-09-03 17:34:07 +00:00
thorpej
f7a403a447 Define more caching parameters from SCSI-3. 2001-09-03 17:14:49 +00:00
drochner
cb896c703c implement a pseudo-device wsfont for access to the wsfont machinery 2001-09-03 17:05:20 +00:00
drochner
056402167e make dynamic font addition usable,
export font matching function for common use
2001-09-03 17:04:11 +00:00
reinoud
e8858886be Fixed compiling error when AUDIO_DEBUG was switched on ... 2001-09-03 15:07:37 +00:00
reinoud
cd44f820c2 Make it compile again when AUDIO_DEBUG is turned on ... in sequencesread
and sequencerwrite were two debug messages that had a type conflict in the
printf. I put in a (int) to solve it.
2001-09-03 14:52:29 +00:00
thorpej
a73a7f44bd Bump MAX_CONF_DEV to 32, add some missing newlines in error
messages, and add a TODO item (allocate all metadata dynamically).
2001-09-03 03:46:26 +00:00
thorpej
3ac8a43f8b Comment what the PF bit means in the MODE SELECT command, and
define a scsipi_mode_page_header, which has the common fields
(page code and page length) of all mode pages.
2001-09-02 22:06:16 +00:00
thorpej
dda09e1b39 Add the Force Unit Access and Disable Page Out bits to the
READ(10) and WRITE(10) commands.
2001-09-02 20:17:04 +00:00
thorpej
e6bfee4968 Use the AUDIO_PAGE definition common to SCSI and ATAPI. 2001-09-02 19:53:40 +00:00
thorpej
ac7519b12e Centralize the definition of the page code mask and page-savable bit
in the pages returned by MODE SENSE.
2001-09-02 19:35:20 +00:00
thorpej
d737e7fda8 Oops, name the caching parameters page structure member. 2001-09-02 16:47:45 +00:00
enami
26ea33d355 Fix an obvious typo found while reading the source. 2001-09-02 13:17:54 +00:00
tsutsui
354cce66e5 Use be16toh(), be32toh(), le16toh() and le32toh() rather than
ntohs(), ntohl() or homegrown bswap() functions.

XXX Does anyone use drives with PQUIRK_LITTLETOC on big endian machines?
2001-09-02 13:11:53 +00:00
tsutsui
a234112f80 Make 3C509[B] in ISA mode probed correctly on big endian machines. 2001-09-02 06:46:57 +00:00
thorpej
1cbbd5c37c Disable all of the RF_ASSERT()s by default, enabling them if the
RAID_DIAGNOSTIC option is specified in the kernel configuration
file.
2001-09-01 23:50:43 +00:00
mjacob
6bb9f4a949 Add support for 2 Gigabit cards (2300/2312). This necessitated a change
in how interrupts are down- the 23XX has not only a different place to check
for an interrupt, but unlike all other QLogic cards, you have to read the
status as a 32 bit word- not 16 bit words. Rather than have device specific
functions as called from the core module (in isp_intr), it makes more sense
to have the platform/bus modules do the gruntwork of splitting out the
isr, semaphore register and the first outgoing mailbox register (if needed)
*prior* to calling isp_intr (if calling isp_intr is necessary at all).
2001-09-01 07:12:23 +00:00
thorpej
2cf7638731 Add the caching parameters mode page. 2001-09-01 02:39:21 +00:00
mjacob
18e1071fce Add table value for Ultra3, so configuring an Ultra3 disk shows:
sd1: sync (12.5ns offset 14), 16-bit (160.000MB/s) transfers, tagged queueing enabled

instead of:

sd1: sync (36.0ns offset 14), 16-bit (55.554MB/s) transfers, tagged queueing enabled
2001-09-01 00:54:38 +00:00
mjacob
4986b9ee8b Ulp! Open Wide! Another Firmware Enchilada!
2-Gigabit card firmware.
2001-08-31 22:28:37 +00:00
augustss
60ffafe273 Add a new quirk, PQUIRK_NOBIGMODESENSE, for devices that need big
SCSI ops, but still fails on big mode sense.
Makes M-Sys DiskOnKey work.
2001-08-31 07:09:41 +00:00
augustss
033a7fa40d Some quirks for USB M-Sys DiskOnKey. Still not enough to make it work. 2001-08-31 06:54:42 +00:00
briggs
e6ca9b3514 Fix use of uninitialized variable. Missed by gcc, spotted by enami. 2001-08-31 01:00:16 +00:00
soren
9b39be0b69 Regen. 2001-08-30 16:22:48 +00:00
soren
6863a605e0 Add some more Hifn chips. 2001-08-30 16:21:42 +00:00
haya
2228225e5c Add some register definitions for TI PCI12XX and Toshiba ToPIC.
Add ToPIC97 and ToPIC100 chip initialisation routine.
Add more TI PCI12XX chip initialisation.
2001-08-30 09:20:17 +00:00
briggs
6017201500 Rename PCI_MAPREG_TYPE_ROM to PCI_MAPREG_ROM_ENABLE to keep up with pciconf.? 2001-08-30 02:53:56 +00:00
briggs
e4f8f2f2da Respect __PCI_BUS_DEVORDER.
If all devices can handle 66MHz, then use 66MHz.
Triple the number of configured I/O ranges that we can handle on a bus
  (8 was insufficient--originally didn't consider multifunction devices)
Allow one to specify which types of memory to configure, I/O, ROM, or
  MEM--for example, one could configure only ROM or only non-ROM.
Ensure that the ROM is disabled if we're not configuring it.
Only set PCI_COMMAND_IO_ENABLE/PCI_COMMAND_MEM_ENABLE if there are valid
  memory ranges configured.
2001-08-30 02:52:41 +00:00
briggs
665cc59e75 Ensure that data accessed by the ADW driver in memory is in
little-endian byte-order.  This should work out to be a no-op
for LE systems, and allows BE systems to use the board.

Tested on PPC, reviewed by Dante.

NOTE: The board/microcode does have a BIG_ENDIAN mode of operation,
but it's not well-documented.  That might be interesting to investigate
at some point in the future, though.
2001-08-29 17:25:03 +00:00
tsubai
de0feee64b Regen. 2001-08-28 23:54:14 +00:00
tsubai
7cba152e7c Add more Apple devices. 2001-08-28 23:53:14 +00:00
thorpej
14f612c5b3 - Swap the bytes OR'd into init_ladrf[], for big-endian machines.
- Make sure to sync the init block.

Pointed out by Izumi Tsutsui.
2001-08-28 15:22:30 +00:00
thorpej
2e4bdfe678 Add a TODO item: Do this in 2 passes. One pass that configures the
bus (and optionally maps expansion ROMs), and an optional second
pass to disable expansion ROMs that are mapped.  This would allow
MD code to possibly execute the expansion ROMs (possibly in an x86
emulator) to configure a device (e.g. a VGA card, which pretty much
needs to be configured by its ROM).
2001-08-28 15:13:48 +00:00
thorpej
cdf824bfb6 If MD code doesn't provide pci_conf_hook(), then default to not mapping
the expansion ROMs on cards, since address decoders may be shared between
the ROM and PCI memory space on some cards (i.e. "only map the ROM if you're
going to use it, and then unmap it when you're done" is the intended
usage).
2001-08-28 15:09:10 +00:00
thorpej
fdb02063d2 Print "auto-FDX" for the second "autoselect" instance. Pointed out
by Izumi Tsutsui.
2001-08-28 14:15:18 +00:00
eeh
8949c133a4 Get rid of debug printf. 2001-08-27 22:38:34 +00:00
augustss
8afb9f3591 Use #include <machine/intr.h> instead of #include <machine/cpu.h> to
improve portability.
2001-08-27 22:37:33 +00:00
augustss
7b55182d7d Remove an unneeded #include. This makes the file compilable on more
platforms.
2001-08-27 22:18:49 +00:00
augustss
3346d43a5b Make it compile. 2001-08-27 22:17:29 +00:00
thorpej
1930fec887 New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.
2001-08-27 19:42:18 +00:00
eeh
b22154dd79 Make the LMC driver bus_dma and endian clean (big-endian mode does not appear
to work on LMC cards).
2001-08-27 17:47:35 +00:00
enami
97e7cd9cf9 For hayes esp card, set prescaler if specified rate is grater than 115200. 2001-08-27 14:27:01 +00:00
enami
4f924773b7 Regen. 2001-08-27 14:10:20 +00:00
enami
02d004f2c8 Sort Intel products by id and kill duplicated entries. 2001-08-27 14:04:47 +00:00
ad
13bc6b2e19 Use PWAIT for the lock, not 0. 2001-08-27 11:24:38 +00:00
ad
ffb2d70070 Regen. 2001-08-27 08:03:37 +00:00
ad
8fb0b8c6dc Add a DPT PCI-PCI bridge. 2001-08-27 08:02:52 +00:00
simonb
cddf6cf55b Switch to MI SCSI and drop old pmax MD SCSI support completely. 2001-08-26 11:47:18 +00:00
matt
5911b9a67f Make compile with -Wmissing-prototype -Wstrict-prototypes 2001-08-26 02:49:18 +00:00
matt
3ec769dff6 Make this compile with -Wmissing-prototypes by adding appropriate
cdev_decl, bdev_decl, cons_decl
2001-08-25 19:05:04 +00:00
thorpej
89893e42b7 ANSI'ify. 2001-08-25 18:04:01 +00:00
thorpej
11be81ff63 Regen. 2001-08-25 06:00:01 +00:00
thorpej
c783391d0a Note compatibility with the Am79c874, and document some more
registers.
2001-08-25 05:57:12 +00:00
thorpej
9d50e2e95a Back out previous; closer inspection of the manual reveals that the
Am79c874 has the same ID register contents as the AC101.
2001-08-25 05:55:19 +00:00
thorpej
820809faec Regen; added AMD Am79c874 NetPHY-1LP. 2001-08-25 05:45:25 +00:00
thorpej
05e4fb8e6c Add AMD Am79c874 NetPHY-1LP. 2001-08-25 05:44:59 +00:00
thorpej
85a7cdc261 Driver for the 10BASE-T portion of the AMD 79c901 PHY. 2001-08-25 04:06:26 +00:00
thorpej
158cb83996 Add a driver for generic HomePNA PHYs. Currently supports the HomePNA
portion of the AMD Am79c901.
2001-08-25 03:21:38 +00:00
thorpej
9fe2378664 For HomePNA PHYs, don't register it w/ ifmedia as 10BASE-T, but
rather as HomePNA1.
2001-08-25 01:57:56 +00:00
thorpej
f7f8866fea Add a flag that indicates that a device is a HomePNA device. 2001-08-25 01:41:17 +00:00
thorpej
684a4b71e3 Regen; improve AMD PHY names. 2001-08-25 01:39:59 +00:00
thorpej
9d04a424fe Improve the AMD PHY names. 2001-08-25 01:39:22 +00:00
thorpej
b6aa674493 Driver for the Altima AC101 10/100 Ethernet PHY. 2001-08-24 17:54:32 +00:00
haya
45e61b5399 Buf fix: use PWAIT priority and do not set PCATCH. 2001-08-24 10:55:53 +00:00
wiz
251b3464be heirarchy -> hierarchy 2001-08-24 10:24:45 +00:00
thorpej
6621bd5a97 More useful definitions for CSR80. 2001-08-24 05:04:40 +00:00
thorpej
0f89153491 Oops, TMD/RMD byte count masks were one bit shy (and it makes a big
difference when the value in the field is actually the two's complement
of the buffer length).
2001-08-24 00:16:25 +00:00
tsutsui
b6e4b26d3b Check 80 pins cable in acard_setup_channel() for Acard ATP860. 2001-08-23 10:02:25 +00:00
thorpej
ce0d046061 Regen; recognize the 79c972's 10BASE-T interface mapped onto MII. 2001-08-23 04:47:36 +00:00
thorpej
b52818d607 The Am79c972 PCnet-FAST+ has its built-in 10BASE-T interface mapped
onto the MII bus.  Recognize it.
2001-08-23 04:47:05 +00:00
thorpej
29bfa727c1 Regen; take part numbers out of PCnet-PCI product descriptions. 2001-08-23 03:42:26 +00:00
thorpej
16efbbf387 Take part numbers out of the PCnet-PCI product descriptions. 2001-08-23 03:41:36 +00:00
thorpej
2c469bbf82 Regen; Add Promise ATA/100 TX2. 2001-08-23 03:32:24 +00:00
thorpej
915a8ef871 Add Promise ATA/100 TX2 device ID. 2001-08-23 03:31:55 +00:00
simonb
dc0e4c0679 Cosmetic cleanups:
- cominit() is local to com.c, remove prototype from comvar.h.
  - Don't prototype comstop(), cdev_decl(com) does this.
  - Don't use a block device switch table declaration(!).
  - No need to include "com.h".
2001-08-22 12:44:10 +00:00
ad
a0fdfb54e0 Implement/fix FDDI, receive checksums, media selection and a ton of other
stuff.
2001-08-22 09:43:15 +00:00
ad
1d6329bb04 Parameter group changes:
- Do FIELD_SET correctly for scalar types.
- Add some basic table ops.
- Push error reporting back into iop.c.
- Add some field index and (yet more) LAN defs to i2o.h.
2001-08-22 09:42:05 +00:00
nisimura
bd799bf74f Use ri->ri_hw field for TC module base address. 2001-08-22 05:15:58 +00:00
nisimura
1df3ced126 Move small storage for ev_name string into tcds_softc. 2001-08-22 05:00:27 +00:00
nisimura
b7f1b6d54b Nuke fb_devconfig data structure which was found unnecessary to have. 2001-08-22 02:24:29 +00:00
thorpej
10591340be Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.
2001-08-22 00:36:57 +00:00
thorpej
d987b42429 More PCnet-PCI/ILACC bits. 2001-08-21 16:39:06 +00:00
thorpej
8b72cec4d8 Add some more PCnet-PCI registers. 2001-08-21 16:37:38 +00:00
pooka
429d846242 regen: psion gold card 2001-08-21 16:13:14 +00:00
pooka
e62b69f246 add vendor Psion and product Psion Gold Card 2001-08-21 16:13:03 +00:00
bjh21
a180b9a8f4 Add fiq. 2001-08-20 23:15:40 +00:00
thorpej
04a394787e Oops, the "auto" capability was getting masked off by mistake.
Fixes a panic reported by Chuck Silvers.
2001-08-20 20:22:53 +00:00
fvdl
b9f24a3dd1 Regen. 2001-08-20 19:29:59 +00:00
fvdl
69906a3032 Add some entries for the AMD 76x chipset for completeness. 2001-08-20 19:29:08 +00:00
ad
dacf7e8e3d Don't special case the retry for Media Changed... More later. 2001-08-20 15:45:10 +00:00
wiz
c52d355d71 "wierd" is weird. 2001-08-20 12:20:01 +00:00
wiz
1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
wiz
f33f8d5e61 Succeed has two 'c's. 2001-08-20 11:57:34 +00:00
wiz
0f95e3da3c precede, not preceed, and a whitespace fix. 2001-08-20 11:57:02 +00:00
ad
13499203a2 Two changes submitted by Sergey Svishchev <svs@ropnet.ru>:
- Don't send START UNIT upon open if the drive is playing audio (PR 11768).
- If we receive sense indicating that the media changed, retry (PR 8326).
2001-08-20 11:31:10 +00:00
ad
ab54b70cae Cosmetic change. 2001-08-20 11:20:51 +00:00
nisimura
a6f7e30eec Nuke fb_devconfig data structure which was found unnecessary to have.
224 byte saving in text+bss, and runtime.
2001-08-20 08:34:39 +00:00
ad
52449ef3bf Medium Not Present has number of defined ASCQs. Pointed out by Sergey
Svishchev <svs@ropnet.ru> in PR 8326.
2001-08-20 07:47:01 +00:00
ad
d861b4992a Add descriptions for Medium Not Present ASCQs. 2001-08-20 07:41:14 +00:00
gehenna
0999a72932 The latest EHCI spec is 0.96 2001-08-20 07:16:35 +00:00
gehenna
fb5869c240 Regen 2001-08-20 03:48:29 +00:00
gehenna
f0dd0ada57 Add NEC USB2.0 Host Controller 2001-08-20 03:45:55 +00:00
itojun
ffc3e18ad0 typo 2001-08-20 02:07:27 +00:00
yamt
75ed9ccf7f fix scsipi_target_detach with wildcard target. 2001-08-19 14:05:13 +00:00
thorpej
173f6058ab Add Chip ID register values for various AMD PCnet parts. 2001-08-18 21:16:34 +00:00
kanaoka
13f671edcf Improve intr_ack code to support for 3c556,3c556B.
Some cards don't have an interrupt acknowledge
  register in PCI config space, so we map and write
  it, such as CardBus driver does.
2001-08-18 05:49:28 +00:00
thorpej
2d4c311492 Regen; added Avance Logic ALS4000. 2001-08-18 05:00:51 +00:00
thorpej
563f369b78 Add Avance Logic ALS4000 Audio. 2001-08-18 05:00:21 +00:00
chs
92140aa25f make this compile. 2001-08-18 00:41:38 +00:00
matt
864924f7f3 regen. 2001-08-17 23:14:40 +00:00
matt
211070f3bd Add Apple Uni-N (as used in QuickSilver) product IDs. 2001-08-17 23:14:00 +00:00
fredette
1094f3c8dc When asked to set the transfer mode, just call back
immediately, because we don't support that.
2001-08-17 00:24:09 +00:00
augustss
a8415c10db Clear busy flag on write error. From PR 13731, IWAMOTO Toshihiro. 2001-08-16 22:31:24 +00:00
ragge
adc0050e52 Trying to get these files out of Attic. 2001-08-16 14:56:30 +00:00
ragge
988a8d9aa1 Trying to get files out of Attic. 2001-08-16 14:55:32 +00:00
wiz
5b9ecbe2eb Fix indentation in switch statement, per kern/13725 by seebs. 2001-08-16 13:37:32 +00:00
eeh
0cbe02398a Add support for smaller sector sizes so we can mount ffs filesystems. 2001-08-15 22:21:01 +00:00
uch
edcb9ebf0f fix hf_order_flags. 2001-08-15 15:16:53 +00:00
augustss
64e123faaf If there was a vendor+product locator match return a higher match value.
Rationale, if you have a device (e.g., a mouse) with a more specific
driver but want to recognize it with the more generic driver you can
do that by supplying vendor and product locators for the generic one.
2001-08-15 00:06:49 +00:00
augustss
dfe96bae01 Add a little infrastructure so that individual drivers can easily check
if thee was a vendor+product locator match.
2001-08-15 00:04:59 +00:00
mrg
4f3eac8332 mtod() with uintptr_t, not bus_addr_t. 2001-08-14 11:57:26 +00:00
mrg
c9fa7a702a add (u_long) casts for sparc64. 2001-08-14 11:55:38 +00:00
cjs
0079971ec4 Back out previous change; I've lost my card and can't test it. 2001-08-14 01:09:33 +00:00
wiz
a8a789da28 Space nit. kern/13712 by seebs. 2001-08-13 22:52:26 +00:00
cjs
6c1314f4b8 Add Transmeta and products, and an ALI integrated sound/modem device. 2001-08-13 08:51:38 +00:00
cjs
a95288891b Change the '@(#)' strings in front of the copyright/version messages to '@( )'
so as not to clutter the output of the what(1) command when run on a kernel.
2001-08-13 03:07:23 +00:00
bjh21
976681bfed Adjust #ifdefs so RASOPS_SMALL doesn't give "defined but not used" warnings. 2001-08-10 19:12:35 +00:00
thorpej
04ad3b5316 There is no need to use M_EOR here. 2001-08-09 11:54:32 +00:00
bouyer
efdadcb7dc Properly set/clear IFF_OACTIVE. 2001-08-07 16:53:06 +00:00
christos
92bef1e82b regen 2001-08-07 13:57:41 +00:00
christos
6c97413c48 Add zonet zen (Henrik Berglund) 2001-08-07 13:57:24 +00:00
kanaoka
59942d00fd Fix typo in a message. 2001-08-07 02:59:53 +00:00
soren
3c508a8790 Add support for the PCI-400 card and correct the clock rate for all the
VScom/Titan cards.
2001-08-06 22:25:36 +00:00
bouyer
5243b06e38 Improvement: allocate one page of dmamem for Rx, Tx and nullbuff instead of
3 different ones.
Also pass the rigth seg/nseg to bus_dmamem_free().
Correct types in debug printf's
2001-08-06 19:20:26 +00:00
augustss
be12c4395c Don't write back status bits that are cleared when written. 2001-08-06 15:15:08 +00:00
ad
c1856b0940 Add more LAN defs. 2001-08-06 13:33:49 +00:00
ad
5b470dcd5f Add iopl. 2001-08-06 13:25:10 +00:00
ad
8cd802fef0 Thinko. 2001-08-06 12:17:09 +00:00
ad
c7b78dd4ee Add iopl. 2001-08-06 12:13:49 +00:00
ad
6e8802596a Rough I2O LAN interface driver. Needs a bit of work. 2001-08-06 12:12:36 +00:00
enami
4977f2fb2d Advertize pause capability (802.3x flow control) to peer. 2001-08-06 09:51:40 +00:00
thorpej
de108bd82d Add enable/disable hooks on devices that have ACPI power management
capability, using D3 and D0 power states.  This saves me quite a bit
of battery when not using the built-in Ethernet on my IBM T-20 during
long IETF meetings.
2001-08-05 23:39:59 +00:00
jdolecek
74954dadf9 use unsigned variable types as appropriate 2001-08-05 18:07:51 +00:00
jdolecek
57a49a2de0 introduce hard limit on maximum font size (WSDISPLAY_MAXFONTSZ - 512KB)
and keymap size (WSKBDIO_MAXMAPLEN - 64KB)
2001-08-05 11:26:52 +00:00
jdolecek
539f3bcc23 change ccio_ndisks and sc_nccdisks of struct ccd_ioctl from int to u_int
introduce hard limit on number of disks which can be contcatenated togetger,
CCD_MAXNDISKS
2001-08-05 11:20:13 +00:00
jdolecek
7810c0591b Allow max. MAXPHYS sized mu_datasize for user command.
Reviewed by Andrew Doran <ad@NetBSD.org>.
2001-08-05 11:11:33 +00:00
jdolecek
ceb38aa743 remove unnecessary casts, make variable types consistent with the
respective wsdisplay_cmap member
no functional change, stylistic only
2001-08-05 11:09:51 +00:00
jdolecek
fcc522e5ce It seems the fixed rate versions are actually fixed at 48 kHz, not 44.1 kHz. 2001-08-04 22:15:56 +00:00
ad
87f451b1a0 This isn't relevant any more. 2001-08-04 16:55:07 +00:00
ad
03e46dc80b Some changes from OpenBSD, and some of my own:
- More SCSI port defs.
- Nuke vtophys().
- Release resources in iop_init() upon failure.
- Don't use a message wrapper when initalising the outbound FIFO.
- A couple of field size/endian fixes.
- Just use iop_post() when we don't need special handling.
- IM_DISCARD is now pointless, since we don't queue at the driver level.
- Map data transfers from/to userspace directly.
- A few comment and stylistic changes.
2001-08-04 16:54:18 +00:00
enami
97ceb61316 MII access routines for ASIX AX88190. 2001-08-04 11:38:57 +00:00
bouyer
10a5470050 Ops, forgot to commit this one:
- kill carrier detection code, it's not that usefull and give false indications
  on loaded ethernet segments
2001-08-04 02:21:24 +00:00
bouyer
7c292e3d22 - kill the carrier detect code. It's not usefull any more and can give
false informations on a loaded ethernet segement.
- convert to bus_dma(9) (better late than never :)
- add proper le32toh/htole32 so that it works on big-endian system (tested
  on macppc).
Close PR kern/10327.
2001-08-03 16:53:08 +00:00
ad
e7021f649d Remove unnecessary test. 2001-08-03 14:10:16 +00:00
augustss
cf037802c2 Add an I/O Data adapter. 2001-08-03 11:17:17 +00:00
augustss
c7aac1f4ef Regen. 2001-08-03 11:16:50 +00:00
augustss
5c01e15b22 Ad an I/O Data Ethernet adapter. 2001-08-03 11:16:24 +00:00
tsutsui
38016b0ba8 Fix some typos in newer ALi M5229 support. Approved by bouyer. 2001-08-03 01:31:08 +00:00
toshii
f2c68887e0 Check if sc->sc_dc is NULL, so that non-console hpcfb can attach without
a panic.
2001-08-02 14:40:04 +00:00
sato
5215d66720 add MC-R700 battery parameters. 2001-08-02 11:21:27 +00:00
sato
2746e887bc turn pwctl_debug to 0 2001-08-02 09:47:18 +00:00
ad
aaf3c7c88b Hook in the mly control interface on i386. 2001-08-01 20:54:16 +00:00
tsutsui
2c44aa6dfd Remove unused pciide_print() declaration. From OpenBSD. 2001-08-01 16:29:21 +00:00
dante
26c61e2dd0 change\n\tswitch (scsiq->host_status)\nto\n\tswitch (scsiq->scsi_status)\nin adw_isr_callback() 2001-07-31 23:12:01 +00:00
matt
f8e21592da regen 2001-07-31 22:30:07 +00:00
matt
b2c29c20ae Add pci ids for the Intel 80312 I/O companion chip for the
Intel 80200 XScale processor.
2001-07-31 22:27:25 +00:00
christos
e01e4819af regen. 2001-07-31 17:01:34 +00:00
christos
4d31855a1c recognize dlink-660+, from jandberg@netbsd.org (Jukka Andberg) 2001-07-31 17:01:15 +00:00
jdolecek
5664c34574 all outstanding MCA bugs fixed, woo-hoo :) 2001-07-31 13:16:25 +00:00
jdolecek
2b7d2123cd Make console polling (cnpollc/cngetc) work on IBM PS/2 keyboard controller
using level triggered interrupts, which livelocks calling intr routine
if the data register is not read in the interrupt routine, as it's case
when polling after interrupts are enabled during boot.

Block all interrupts when polling for keypress, and modify intr routine
to read and store value from data register. The latter one is to avoid
losing a keypress when one would manage to press a key when kernel is
not in spl-guarded code section.

Tested with classic pccons, 'pcconskbd at pckbc' and 'pckbd at pckbc'
configurations, on i386.
2001-07-31 13:15:28 +00:00
ichiro
6a036b85d9 correct interrupt pipe of USB-RSAQ1.
sc_intr_iface was defined newly,
and interface of interrupt was kept in sc_intr_iface.
2001-07-31 12:33:11 +00:00
sato
52d89f6cf1 Abort redrawing when screen switch was requested.
Set virtual text vram when other one is drawing framebuffer.
2001-07-31 10:50:06 +00:00
sato
387ddeb6f1 change DPRINTF() to VPRINTF() in pwctl_hardpower(). 2001-07-31 10:37:49 +00:00
ad
aae284be36 Oops, put back the initalization of "done" in mly_thread(). 2001-07-31 02:07:14 +00:00
ad
5226d11119 Assume that me->lun contains the device number if this event is for a
logical device.
2001-07-30 23:49:51 +00:00
ad
2fa020ae0b - Forget to report events from logical devices.
- Cosmetic changes.
2001-07-30 23:46:28 +00:00
ad
12c4049d31 Don't match boards with a PCI class code of `I2O'. 2001-07-30 23:29:08 +00:00
thorpej
8fc6974449 Oops, make Rx interrupt deferral actually work. 2001-07-30 20:12:10 +00:00
ad
87da05b00f Note mly(4). 2001-07-30 20:02:58 +00:00
ad
3b1828355b Add a driver for Mylex AcceleRAID and eXtremeRAID controllers with v6
firmware. Based off the FreeBSD driver, and re-worked by tls, erh and I.
2001-07-30 19:59:04 +00:00
tsutsui
99297e58cb We no longer have MI ncr(4) driver. 2001-07-28 12:42:34 +00:00
tsutsui
690c5b1ae3 Enable the Acard UIDE controllers by default.
My WDC MDMA-only (non-UDMA) drives did not work on the Acard controllers,
but it turns out that the problem was not Acard specific.
These WDC drives do not work on the ESS ISAPnP wdc port nor on
macppc obio wdc port neither, and another Quantum MDMA-only drive
works fine on the Acard.

These WDC drives work fine on my i386 pciide (which is initialized
by the BIOS), so maybe we have to do something in MI wdc to initialize
such drives properly...
2001-07-28 12:07:11 +00:00
pooka
4ec277f9ee regen 2001-07-28 00:33:43 +00:00
pooka
70cd305a5d 3c556 V.90 MiniPCI modem 2001-07-28 00:33:01 +00:00
thorpej
fab087b3a2 Tell the MII layer to advertise PAUSE capability, and configure
the chip's PAUSE threshold.
2001-07-27 22:46:20 +00:00
thorpej
7459c35d44 Clean up 1000BASE-SX autonegotiation, and add a way to advertise
PAUSE capability.
2001-07-27 22:44:59 +00:00
thorpej
4333749c7a Use the bit-swapped OUI for the 5221. (Have I mentioned that I really
don't like how the current MII_OUI() works?)
2001-07-27 17:58:20 +00:00
thorpej
773c261d65 Add a 3Com 3c905B internal PHY. 2001-07-27 17:55:34 +00:00
thorpej
3d3c5fa78c Regen; added a 3Com 3c905B internal PHY made by Broadcom. 2001-07-27 17:55:07 +00:00
thorpej
4063cb411b Fixup some Broadcom entries, add an entry for Broadcom PHY that
is built-in to some 3Com 3c905B cards.
2001-07-27 17:54:40 +00:00
tsutsui
1f1c7b96d8 Fix some comments and remove an unused define. Partially from OpenBSD. 2001-07-27 16:16:34 +00:00
tsutsui
aa9c31f0c3 Pull up some changes from OpenBSD's iha.c rev 1.6:
- rename tul_* functions/variables iha_* for consistency
 - disable updating EEPROM routine, which does not work anyway
 - make iha_rate_tbl[] const
2001-07-27 15:51:14 +00:00
tsutsui
5a7161cf2a Pull up some changes from OpenBSD's iha.c rev 1.5:
- minor code cleanups
 - rename some functions for better consistensy/clarity
 - consolidate extended message generation into new function
 - a couple of minor code clarifications to eliminate extra return
   statements and make absolutely sure actscb is NULL during a reselect
2001-07-27 15:10:56 +00:00
oster
99020323e6 Nuke the 5 NULL parameters from rf_DoAccess(). Observe that 4 of
the variables are passed directly to rf_AllocRaidAccDesc(), and the 5th
isn't even used.  Hunt them down and nuke them too.
2001-07-27 03:30:07 +00:00
thorpej
fe97433fcd All CORKSCREWs have MII. 2001-07-27 02:33:34 +00:00
thorpej
f532a911f0 Chipset is CORKSCREW for the 3c515. 2001-07-27 02:13:26 +00:00
thorpej
f9616582f4 Regen -- added 3c515 for the ep driver. 2001-07-27 02:12:57 +00:00
thorpej
d3ee9bd16e Add the 3c515 for the "ep" driver. 2001-07-27 02:12:19 +00:00
wiz
e11d04474c issueing -> issuing 2001-07-26 22:55:12 +00:00
wiz
7b3241693f aquired -> acquired, issueing -> issuing 2001-07-26 22:54:34 +00:00
bouyer
8e2205572d Better support for newer ALI M5229 chipsets: support Ultra/66 for rev >= 0xC2,
Ultra/100 for revs >= 0xC4.
The the generic PCIIDE interupt routine for chipsets rev >= 0xC2 in native
mode, it seems that newer chipsets don't have the ACER_CHIDS register :(
From Linux and FreeBSD.
2001-07-26 20:02:21 +00:00
jdolecek
528ab39cef make local variable 'len' in wi_set_nwkey() size_t (hence unsigned)
this one is merely cosmetic, no functional change
2001-07-26 19:46:01 +00:00
jdolecek
b834e97632 make local variable 'len' in awi_wep_setnkey() size_t (hence unsigned)
this one is merely cosmetic, no functional change
2001-07-26 19:40:59 +00:00
tsutsui
5309850228 Fix timeout overflow caused by "scsictl format" on machines HZ==100. 2001-07-26 15:51:04 +00:00
ad
4950b7867f Map both memory and IO space, but prefer using memory space. 2001-07-26 15:35:20 +00:00
ad
3b6c996d19 - Stop the system drive status check when re-configuring in order to
avoid a issuing a possibly spurious warning.
- Squash some nits.
2001-07-26 12:38:03 +00:00
ad
7a92f3b65a Don't map I/O space if we have already have a good memory mapping. 2001-07-26 12:36:16 +00:00
thorpej
4a416b823f Fix 1000BASE-X duplex negotiation. That'll teach me to read the
manual more carefully next time.
2001-07-25 22:00:43 +00:00
thorpej
799abef5f4 Jumbo frames do not currently work (chip goes catatonic -- silicon bug?),
so don't set the capability.
2001-07-25 15:44:48 +00:00
kanaoka
be5153a923 - Increase Early TX threshold if underrun occurred. 2001-07-25 09:57:31 +00:00
thorpej
1dfe605642 Match the Antares Gigabit Ethernet. 2001-07-25 01:48:14 +00:00
thorpej
560fc018c4 Regen; Added Antares Gigabit Ethernet. 2001-07-25 01:45:55 +00:00
thorpej
4ac142a1d3 Add the Antares Microsystems, Inc. vendor ID, and the product ID
for their Gigabit Ethernet board (a TC9021 board targeted at the
Sun market).
2001-07-25 01:44:59 +00:00
thorpej
6b0e779ce6 Remove a debugging #define. 2001-07-25 00:12:33 +00:00
thorpej
3939c2a6c7 Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.
2001-07-25 00:11:51 +00:00
ad
b25d5c0666 Pasto; found by tls. 2001-07-24 21:55:35 +00:00
sato
2ddad1a12e add missing terminator of hpcbattery_parameters. 2001-07-24 09:23:30 +00:00
jdolecek
000f85917b Since ~all pckbc_poll_data1() callers had the appropriate pckbc
tag handy and we are going to need more of it in pckbc_poll_data1() soon,
change pckbc_poll_data1() to accept it as first arg. iot, ioh_d, ioh_c are
no longer passed separately. Use fabricated pckbc tag for calls from
arch/arc/jazz/pckbc_jazzio.c and dev/isa/pckbc_isa.c.
2001-07-23 21:03:19 +00:00
bouyer
aa053c0bd1 Regen for TITAN PCI100H. 2001-07-23 20:14:36 +00:00
bouyer
d2039a5f9b Add TITAN PCI100H. 2001-07-23 20:13:26 +00:00
thorpej
bd35a1b7ed Make sure to initialize the all Rx descriptors properly in *_init()
even if mbufs for them are already allocated.
2001-07-23 17:26:50 +00:00
thorpej
536f4fded2 Adjust some reset delays. 2001-07-23 17:23:09 +00:00
thorpej
13dab3bfa7 Make sure to initialize the all Rx descriptors properly in *_init()
even if mbufs for them are already allocated.
2001-07-23 17:20:03 +00:00
thorpej
a7dc1c1b01 Some whitespace cleanup. 2001-07-23 17:08:18 +00:00
tsutsui
2f456b8f00 Make sure to initialize the all Rx descriptors properly in sonic_init()
even if mbuf for them are already allocated.
This fixes "receive descriptor exhausted" errors.
2001-07-23 16:33:48 +00:00
nathanw
9f36932334 Add the constant for the IEEE 1284-mode protocol for the printer
class, as given in revision 1.1 of the USB printer class spec.
2001-07-23 15:17:50 +00:00
bouyer
ecbce129cb Handle HPT-370A controllers, from skanto@sjk-software.fi (kern/13540) but
with some differences to the original patch: don't assume all controllers with
rev >= HPT370_REV are HPT370, and explicitely print if we have a chip with a
rev the driver does't know.
2001-07-23 14:55:26 +00:00
wiz
a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
takemura
64b6b76a21 You must set 'HPCFB_SWAP_*' if bytes are stored in reverse order, i.e.
little endian like order, however, usage of 'HPCFB_SWAP_*' was widely
misunderstood because it reminded you of 'RI_BSWAP' in raster operation.
Please note that 'RI_BSWAP' indicate that frame buffer byte order is different
from natural order of system while 'HPCFB_REVORDER_*' is independent of
system byte order.
2001-07-22 09:56:39 +00:00
jdolecek
f2b42af4c6 dev/isa/if_ate.c depends upon 'ate_isa', not just 'ate' 2001-07-21 16:08:17 +00:00
takemura
0f960df346 - delete sc->sc_screens[]
- BUGFIX: hpcfb_alloc_screen clears real frame buffer
 - Doesn't allocate any screen in attach routine
2001-07-21 14:49:58 +00:00
ichiro
3cd8eb40b0 support to change of CRTSCTS
change uplcom_reset parameter
2001-07-20 21:03:41 +00:00
thorpej
bb93036fa9 Regen. 2001-07-20 07:07:28 +00:00