Commit Graph

16197 Commits

Author SHA1 Message Date
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
kent
c6585e1d6d Cosmetic changes
- ANSIfy
 - no argument names in prototypes
 - variable declaration with initialization
2003-11-22 05:40:48 +00:00
gson
19871d69f2 Code enabled by option AUDIO_DEBUG exhibited undefined behavior and
caused compiler warnings with gcc 3.3.2.
2003-11-21 03:08:37 +00:00
kochi
9e86672dce convert tab -> space (pointed out by Kanaoka-san) 2003-11-20 16:15:59 +00:00
kochi
e712db964a fix for ThinkPad 'large reference count' problem.
from shaohua.li at intel.com
2003-11-20 15:42:16 +00:00
briggs
3a312a4033 Use aprint_* instead of printf. 2003-11-18 21:40:13 +00:00
briggs
fa618d5cf3 Use aprint_normal instead of printf in scsipi_print_xfer_mode(). 2003-11-18 21:39:12 +00:00
bouyer
c941eecbd0 Clear DRIVE_ATA|DRIVE_ATAPI for both drives only when we're sure this is
an old drive. Should fix kern/23468.
When we know there's no drive here, abort the probe and try next drive.
2003-11-17 20:01:35 +00:00
wiz
4bbfee09ca Various typo fixes from Jonathon Gray via jmc@openbsd. 2003-11-17 11:16:10 +00:00
oster
3c778e952c infoFunc doesn't exist any more. Nuke commented out bits refering
to infoFunc.
2003-11-16 20:32:05 +00:00
tsutsui
da9776152f Misc cleanup:
- tweak some attach messages
- establish interrupt after all dma resouces are successfully allocated
- wrap an assertion with #ifdef DIAGNOSTIC
- assume NCRCFG2_FE bit is always enabled
- call bus_dmamap_sync for mdldmap at POSTWRITE for consistency
- pass proper dmamapsize for mdldmap
2003-11-16 18:31:45 +00:00
dyoung
18652e3785 From Steve Woodford (scw@): fix wi(4) and wiconfig(8) on big-endian
machines.
2003-11-16 09:41:01 +00:00
dyoung
0c32f8693f So that the internal bridge works in AP mode, call ath_start after
processing Rx packets.
2003-11-16 09:32:01 +00:00
dyoung
fe919dfeb0 Fix spelling/grammar in a comment. 2003-11-16 09:05:53 +00:00
dyoung
23d8f48692 Add data-link type DLT_IEEE802_11_RADIO to wi and atw. DLT_IEEE802_11_RADIO
lets you monitor radio stats like received signal strength, which
diversity antenna was used, channel/frequency, modulation, and data
rate.
2003-11-16 09:02:42 +00:00
jonathan
3638f1686a Support symmetric crypto ops, including AES, on hifn 7955 and 7956.
Not tested on 795[56],  but compiles and matches FreeBSD-tested diffs.

Suggested by Sam Leffler <sam@errno.com>, as imported into FreeBSD by Sam.
Submitted to FreeBSD by Rajesh Vaidyanath <RVaidyanath@hifn.com>.
2003-11-16 00:22:09 +00:00
bouyer
6fb817f5dd Commit changes proposed on tech-kern Thu, 6 Nov 2003
- factor out disksubr.c between sun3, sparc and sparc64. Keep the sun3
  groveling code to find a NetBSD disklabel in the first sector (so that it
  can find a label at the old sun3 LABELOFFSET) as a fallback is not
  label at LABELOFFSET, or sun label is present.
- Fix the sun3 LABELOFFSET (was 64, but the kernel wrote the NetBSD label at
  128)
- Make next68k disksubr.c always write a next-compatible disklabel.
- remove #ifdef __sparc__ hack from disklabel(8), and change it to issue
  a DIOCWDINFO after writing the disklabel to the raw partition in the
  -r/-I case (so that the kernel can convert the label if needed).
2003-11-15 17:52:30 +00:00
bouyer
5741c101e5 Clear interrupts at end of attach, in case there is one pending.
Avoid "bogus intr" messages when interrupts are enabled later.
Patch tested by myself and Chuck Silvers.
2003-11-15 16:40:46 +00:00
jmcneill
1708376e44 Don't set VR_EECSR_LOAD before reading the MAC address on the VT6102 either. 2003-11-14 22:33:29 +00:00