Commit Graph

64377 Commits

Author SHA1 Message Date
scw
b8ce8543eb Always pass BUS_DMA_COHERENT to bus_dmamem_map() when allocating
descriptor/buffer memory.
2003-06-12 19:18:02 +00:00
scw
b751df8807 Tickle the watchdog while doing polled console i/o.
This is especially important if we spend any time in ddb. :)
2003-06-12 19:16:18 +00:00
scw
269144aef4 Disable the watchdog during autoconf of sub-devices.
Some drivers (e.g. pciide(4)) can take long enough to probe that the
watchdog barks before they're done.
2003-06-12 19:14:37 +00:00
fvdl
67c9fa950a OS X still seems to use the old nrpos field in the superblock, and gets
unhappy after NetBSD wrote an Apple UFS filesystem. Just set it to 0
in this case.
2003-06-12 18:50:43 +00:00
thorpej
d0e1416b29 Separate out the immediate value from the input buffer. The immediate
value field can now always be used as an input, and output, or both.

This is especially handy for data movers which can e.g. calculate the
CRC32C of a buffer as it is moved (which requires both a seed [input],
and a place to stash the result [output]).
2003-06-12 17:20:43 +00:00
drochner
0256604827 nuke unnecessary #include <sys/dkstat.h> 2003-06-12 14:44:36 +00:00
simonb
e02e7ca6de Consistency nit- always use "#if defined(foo)" for checking MIPSn. 2003-06-12 14:35:56 +00:00
scw
e05ce46e3e Oops, delete an accidentally committed local change. 2003-06-12 08:47:21 +00:00
scw
0328210bcc Allow <machine/bus.h> to override the definition of BUS_DMA_COHERENT.
For example, machine-dependent code can make it equivalent to
BUS_DMA_NOCACHE if the hardware cannot reliably snoop the bus.
2003-06-12 08:43:07 +00:00
scw
b4e18ad59c Back out the last change after consultation with Matt Thomas. It hurts
platforms with fully functional bus snooping.
2003-06-12 08:30:41 +00:00
scw
afe2393675 In _bus_dmamem_map(), make BUS_DMA_COHERENT behave the same way as
BUS_DMA_NOCACHE.
2003-06-12 07:32:28 +00:00
uwe
faa757d699 Request KBC_SELFTEST in pckbc_cnattach(), hidden under #ifdef
PCKBC_CNATTACH_SELFTEST.  On machines where we boot on cold iron
(e.g. netwinder) we need this to init the pckbc.
2003-06-12 03:34:12 +00:00
uwe
69a7063772 In initarm() turn the LED yellow at the beginning, green at the end.
Rewrite netwinder_restart to be self-contained, when it runs the MMU
is disabled.  Set cpu_reset_address to the physical address of
netwinder_restart, not virtual.
2003-06-12 02:41:32 +00:00
petrov
7c89964036 Use cdevsw_lookup_major. 2003-06-11 22:51:03 +00:00
petrov
175f7ab29d Comment out debug output. 2003-06-11 22:50:12 +00:00
uwe
8580b490b0 Avoid using SIZEOF to compute output section LMAs, it doesn't mix well
with orphaned sections like link_set_*.  Per discussion with Jason
Thorpe <thorpej@netbsd> on tech-toolchain.

Addresses kern/21844.
2003-06-11 21:49:40 +00:00
fvdl
4812bbf71f Avoid bad free() calls for failed allocations. From enami. 2003-06-11 21:36:49 +00:00
scw
e9bb3437d0 - Correct a couple of comments.
- Set AC97_MODR to the right value.
 - Add AC97_FEFIE.
2003-06-11 20:43:01 +00:00
drochner
363a262eb8 G/c DK_NDRIVE.
What's left in this file certainly doesn't belong here...
(hmm - logopedia?)
2003-06-11 17:11:13 +00:00
manu
e4fbe87208 Add COMPAT_DARWIN, and comment out anything related to it. It is too
much experimental to be included into GENERIC kernels.
2003-06-11 16:24:13 +00:00
simonb
f1f77c261e Don't use "return;" as last statement of a void function. 2003-06-11 15:27:57 +00:00
scw
146abc03d1 In ac97_restore_shadow(), make sure to restore the codec's extended
control register if we configured it during ac97_attach().
2003-06-11 14:22:27 +00:00
martin
096ea30c09 Add NETATALK to the list to check if we bail because no ARP is configured. 2003-06-11 10:44:10 +00:00
martin
7f550781cc Fix typpo in #error message. Noted by Pawel Chwalowski in PR 21853. 2003-06-11 10:34:55 +00:00
hamajima
0659c2f915 Support the PowerBook G4 12-inch (and maybe 17-inch).
Kauai ATA, new obio chip, and Japanese keymap for WSDISPLAY_COMPAT_RAWKBD

I tested only 12-inch Japanese model.
2003-06-11 07:35:39 +00:00
uwe
a7ed2dae3d Correct calculation of the blit src/dst for blits we do backwards. 2003-06-10 22:07:38 +00:00
christos
1af7cab082 regen 2003-06-10 19:39:12 +00:00
christos
4267622713 add a Rockwell 33.6K modem 2003-06-10 19:39:00 +00:00
grant
5d17facb78 wrap a debug message in #ifdef PCKBCDEBUG.
ok'd by simonb. fixes my PR kern/18441.
2003-06-10 07:46:29 +00:00
simonb
9e9abd6653 Change MIPS3_SR_FR_32 to MIPS3_SR_FR. Both the old R4000 manual and the
current MIPS64 manuals don't use the "32" in the bit name.
2003-06-10 06:42:06 +00:00
yamt
9c329a66d1 rework zero padding of rpc reply.
- for READ procedure, don't send back more bytes than requested.
- don't have doubtful assumptions on mbuf chain structure.
- rename a function (nfsm_adj -> nfs_zeropad) to avoid confusion as
  the semantics of the function was changed.
2003-06-09 13:10:31 +00:00
simonb
789329a94f Remove definitions and usage of MIPS_COP_0_STATUS_REG and
MIPS_COP_0_CAUSE_REG - use MIPS_COP_0_STATUS and MIPS_COP_0_CAUSE
instead.
2003-06-09 12:20:37 +00:00
ichiro
5dfe78bf25 fix bug report - xsrc/17810, kern/16898
add AGP configuration registers for i840/855PM, i840/i850E, 82443LX/BX/GX
Although there chips are well alike, but initialization and so on procedures differ.
2003-06-09 12:16:42 +00:00
simonb
519e8df6a1 Don't use magic numbers in asm code (use MIPS_COP_0_STATUS instead
of "12").
2003-06-09 07:46:20 +00:00
reinoud
9af716fd9a Make smbfs work on NetBSD/acorn32 ! it missed an entry in majors.acorn32
and an entry in the MAKEDEV
2003-06-08 20:12:33 +00:00
grant
42ddc68577 regen 2003-06-08 13:34:23 +00:00
grant
c1b1b84e38 add another vendor ID for OnSpec Electronic Inc. 2003-06-08 13:33:16 +00:00
ichiro
f49da6da4c regen. 2003-06-08 13:21:05 +00:00
ichiro
a29f92abcd add product ID
PRO/Wireless LAN 2100 3B Mini PCI Adapter
2003-06-08 13:19:27 +00:00
thorpej
47edad1115 Always queue transfers in the ld driver to prevent transient resource
shortages in the back-ends from aborting transfers.

Reviewed by ad@.
2003-06-07 23:37:24 +00:00
augustss
be0211e579 Regn. 2003-06-07 17:01:24 +00:00
augustss
6c3bbf2a48 Eicon diva 852 isdn ta support. From Pavel Arnost, PR kern/21818. 2003-06-07 17:00:41 +00:00
reinoud
0e1ab03bd7 Fix a botch in a boolean expression. Thanks to Martim Husemann for the fix
:)

PR kern/21816: Big DVD's with cd9660 fs (can) crash Alpha can be closed
allready :)
2003-06-07 12:00:07 +00:00
wiz
84e5042a23 regen (Add some Brooktree device IDs). 2003-06-07 09:15:32 +00:00
wiz
9e9a81c51d Add some Brooktree device IDs. 2003-06-07 09:15:00 +00:00
wiz
3ec551681e regen (+ATI 9100, 9600TX, 9500/9700) 2003-06-07 09:08:01 +00:00
wiz
da8f7eccaa Add ATI Radeon 9100, 9600TX, 9500/9700. 2003-06-07 09:07:12 +00:00
ichiro
7cfd4a5b87 regen. 2003-06-07 05:08:45 +00:00
ichiro
597ee3be5a add productID of ATI 2003-06-07 05:07:52 +00:00
ichiro
cb894592f4 regen. 2003-06-07 04:29:48 +00:00