Commit Graph

8932 Commits

Author SHA1 Message Date
thorpej
ec15125b5b Don't restrict I/O space to 16-bits on the Promise Ultra/33 boards.
Empirical evidence suggests that the board works just fine with
an I/O address >= 0x10000.
2000-11-30 18:11:40 +00:00
tsutsui
786dc5161c Clarify RX status header length and some cosmetics. 2000-11-30 15:51:57 +00:00
tsutsui
fd4d074b27 After rev 1.16 rtk driver uses the CRC from the chip,
so no need to adjust Rx address for it. Fixes kern/11301.
2000-11-30 15:33:04 +00:00
thorpej
64222ad03a Fix some printf formats, and remove SPARC-specific debugging stuff. 2000-11-30 14:41:46 +00:00
pk
7006bcd449 Fix two cases of reversed arguments to printf(); 2000-11-30 09:58:03 +00:00
enami
99a39489d8 Pass the right size of object (in this case, a trailer) to fwohci_buf_pktget.
Since the fp_trail is a pointer to trailer, we have to pass sizeof(*fp_trail)
instead of sizeof(fp_trail).
2000-11-30 06:59:08 +00:00
enami
a89beb967d Make this file compiles on alpha even if FW_DEBUG is defined. 2000-11-30 06:42:26 +00:00
enami
4792308b32 Pass the right max segment size to bus_dmamap_create. 2000-11-30 06:36:43 +00:00
eeh
9e7aa98aa6 Add TAG QUEUE support to the ncr53c9x driver. 2000-11-30 00:19:25 +00:00
thorpej
14f5ab8928 ANSI'ify. 2000-11-29 18:22:17 +00:00
wiz
972c941cf6 Fix typo in comment reported by Tetsuya Isaki in kern/11587. 2000-11-29 12:49:56 +00:00
matt
435b4c7b35 Fix c896 support. If the first mem bar is 64bit, then the second one will
be too.  And offset for the 2nd being after the 1st by a 64-bit bar, not
32-bit.
2000-11-29 02:00:38 +00:00
thorpej
454f740bd4 Use AC97_REG_* constants rather than defining them ourselves. 2000-11-28 16:57:16 +00:00
thorpej
997701c6c1 Define additional AC'97 registers. 2000-11-28 16:54:17 +00:00
haya
92f11ef3d3 BUG FIX: change enable sequence for 16-bit pcmcia cards. This change
provides better (not perfect) reset sequence.  The most significant
change is asserting output enable reg before power up.  Stop routing
interrupt during reset.
2000-11-28 09:11:36 +00:00
thorpej
443bd6369f Device driver for the built-in audio on Intel ICH, ICH0, ICH2,
and i440MX chipsets.  Based on a driver by Michael Shalayeff,
modified somewhat by me to use bus_dma properly, and fix some
audio encoding emulation bugs.

Thanks to Manuel Bouyer for testing and feedback.
2000-11-28 05:12:29 +00:00
matt
1aa6c9fb10 Add prep support. change all __foo__ to foo. We don't __foo__ in the kernel 2000-11-27 21:51:02 +00:00
haya
02aaf95f67 BUG FIX: pccbb turns off PC Cards' power on the bus in shutdown hook.
Some machines cannot reboot without this fix.
2000-11-27 09:04:32 +00:00
chs
aeda8d3b77 Initial integration of the Unified Buffer Cache project. 2000-11-27 08:39:39 +00:00
thorpej
25491e6a22 Power management (well, suspend/resume) is now implemented. Remove
it from the TODO list.
2000-11-27 02:37:14 +00:00
sommerfeld
248928c7cf Add a powerhook to reload AC97 registers after a resume.
Sound now works after suspend/resume on my Sony PCG-Z505S
2000-11-27 01:56:53 +00:00
augustss
7ec52ba411 Improve a debug message. 2000-11-26 21:05:02 +00:00
augustss
88bf6139e5 Regen. 2000-11-26 21:04:43 +00:00
augustss
63dfc5b570 Add an Intel camera (rfom OpenBSD). 2000-11-26 21:04:20 +00:00
ad
04a83acaf7 lsu -> ld 2000-11-26 19:24:24 +00:00
ad
57ea462da2 lsu -> ld, by popular request. 2000-11-26 17:44:02 +00:00
ad
ee170a5528 Avoid a possible stall. 2000-11-26 16:16:04 +00:00
takemura
3c9d9276dc Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().
2000-11-26 11:08:57 +00:00
simonb
d76cf8b502 Add multiple include detection - all userland installed headers are now
safe.
2000-11-26 06:03:24 +00:00
christos
12269bd46c Don't try to use ultra-dma on sis chips with revision 0xd0. It loses
immediately with a lost interrupt on udma mode 2, downgrades to mode 1
at which point it silently corrupts data on high disk activity. This
happens on two out of 3 machines I own that exhibit high disk activity.
2000-11-26 04:59:18 +00:00
nisimura
2e93099aff Replace sfb_copycols() which can run better job in some degree.
It still fails on certain conditions, thus is left commented out.
copycols() is done by a generic routine which works correctly.
2000-11-25 11:43:42 +00:00
tsutsui
1e1862bc57 Add another font from 4.4BSD-Lite2/luna68k. 2000-11-24 15:47:15 +00:00
nisimura
b974ee7790 Add TC option card descriptions, which are commented out before NetBSD/pmax
yields local implementations to them.
2000-11-24 05:02:26 +00:00
chs
fa19fe52db adjust the spinlock macros in the non-MULTIPROCESSOR, non-LOCKDEBUG case
so that gcc will think that static spinlock are used.
this allows us to remove the ugly conditionalization of
static spinlock declarations.
2000-11-24 03:59:07 +00:00
chs
f6b62f776c avoid division and remainder operations for devices where
the sector size is DEV_BSIZE (ie. practically everything).
2000-11-24 00:17:35 +00:00
nisimura
0661e6718b - fix an error in uninitialized variable reference.
- add a missing function argument declaration.
- minor comment adjustments.
2000-11-22 06:59:08 +00:00
soren
efadefb53f In uhci_intr(), only warn about power state confusion if the
interrupt was actually for us.
2000-11-22 05:50:59 +00:00
soren
a622a1b6d2 Remove obsolete comment. 2000-11-22 00:32:24 +00:00
tsutsui
690b28f91e Add a couple of fonts used on Sony NEWS.
Generated from (recently removed) sys/arch/newsmips/dev/fnt{,24}.c.
2000-11-21 11:44:45 +00:00
nisimura
ce10334de9 Fix errors in color lookup table initialization. Glyph is rendered
in visible color now.
2000-11-21 07:42:02 +00:00
soren
290a66c213 Reduce probe noise. 2000-11-21 05:23:37 +00:00
soren
1a5d87c9fa Regen. 2000-11-21 00:25:43 +00:00
soren
219abdb871 Typo. 2000-11-21 00:25:35 +00:00
soren
6faa85c6d3 Note 3Com card support. 2000-11-21 00:25:20 +00:00
soren
6f8985cf15 Regen. 2000-11-21 00:25:04 +00:00
soren
7736bcc821 Add Prolific printer adapter. 2000-11-21 00:24:12 +00:00
soren
e38c89a886 s/iRDA/IrDA/ 2000-11-21 00:20:30 +00:00
jdolecek
1964a728da add moxa 2000-11-20 19:27:16 +00:00
jdolecek
c27af44fc0 Add an attachment for MOXA 168P isa multiport card. This code was
written by Christoph Badura.
This was reported to work by user of this code. It's not tested
by me, but it's probably more useful in tree anyway.
2000-11-20 19:24:39 +00:00
onoe
2819c7b688 Use DMA from mbuf instead of copy in transmit.
Still use memcpy in receiving because we must use buffer fill mode
	and many packets may share single receive buffer.

XXX: Workaround(?) for CXD3222: it fails to DMA for selfid packet according
to code placement. I'm not sure about the reason (cache? timing? bug?).

Fixed the bug: transmitter sometimes stop and OACTIVE bit of if_fw
never be cleared.
Fixed the bug: freeing free buffer.

Enable ieee1394_drain and ieee1394_watchdog for loss of fragment.
2000-11-20 12:12:18 +00:00