Commit Graph

11072 Commits

Author SHA1 Message Date
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
thorpej
959f6ee3f3 Adjust for the corrected Marvell entry. 2001-07-20 07:07:05 +00:00
thorpej
38f94a6fbe Bleh, I don't like the way our miidevs works now. Repair the
Marvell Semiconductor entry.
2001-07-20 07:06:42 +00:00
thorpej
7859dd206a The EEPROM registers/bits are different on the Corkscrew (3c515). Adjust
for this.
2001-07-20 05:44:48 +00:00
thorpej
9bf4afa0b6 Add the ISA Bridge ASIC registers found on the Corkscrew (3c515). 2001-07-20 05:43:11 +00:00
itojun
93a890b609 it seems that pp_{up,down} code does not really help, since (1) sppp_ioctl
calls lcp.{Up,Down} by itself, and (2) as lmc driver uses interrupt to
get the card initialization callback lcp calls from sppp_ioctl
does not really work.  for chdlc pp_{up,down} are not really necessary so
don't bother (#if 0'ed).
2001-07-19 19:15:13 +00:00
kleink
d775ce82eb Hint BUS_DMA_READ and BUS_DMA_WRITE. 2001-07-19 17:47:18 +00:00
kleink
1bd93b6232 Hint BUS_DMA_READ and BUS_DMA_WRITE. 2001-07-19 17:19:40 +00:00
itojun
b66f433b03 sync with latest Linux driver, avoid framing error on LMC1200 (T1/E1).
from hal@vailsys.com
2001-07-19 17:02:05 +00:00
thorpej
44e529fecc Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places. 2001-07-19 16:36:14 +00:00
itojun
e13c617dee do not call pp_{up,down} on cisco HDLC mode, it seems that
sys/net/if_spppsubr.c does not like it.
XXX api clarification needed...
2001-07-19 16:30:52 +00:00
thorpej
623f83a793 Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places. 2001-07-19 16:25:23 +00:00
itojun
639dfc8d8f readability changes (s/0/LMC_LINK_DOWN/, whitespace) 2001-07-19 16:14:50 +00:00
wiz
1bc6d2cee9 Fix typo (`information' has an 'r'). 2001-07-19 16:13:00 +00:00
wiz
4124ef0b6c Fix comment (device has a 'c'). 2001-07-19 16:12:21 +00:00
itojun
abd116eff5 - on IFF_UP change, inform sys/net/if_spppsubr.c of the change so that
we can run LCP and subsequent PPP negotiation.
- suppress too noisy printf() for about AIS event (if you remove the cable,
  it will bark forever).
- sppp_dequeue() can return NULL even when sppp_isempty() is false, so check
  it and do not deref NULL pointer.
- sppp_flush() on LMC interface shutdown.
- prepare to change BPF type on the fly (bpf_change_type).
2001-07-19 15:38:17 +00:00
sato
98f091d6b9 add hpcmips battery parameter tables. 2001-07-19 11:40:19 +00:00
sato
8e381812a7 battery parameter structures for hpc systems. 2001-07-19 11:39:24 +00:00
augustss
fa4d95379a Prototype for aue_reset_pegasus_II(). 2001-07-19 09:40:40 +00:00
thorpej
600cfcb30a bcopy -> memcpy 2001-07-18 20:52:47 +00:00
thorpej
42a4d5b520 bcmp -> memcmp 2001-07-18 20:42:54 +00:00
thorpej
ce623a36cc bzero -> memset 2001-07-18 20:39:53 +00:00
bouyer
f2cacede49 Adn scsipi_target_detach() and scsipi_thread_call_callback() as discussed
on tech-kern. scsipi_target_detach() accept wildcard target/lun as requested.
2001-07-18 20:19:24 +00:00
thorpej
aafd882086 bcmp -> memcmp 2001-07-18 18:27:08 +00:00
thorpej
38bdc75312 bcopy -> memcpy 2001-07-18 18:25:41 +00:00
thorpej
03746a443a bzero -> memset 2001-07-18 18:21:04 +00:00
thorpej
cb6f78fe5d bcopy -> memcpy 2001-07-18 16:53:52 +00:00
thorpej
c620771702 bzero -> memset 2001-07-18 16:51:39 +00:00
thorpej
de6142b85a Slight tweak to previous; C requires a statement after a label. 2001-07-18 15:24:24 +00:00
onoe
2bc04d9140 revert 2 of 3 in previous commit.
empty default is needed to make gcc happy.
2001-07-18 10:39:28 +00:00
thorpej
228b23427f bcmp -> memcmp 2001-07-18 06:46:46 +00:00
thorpej
cf56c44a86 bzero -> memset 2001-07-18 06:45:33 +00:00
onoe
b7ff292c17 make it compilable:
fw_verbose, fw_dump -> fwdebug (DPRINTFN)
	add sc1394_ifsetiso into ieee1394_softc
2001-07-18 02:59:54 +00:00
onoe
69b6def907 Do not copy first keys into four key entries; the bug was introduced in 1.17 2001-07-18 02:06:44 +00:00
thorpej
17538b3790 Costmetic change. 2001-07-18 01:10:09 +00:00
mrg
5a49b0db15 remove empty default: cases. 2001-07-17 13:55:51 +00:00
mrg
d23c8fc309 properly use ANSI string concatenation. 2001-07-17 13:55:12 +00:00
haya
8a1cc19a9f New Feature: Add isochronous stream input routine. This feature has
been tested on i386.  It does not have any interface for useland to
get isochoronous stream.  The isochoronous acquisition interface
should be determined.
2001-07-17 11:01:03 +00:00
toshii
e267c67b60 "infomation" -> "information" 2001-07-17 01:37:43 +00:00
augustss
cc0b3cc208 Add support for Pegasus II adapters (from Linux).
Add a bunch of adapters.
2001-07-16 18:33:13 +00:00
augustss
3daa873a7e Regen. 2001-07-16 18:31:19 +00:00
augustss
fc8666f1da Some line permutations. 2001-07-16 18:31:00 +00:00
augustss
87791333ae Reorganize the table of adapters slightly. 2001-07-16 16:15:12 +00:00
oster
81f5c58b58 If we're closing the last partition on a RAID set and the system is
being shutdown, then unconfigure the RAID set too.  This fixes a number
of issues with doing proper unconfigures/shutdowns of multi-level RAID
sets.

Thanks to Jason Thorpe and Bill Squier for the ideas/suggestions on
how/where to do this, and to Bill Squier for testing.
2001-07-16 15:50:27 +00:00
augustss
f82d5c6424 Regen. 2001-07-16 15:39:22 +00:00
augustss
e71f79ca0b Add a bunch of ADMtek Ethernet adapters. 2001-07-16 15:38:48 +00:00
augustss
298ec741b8 Alphabetize. 2001-07-16 13:54:23 +00:00
augustss
5d1d09b8fb Alphabetize. 2001-07-16 13:49:20 +00:00
augustss
bd538b438b Regen. 2001-07-16 05:04:51 +00:00
augustss
f4d7e2e9d6 Add SOHOware NUB100. From OpenBSD. 2001-07-16 05:04:29 +00:00
elric
99e8b114e0 So, the PowerStorm 4d20 a.k.a. 32bit TGA2 w/ IBM RGB561 RAMDAC was causing
the kernel to panic since it is recognised as a TGA and the TGA driver
doesn't [yet] know what to do with it.

This patch fixes that by:
	o  making tgamatch() try to actually figure out what kind
	   of TGA card is there, rather than simply relying on the
	   vendor/product ids.
	o  creating a tga_cnmatch() so that the console code in
	   arch/alpha/pci/pci_machdep.c can cause the same to occur.
	o  breaking up some of tga_getdevconfig() into a few different
	   functions to re-use code that would have been duplicated.
	o  changed arch/alpha/pci/pci_machdep.c so that it calls out
	   to tga_cnmatch() if DEVICE_IS_TGA() matches before it decides
	   to attach the console as a TGA.

Addresses PR: port-alpha/12923
2001-07-16 00:55:16 +00:00
fredette
047e3dd5d8 When reporting an ICR value, use bitmask_snprintf to
give a human-readable description of the value.
2001-07-15 16:32:40 +00:00
bouyer
c399f05222 scsipi_set_xfer_mode(): issue a ADAPTER_REQ_SET_XFER_MODE request to adapter
only if we succesfully attached at last one device for this I_T.
2001-07-13 20:00:23 +00:00
sato
9879757a53 disable framebuffer drawing while suspending. 2001-07-13 10:23:41 +00:00
onoe
993f9377b8 disable the function if attach fails. 2001-07-13 03:09:39 +00:00
thorpej
41a68e94a9 Driver for the Level One LXT-1000 10/100/1000 PHY. 2001-07-12 21:54:40 +00:00
thorpej
be71426b74 Regen; Add LXT-1000, clean up. 2001-07-12 21:25:31 +00:00
thorpej
6e65eb3c21 Add LevelOne LXT-1000 10/100/1000 PHY, clean up some Gig-E
PHY names.
2001-07-12 21:25:07 +00:00
thorpej
aef9e7bea3 Code to handle generic ten-bit interfaces (1000BASE-{LX,SX} fiber
interfaces).
2001-07-12 18:49:38 +00:00
thorpej
0e863b15a6 Driver for the Marvell 88E1000 ``Alaska'' 10/100/1000 PHY. 2001-07-12 17:30:45 +00:00
thorpej
39928114d6 Regen; corrected Marvell entries. 2001-07-12 17:29:49 +00:00
thorpej
511aa23898 Correct Marvell OUI, and 88E1000 model number. 2001-07-12 17:29:18 +00:00
scw
05be817d7b Call clmpcc_init() when setting up the console to get the chip into
a known state.

For some reason, "Bug" on mvme68k can't be relied upon to leave it
in a good enough state for our console routines...
2001-07-12 17:21:01 +00:00
augustss
981c2a6401 Rearrange register dump when the controller is dying. Fixes PR 13430. 2001-07-11 14:11:00 +00:00
mrg
0b1849a71a don't try to print pcitag_t values; these are opaque values that should not
be interpreted by MI code.
2001-07-11 08:36:46 +00:00
augustss
eb7db20548 Don't reset twice. 2001-07-11 04:53:48 +00:00
augustss
c0e4279dad Minor formatting fix. 2001-07-11 04:53:18 +00:00
augustss
e352032894 Regen. 2001-07-11 03:38:04 +00:00
augustss
0f983514e6 Add a remote control from Keyspan. 2001-07-11 03:37:41 +00:00
ichiro
efc5309185 add devices: ipaqbus,ipaqlcd,ipaqpcic
remove device: sagpcic
2001-07-10 18:20:06 +00:00
haya
bed2ac704f Bug fix: call extent_subregion() with alignment = 1 instead of 0. 2001-07-10 10:33:55 +00:00
chs
864f123d5a add a missing newline in a printf. 2001-07-10 00:36:36 +00:00
itojun
3e747f67fa regen 2001-07-09 06:58:26 +00:00
itojun
2646db5158 add product code for 3Com 3CRWE62092A Wireless LAN
(what is the sorting rule for the file?)
2001-07-09 06:57:59 +00:00
ichiro
340a8b97ca Add hpcarm devices sagpcic 2001-07-09 03:51:59 +00:00
thorpej
3f6eb8677a When we initialize the ARC BIOS, fetch the system ID structure
fields into local copies, as well as the Identifier string from
the System component.
2001-07-08 23:57:09 +00:00
thorpej
9d1d1b8a89 Make the field names in the system ID structure match the spec. 2001-07-08 23:56:03 +00:00
thorpej
d93e047b19 Add routines to walk the ARC BIOS component tree. 2001-07-08 22:57:10 +00:00
thorpej
e379ce3db0 Initial pass a ARC BIOS code that can be shared between the sgimips
and arc ports.
2001-07-08 19:58:02 +00:00
wiz
cc0b68092e Correct various misspellings of 'transfer' and inflected forms. 2001-07-08 18:06:42 +00:00
thorpej
3d98de578f Remove unnecessary include files. From Onno van der Linden. 2001-07-08 17:55:50 +00:00
thorpej
fa91d59528 Remove unnecessary include files, from Onno van der Linden. 2001-07-08 17:52:02 +00:00
thorpej
bc5d06ea08 Some cosmetic shuffling. 2001-07-08 17:15:45 +00:00
thorpej
9de94b45cc Fix a very, very dumb mistake that broke multicast on the dp83815
and dp83820.
2001-07-08 16:56:50 +00:00
thorpej
62794086ea Change the structure of dp83815_set_filter ever so slightly. 2001-07-07 17:37:39 +00:00
thorpej
c8b4ac1b17 bcopy -> memcpy
bzero -> memset
2001-07-07 17:04:01 +00:00
thorpej
4953d4e85f bzero -> memset 2001-07-07 16:51:47 +00:00
thorpej
6c248b757c bcmp -> memcmp 2001-07-07 16:50:41 +00:00
thorpej
3a235c46fa bcopy -> memcpy 2001-07-07 16:50:14 +00:00
thorpej
3ae6eaea7f bcopy -> memcpy, strcpy 2001-07-07 16:49:57 +00:00
thorpej
7e92a47db9 bcmp -> memcmp 2001-07-07 16:47:43 +00:00
thorpej
51e70f6731 bzero -> memset 2001-07-07 16:46:34 +00:00
thorpej
80f54c0005 bcopy -> memcpy, strcpy 2001-07-07 16:40:23 +00:00
thorpej
46909109f4 bcopy -> strcpy 2001-07-07 16:39:16 +00:00
thorpej
008dd21471 bcopy -> memcpy 2001-07-07 16:37:38 +00:00
thorpej
dfd7f38a43 Remove config glue for the old `ncr' driver. 2001-07-07 16:34:33 +00:00
thorpej
444f8e5f30 Remove the old NCR 53c8xx driver. It no longer compiles (it was not
updated for the thorpej_scsipi branch), and has been replaced by Manuel's
MUCH BETTER `siop' driver.

The code can still be referenced by using cvsweb, checking out an
old revision, whatever.  But it's no longer useful to have it appear
in a checked out source tree.
2001-07-07 16:20:55 +00:00
thorpej
0884f20bf7 bzero -> memset 2001-07-07 16:13:44 +00:00
thorpej
7f597fba74 bcopy -> memcpy, strcpy, memmove 2001-07-07 16:00:09 +00:00
thorpej
150ca9d41a bcopy -> memcpy, strcpy 2001-07-07 15:59:37 +00:00
thorpej
06ff822b44 bcopy -> strcpy 2001-07-07 15:57:50 +00:00
thorpej
7a4838199c bcopy -> memcpy 2001-07-07 15:56:07 +00:00
thorpej
7711ad565b bcopy -> memcpy 2001-07-07 15:53:13 +00:00
tsutsui
b485c6b542 Update for news68k clock attachment changes. 2001-07-07 15:49:05 +00:00
toshii
35836fce7a bcopy -> memcpy, bzero -> memset. 2001-07-07 09:19:39 +00:00
thorpej
c2c26e1362 bcmp -> memcmp 2001-07-07 05:35:39 +00:00
thorpej
9ec2341af3 Add support for jumbo Ethernet frames on the DP83820. 2001-07-07 02:32:38 +00:00
mjacob
0134959e74 If I've told myself once, I've told myself 1000 times- *NEVER* commit
w/o test compiling first. Argh. I nuked one extra line that I shouldn't
have.
2001-07-07 01:44:21 +00:00
thorpej
cf65d4738c Add a bunch of Vital Product Data definitions. 2001-07-06 20:20:55 +00:00
mcr
ddb7c50037 added bridge secondary bus reset macros. 2001-07-06 18:07:16 +00:00
mcr
aa7bfea672 split pccbb_intr_route() into seperate function. 2001-07-06 18:06:59 +00:00
mcr
c34df0c33d cardbus attachment for PCI-PCI bridges 2001-07-06 18:05:59 +00:00
mcr
90e0ca31dd record handles for memory and io spaces 2001-07-06 18:05:25 +00:00
thorpej
2861457faf Fix a typo in htosonic32(), pointed out by soda@netbsd.org. 2001-07-06 16:20:07 +00:00
mjacob
f0ba6b733c White space cleanup. Fix oopslet about having overlapping loop states.
Handle FW crashes as an isp_async call. Reclaim a missing logging level
bit.
2001-07-06 16:19:10 +00:00
mjacob
3628ea89ae Add some wads more definitions. Add macros for request/response queue
in/out pointer access.
2001-07-06 16:18:08 +00:00
mjacob
70d59a5876 Minor comment update. 2001-07-06 16:17:36 +00:00
mjacob
5089fba315 Defer turning off the no_mbox_ints flag until after the system is ready
for interrupts. Handle FW crashes in outer layer.
2001-07-06 16:17:17 +00:00
mjacob
092afb0ce9 More 2300 support: macroize access to request/response in/out pointers. 2001-07-06 16:16:11 +00:00
mjacob
9386c78f88 Some whitespace cleanup. Initial forcelout support.
Fix longstanding bug where we should have been checking
against Channel B's settings to see whether to apply tag
usage. Oops.

Some more 2300 support- macroize access to request queue in/out pointers.
Firmware crashes now handled in platform outer code via an isp_async call.

If we get a LIP, and we're on a private or public loop, kill off all
active commands as if they had been killed by a 'SCSI Bus Reset'. I've
seen data corruption on commands that complete 'normally' after a LIP.
Bad.
2001-07-06 16:15:38 +00:00
mjacob
48e09f672e twiddle isp_xflist calculation to match more closes isp_pci.c 2001-07-06 16:09:38 +00:00
thorpej
583274a82c For product names that include the media in the name, don't bother
saying "Gigabit".
2001-07-05 21:27:31 +00:00
thorpej
fd1fd6bb0f If using the hardware cursor, make sure the cursor shape is initialized,
otherwise we won't be able to see anything if the system firmware has
either not initialized it, or initialized it to "invlisible".
2001-07-05 16:45:23 +00:00
thorpej
5c0f65ea82 Do a little manual CSE, taking unneeded comparisons out of loops,
and shrinking the object code somewhat.  On an R4400:

Before:
text    data    bss     dec     hex     filename
16248   16      0       16264   3f88    dp83932.o

Before:
text    data    bss     dec     hex     filename
14424   16      0       14440   3868    dp83932.o
2001-07-05 15:02:27 +00:00