Commit Graph

16215 Commits

Author SHA1 Message Date
bjh21 c6ae6a7dbd Update for new wdc.c with indirect register mapping. 2003-11-29 20:30:27 +00:00
bjh21 8e1125601f Include wdcreg.h for WDC_NREGS (used by wdcvar.h). 2003-11-29 19:33:34 +00:00
he fc44e8511e Patterned after the rest of the code, add one more check that
chp->wdc is non-null before de-referencing it.
2003-11-29 16:17:31 +00:00
chs 669d2bb92c add support for HPT302 and HPT371. simplify timing selection.
adapted from OpenBSD.  tested on an HPT302, review by bouyer@.
2003-11-28 20:08:29 +00:00
chs 3bf428ce23 regen 2003-11-28 20:05:14 +00:00
chs 9bff23d0a5 add Tandem ServerNet II and various HPT IDE controllers. 2003-11-28 20:04:16 +00:00
drochner 86048e5a3d always check whether a display is attached before calling
wsdisplay_*() functions
2003-11-28 13:32:55 +00:00
drochner 4d60676c44 -remove a check of errno against -1, this is nonsense since
we have EPASSTHROUGH
-remove a superflous #if NWSMOUSE
2003-11-28 13:19:46 +00:00
cube c5529ef807 Add support for the 3com OfficeConnect 10/100B card, which has an ADMtek
AN985 controller, handled by tlp(4).

From Mike M. Volokhov <mishka AT terabyte DOT com DOT ua> in
current-users.
2003-11-28 06:03:09 +00:00
cube 5146829d44 Regen. 2003-11-28 06:00:16 +00:00
cube 5c88862075 Add 3c910 OfficeConnect 10/100B Ethernet. 2003-11-28 05:59:41 +00:00
fvdl 6242a54566 There are some cards that map the ATA control and IDE DMA registers
in a different fashion. Individually, they have the same functionality,
but their layout is different. An example of such a chipset is
the Promise 203xx.

To be able to deal with this, transform the cmd and dma bus_space handles
into an array of handles, each seperately created with bus_space_subregion.
The code generated by using the extra indirection shouldn't change much,
since the extra indirection is negated by having the offset calculation
already done in bus_space_subregion. E.g.

	bus_space_write_4(tag, handle, offset, value)

becomes

	bus_space_write_4(tag, handles[offset], 0, value)

Reviewed by Manuel Bouyer. Tested on wdc_isa, wdc_pcmcia, viaide, piixide (i386)
and on cmdide (sparc64).
2003-11-27 23:02:40 +00:00
matt 0c6481e8c4 Regen. 2003-11-26 18:47:16 +00:00
matt b0e13d0fdc Add pcHDTV HD-2000 HDTV video capture card. 2003-11-26 18:44:16 +00:00
kochi 26cac303c7 Remove unused file. 2003-11-26 16:06:12 +00:00
yamt d1e85f1677 remove ATA_CMD2_SMART, which seems wrong and isn't used. 2003-11-26 15:03:14 +00:00
scw 91c88f7f6b In the match routine, check to see if we can access the SCSI controller's
registers without generating a bus error. This can happen on some board
variants which have no SCSI controller.
2003-11-26 14:29:37 +00:00
scw e6085b4b12 A couple of fixes inspired by a recent port-mvme68k post:
- Fix the display of VME master ranges such that the address modifier
   is shown correctly.

 - Apply vr_mask to the start/end VME master addresses, and adjust
   the local start address to compensate.
2003-11-26 14:27:15 +00:00
bouyer a452a585a7 Some combination of controller/drive sends a continous stream of
interrupt while SRST is asserted. Work around by blocking interrupts while
SRST is asserted, and clearing any pending interrupt before unblocking.
Fix kern/23529 from Michael Hertrick.
2003-11-25 21:03:15 +00:00
jdolecek 38324d7794 add some (long long int) casts for log() arguments, so that this compiles
on LP64
fixed port-alpha/23566 by Paul Mather
2003-11-25 20:11:59 +00:00
nathanw 68f7fcf078 Make the DPRINTF text for bulk in/out opening errors match which one
is in and which one is out.
2003-11-24 19:47:07 +00:00
kent f2680f731e An ICH board needs reading AC97_REG_RESET before reading AC97_VENDOR_ID.
(why?)
http://mail-index.netbsd.org/current-users/2003/11/22/0007.html
2003-11-24 16:05:10 +00:00
tsutsui 9db2573fc8 Handle BCD mode properly. 2003-11-24 06:20:40 +00:00
lukem 130aed8e40 fix uninitialised variable warning. XXX: not sure if this is correct 2003-11-24 06:11:56 +00:00
augustss 852684606a Add a device. From OpenBSD. 2003-11-24 00:00:07 +00:00
augustss 0e57233a47 Try harder to avoid 0 ports woth AMD756. From OpenBSD. 2003-11-23 19:20:25 +00:00
augustss 50ce2db105 Fix swapped lines in cleanup in ohci_init(). From OpenBSD. 2003-11-23 19:18:06 +00:00
augustss 7686442d28 Add more scanners. From FreeBSD. 2003-11-23 19:07:10 +00:00
augustss 25fc3e9769 Regen. 2003-11-23 19:06:39 +00:00
augustss 14f83fce74 Add another device. From FreeBSD. 2003-11-23 19:06:19 +00:00
augustss 743adeaf63 Add two more adapters. From FreeBSD. 2003-11-23 18:51:49 +00:00
augustss 57264be4a3 Regen. 2003-11-23 18:50:51 +00:00
augustss 0aac4b8f68 Update copyright years. 2003-11-23 18:50:27 +00:00
augustss a8842a070e Regen. 2003-11-23 18:37:50 +00:00
augustss f01a819ee7 Add a number of devices. From FreeBSD. 2003-11-23 18:37:30 +00:00
augustss d0bdc327b0 Add another product. From OpenBSD. 2003-11-23 18:17:58 +00:00
augustss 9184608aa6 Regen. 2003-11-23 18:16:25 +00:00
augustss cd8b22197b Add a number of devices. From OpenBSD. 2003-11-23 18:16:03 +00:00
augustss 422ce84f58 Add some more devices. From FreeBSD. 2003-11-23 12:22:51 +00:00
augustss 02bc5c0199 Regen. 2003-11-23 12:22:19 +00:00
augustss de08e28c43 Add uplcom devices. From FreeBSD. 2003-11-23 12:21:54 +00:00
tsutsui 1508a7290a Call bus_space_{read,write}_1() directly to access ncr53c9x common registers. 2003-11-23 04:34:26 +00:00
gson 3187c34fa2 Make the raw midi device pass through received system exclusive
messages rather than discard them.
2003-11-23 01:25:59 +00:00
fvdl 370056a0f6 Use the redefined Promise product ids. 2003-11-22 20:57:18 +00:00
fvdl e7fcb7da4d Regenerate after rearranging the Promise ids. 2003-11-22 20:56:53 +00:00
fvdl ac92051a0b Clean up the Promise IDE controller defines. 2003-11-22 20:54:01 +00:00
itohy 1b7b873248 - Correctly handle bit 24 of miscellaneous control register, which has
different meanings for read and write.
  This fixes 48kHz playback to SPDIF.
- Fix the problem where the SPDIF output voltage setting (0.5V, 5V)
  was swapped.  The default value is changed from 0.5V to 5V, which
  correctly selects 5V (so the default physical behavior is unchanged).

Should fix PRs kern/16047 and kern/16817
(but not tested since I don't have other SPDIF hardware to test with).
Approved by tshiozak.
2003-11-22 16:48:14 +00:00
kent f9ae2a22c1 For ICH4/ICH5, use native BARs instead of compatible BARs.
The patch was provided by Lars Heidieker.
2003-11-22 08:49:41 +00:00
thorpej f6c3c3450e Add a missing i82541 ID to the table. 2003-11-22 08:32:12 +00:00
kent c51ed264ee AD1985 codec needs the same quirk as AD1980.
The patch was provided by Lars Heidieker.
2003-11-22 06:15:29 +00:00