Commit Graph

88154 Commits

Author SHA1 Message Date
augustss
57fa13c920 Add autri(4). 2001-11-18 16:48:13 +00:00
augustss
d774666fd6 Add autri(4) man page. 2001-11-18 16:46:49 +00:00
bjh21
5fbb068685 Remove printf from pmap_clear_modify; it triggers too often. 2001-11-18 15:57:23 +00:00
bjh21
b5dff60f89 Several changes (sorry!):
Refuse to clear the modified bit on a page if it has a writeable kernel
mapping.  I'm not sure this is the right thing to do, but since further
writes to the page won't set the bit again, it's safer than clearing it,
and makes NFS writes work properly.

Add debugging code for modified-bit emulation, which checksums
allegedly-unmodified pages to see if they're _really_ unmodified.
Disabled by default because it's slow.

In the process, fix a bug in pv_release whereby the modified bit for a
page got cleared when its last mapping was removed.  This seems to finish
the NFS write fixes started by the first change above.
2001-11-18 15:47:36 +00:00
kleink
81611660e5 Fix printf format in DEBUG case. 2001-11-18 15:30:43 +00:00
bjh21
dbd735b9b1 Need bsd.sys.mk for the GROFF definition in the non-USETOOLS case. 2001-11-18 15:11:25 +00:00
tsutsui
aca8e01877 - Use MI ADAPTER_REQ_SET_XFER_MODE callback
- Move values in sc_sync[] member to sc_tinfo[]
- Change some u_int8_t values to int
- Remove unused wide negotiation states
- Misc cleanup
2001-11-18 14:50:11 +00:00
tsutsui
689089f7a9 - Use MI ADAPTER_REQ_SET_XFER_MODE callback.
- Nuke some magic numbers.
2001-11-18 14:33:10 +00:00
jdolecek
1dae310858 fix typo 2001-11-18 13:48:00 +00:00
jdolecek
bf65eb50af add appropriate cast to debug printf 2001-11-18 13:29:29 +00:00
bjh21
0d20115da8 Match multiple-include-protection macros to name of file. 2001-11-18 13:10:57 +00:00
bjh21
306ca6424a Roll back last change. Acorn32, being a major port, shouldn't switch to ELF
until the ABI is finalized.
2001-11-18 13:09:27 +00:00
tsutsui
acd87a7687 Misc cleanups:
- correct trm_clock_period[] value
 - pass BUS_DMA_{READ,WRITE,STREAMING} to bus_dmamap_load() as appropriate
 - make sure to call bus_dmamap_unload() even after request sense
 - saved srb params on request sense do not seem to be used,
   so remove them from struct trm_srb
 - handle target status more properly in trm_srb_done() and no need
   to handle error retry in lower driver layer
 - fix some comments

XXX Maybe need more cleanup around TQING for MI SCSI callback..
2001-11-18 13:02:30 +00:00
kleink
59935b6103 Add a bus_space_mmap(9) link. 2001-11-18 12:10:59 +00:00
kleink
735f41a128 Create a bus_space_mmap(9) link, too. 2001-11-18 12:02:13 +00:00
thorpej
38b076b60c zsc does not needs-count 2001-11-18 08:24:33 +00:00
thorpej
431af33735 Tweak for HPC autoconfig changes. 2001-11-18 08:21:38 +00:00
takemura
1d1d5c87af Rewrite bus stuff with method table in the bus tags. 2001-11-18 08:19:39 +00:00
thorpej
be010c72ef * Clean up HPC autoconfiguration a little. Pass device register and
DMA register offsets, as well as IRQ, to children.  Use direct
  config.  Use machine type/subtype to determine which devices are
  present.
* Add support for the second SCSI controller on the Indigo2.
2001-11-18 08:16:15 +00:00
mrg
eeaa44ea8e note linksys prism2 support. 2001-11-18 06:38:23 +00:00
briggs
fd5f7080b3 Correct operation of non-pseudo-DMA mode. Used on 660 & 840 AV models.
From Takeshi Shibagaki<ie9t-sbgk@asahi-net.or.jp>.
2001-11-18 05:22:32 +00:00
thorpej
8edf2c6d98 * Add a callback to the front-end for the 33c93 driver to reset
the controller/SCSI bus.
* Implement controller/SCSI bus reset on SGI HPC3 SCSI using the
  "channel reset" bit in the SCSI DMA channel control register.
2001-11-18 05:14:38 +00:00
mrg
dbcf46ce8a match the linksys prism2 card. 2001-11-18 04:27:49 +00:00
mrg
9d4995d7d6 regen 2001-11-18 04:26:16 +00:00
mrg
fa216ca465 add entries to allow one to match:
The Linksys Group, Inc., Instant Wireless Network PC Card, ISL37300PRevA
2001-11-18 04:25:43 +00:00
hubertf
e7d1bd3418 Fix typo (etc/config -> etc.config)
Pointed out by Robby Griffin <sysadmin@terc.edu> in  PR 14603.
2001-11-18 03:50:53 +00:00
simonb
0f3507ed9c White space nit. 2001-11-18 03:47:53 +00:00
someya
9c13958025 add autri (Trident 4DWAVE based AC'97 audio) 2001-11-18 03:24:38 +00:00
someya
275c5352b7 add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver 2001-11-18 03:16:02 +00:00
augustss
0f70418027 Add more fields to hardware structs.
Add memory allocation for various data structures.
2001-11-18 00:39:46 +00:00
gmcgarry
2cabf5a2e2 Update for new RTC and HIL attachments. 2001-11-17 23:56:21 +00:00
gmcgarry
8efcc1d46b Convert hil to standard device attachment. 2001-11-17 23:53:37 +00:00
gmcgarry
4d380420ae Use new RTC attachment. 2001-11-17 23:51:03 +00:00
gmcgarry
d9b1140ca5 Merge some fixes from clock.c, revision 1.23. 2001-11-17 23:48:15 +00:00
gmcgarry
257f825d26 Device attachment for the real-time clock. 2001-11-17 23:38:32 +00:00
gmcgarry
3cf284349d Update for new intio parent interface. 2001-11-17 23:35:31 +00:00
gmcgarry
224cd45a75 Overhaul the intio device attachment. Devices are direct connected and
attached based on machine id.
2001-11-17 23:33:22 +00:00
gmcgarry
3acacb5fc1 Make hil interrupts come through the standard dispatch mechanism rather
than its custom handler.
2001-11-17 23:29:08 +00:00
gmcgarry
40aa97f8b1 For INTIO space, use an offset for the mapping rather than the physical
address.
2001-11-17 23:26:55 +00:00
gmcgarry
4b62b5b023 Don't try to mmap the framebuffer as executable. Fixes MMU faults
when executing the X server.
2001-11-17 23:25:04 +00:00
thorpej
72915508bb Protect from multiple inclusion. 2001-11-17 22:55:24 +00:00
thorpej
b78cf94ba5 Make sure MKDEP is defined for the non-USETOOLS case. 2001-11-17 22:48:48 +00:00
manu
86349adc0d Make it build again after recent MIPS cache code changes 2001-11-17 22:13:38 +00:00
tsutsui
11a1ddc5dd - make sure to call bus_dmamap_unload() even after request sense
- fix usage of scb flags
- misc cleanup
2001-11-17 21:26:12 +00:00
manu
cb5cba1cf3 Fixed typos 2001-11-17 20:49:14 +00:00
thorpej
c08a9b5abe Need bsd.sys.mk for the GROFF definition in the non-USETOOLS case. 2001-11-17 20:38:45 +00:00
kleink
852f87fe13 i386_memio_mmap(): return -1 to indicate failure, not EOPNOTSUP. 2001-11-17 19:32:03 +00:00
kleink
4a41ec8583 In fdopen():
* Defer deref'ing of `un' until it's been initialized.
* Kludge around a false-positive uninitialized warning.
Brought to you by the graces of GCC 2.95.3.
2001-11-17 19:00:25 +00:00
perry
2928420f88 delint -- you can't cast an lvalue 2001-11-17 18:56:46 +00:00
kleink
117651c65e Can't pass temporary storage to an inline assembly statement as input
operand; debunked by GCC 2.95.3 as uninitialized.
2001-11-17 18:55:57 +00:00