Commit Graph

10431 Commits

Author SHA1 Message Date
enami 578730c551 Initialize sc->sc_anegticks to 5 on attach to prevent panic due to
assertion failure.
2001-06-08 07:09:40 +00:00
simonb e5bd00e48d For ports that wire up pciide in compatibility mode, have
them define __HAVE_PCIIDE_MACHDEP_COMPAT_INTR_ESTABLISH
in pci_machdep.h and pciide_map_compat_intr() only calls
pciide_machdep_compat_intr_establish() if that preprocessor
define exists.

Ports that don't need to do this no longer need to supply a
dummy function.
2001-06-08 04:48:54 +00:00
matt ef047f21f8 Add multiple inclusion protection. Define prototypes for openfirm
routines used in cdevsw.
2001-06-08 00:19:17 +00:00
mrg 59024512bd LKM friendly: move ev_out32() to netbsd32 specific code; add an ev_out32 hook. 2001-06-07 17:52:52 +00:00
briggs 7a3a78cfa3 Compile on sandpoint. 2001-06-07 16:48:09 +00:00
bouyer df4739c8cb Set TI_OPMODE_1_DMA_ACTIVE only if hardware assisted checksum isn't used
(FreeBSD does it this way). My Tigon II works with hardware assisted checksum
now.
2001-06-07 14:35:58 +00:00
enami 85fb541842 Fix typo; print sc->aue_intr_errs instead of sc->aue_rx_errs when
reporting interrupt errors.
2001-06-07 10:55:15 +00:00
leo 72510eee6d Make the WDC_{ATA|ATAPI}_NOSTREAM flags settable through configuration
options. Needed on the Atari Milan.
2001-06-07 06:33:48 +00:00
thorpej ff5871412e Correct the receive mode mask in the RXCMD register. 2001-06-07 05:19:26 +00:00
thorpej 025decbccb Don't clear a callout on a scsipi_xfer that has been scsipi_done()'d. 2001-06-07 03:44:00 +00:00
soren 26603afde8 Update URL to documentation PDF. 2001-06-06 22:11:42 +00:00
uch 03e1c3aa16 implement HPCFB_SWAP_BYTE. 2001-06-05 17:29:12 +00:00
uch b596bfa2d0 add vc_reverse flag to struct video_chip. 2001-06-05 15:02:40 +00:00
uch a4221d6b08 change behavior of cmap_work_alloc(). 2001-06-05 15:02:12 +00:00
tsutsui 15f8692183 Make some functions __inline. 2001-06-05 12:42:44 +00:00
thorpej 8ee014b439 Handle the DL10022 case. 2001-06-05 02:31:16 +00:00
thorpej c619444a71 Use the DL10019 media routines on the DL10019 and DL10022 (a change
I forgot to commit long ago).
2001-06-05 02:27:02 +00:00
ragge cae5d5a796 Lock the kernel lock at interrupt enter. 2001-06-04 21:31:28 +00:00
mrg 46762d3560 fix lint exposed by GCC 3.0 20010604 (prerelease). 2001-06-04 20:56:51 +00:00
uch 859a6a49b2 ANSI KNF. 2001-06-04 18:59:31 +00:00
jdolecek 07677cc805 Use back the 'u'&037 form - since it's CTRL-u, it's more readable that way
Use \007 instead of symbolic constant, since that's what is more often used.
Pointed out by Robert Elz.
2001-06-04 09:45:03 +00:00
augustss 147c9186b5 Remove overly paranoid test (and not in the spec either). From OpenBSD. 2001-06-04 06:01:40 +00:00
augustss d7079b251e Regen. 2001-06-04 06:00:43 +00:00
augustss db2a5598b4 Add the Logitech iFeel mouse.
(Now that's a weird device, perhaps I'll write a driver for the vibration
feedback.)
2001-06-04 06:00:20 +00:00
toshii 13aba87bcb Don't pass nonpositive repeat count to CSR_*_MULTI_2.
Should fix kern/13092.
2001-06-04 03:34:47 +00:00
jhawk 4cfd2cf1d0 s/printf/DPRINTF/ for kern/13101. 2001-06-03 23:52:51 +00:00
jdolecek dccf11ae11 cngetsn(): cosmetic only - use '\025' instead 'u'&037, and '\b' instead '\007' 2001-06-03 17:56:10 +00:00
ragge 056e20f2cc Need to get the kernel lock when entering by interrupts. 2001-06-03 15:15:02 +00:00
lukem 461a7daf74 fix comment 2001-06-03 14:29:42 +00:00
tsutsui bcdd082840 Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
Based on OpenBSD's iha driver, and modified some structures by me.

Tested on arc, i386 and macppc.
2001-06-03 13:43:45 +00:00
thorpej 4e7cb03446 Differentiate between a DL10019 and a DL10022 (they have slight
MII differences).
2001-06-03 04:52:28 +00:00
thorpej 37368cb858 Use the correct bitbang ops on the DL10022 (oops!). 2001-06-03 04:39:52 +00:00
thorpej cc3002d53b Clarify a historical comment. 2001-06-03 03:55:10 +00:00
thorpej f75e45c854 In ti_init2(), use a simpler, more obvious, and correct MTU
calculation to give the firmware.
2001-06-03 03:46:43 +00:00
thorpej f2b9a1f3cc Replace a bunch of home-grown Ethernet related constants with
ones defined in <net/if_ether.h>
2001-06-03 03:29:44 +00:00
thorpej 9987ee5249 Driver for the Broadcom BCM5201/BCM5202 "Mini-Theta" Ethernet
PHYs.  This is also the same PHY core as in the 3Com 3c905C.
The PHY is documented in the 3c905C manual.
2001-06-02 21:42:10 +00:00
thorpej 424f7a1e65 Make PHY matching all table-driven. 2001-06-02 21:39:38 +00:00
bjh21 947699688a Create hcscreg.h, and put a couple of magic numbers in there. 2001-06-02 20:13:50 +00:00
thorpej ca4d373730 Implement support for IP/TCP/UDP checksum offloading provided by
network interfaces.  This works by pre-computing the pseudo-header
checksum and caching it, delaying the actual checksum to ip_output()
if the hardware cannot perform the sum for us.  In-bound checksums
can either be fully-checked by hardware, or summed up for final
verification by software.  This method was modeled after how this
is done in FreeBSD, although the code is significantly different in
most places.

We don't delay checksums for IPv6/TCP, but we do take advantage of the
cached pseudo-header checksum.

Note: hardware-assisted checksumming defaults to "off".  It is
enabled with ifconfig(8).  See the manual page for details.

Implement hardware-assisted checksumming on the DP83820 Gigabit Ethernet,
3c90xB/3c90xC 10/100 Ethernet, and Alteon Tigon/Tigon2 Gigabit Ethernet.
2001-06-02 16:17:06 +00:00
toshii 9590a56496 Use bus_space_{read,write}_multi_stream_2 where available. 2001-06-02 15:49:16 +00:00
bjh21 fd7e9d6d32 Clean up hcsc_match: Don't check the manufacturer ID, since podule IDs are
unique anyway.  Do check whether the description starts with "SCSI", since
HCCS used the same ID for their IDE podule.
2001-06-02 12:07:34 +00:00
bjh21 e9ff9b9d73 Enable disconnect/reselect (now that it works) and parity checking. 2001-06-02 11:43:40 +00:00
thorpej 2da55b9a39 Define some extra configuration block bits used on the i82550 (a.k.a.
PRO 100/S), including the extended RFA format.  Don't hard-code the
RFA size to allow us to use the extended format in the future.
2001-06-02 01:04:01 +00:00
jdolecek f6af05f407 Back the last revision off, upon Bill Sommerfeld's request 2001-06-02 00:46:00 +00:00
jdolecek 5dbe622e77 When polling, raise priority level to tty, to block keyboard interrupts
when the system is "warm", i.e. interrupts are not blocked anymore.
This seems to be necessary on my PS/2 Model 70 keyboard - without this,
system ends up in endless loop calling the keyboard intr routine if a key
is pressed when polling. This _may_ be just specific to level-triggered
interrupts PS/2 MCA uses, though it's more likely it's just the way the
particular keyboard controller works.

Discussed on tech-kern@.
2001-06-02 00:01:04 +00:00
thorpej 33a6994da1 Driver for Broadcom BCM5400-family Gig-E PHYs. Programming
information gleaned from FreeBSD.
2001-06-01 16:49:59 +00:00
haya 1331bcc296 cardbusvar.h is divided into two files: cardbusvar.h and cardbusreg.h. 2001-06-01 10:30:37 +00:00
bouyer 88f3192778 Fix typo in sddump() which caused core dumps to fail with ENXIO. 2001-06-01 08:39:54 +00:00
simonb b3e7ecfd97 Delete the XXX'd includes of <dev/isa/isavar.h> and <sys/kernel.h>.
These aren't needed.  Tested on i386 and alpha.
2001-06-01 00:38:31 +00:00
tron 264d7e1264 Install "dev/scsipi/scsipi_cd.h" again because it is e.g. used by the
CD player include in version 2.x of the "kdemultimedia" package.
2001-05-31 21:54:07 +00:00