Commit Graph

13744 Commits

Author SHA1 Message Date
mark
a89dd06bf2 Removed unused variables and prototypes for the benefit of -Wall -Werror. 1998-01-18 03:42:58 +00:00
mark
56fc27b288 Removed unused variables for the benefit of -Wall -Werror. 1998-01-18 03:39:23 +00:00
thorpej
e62d894d7a Implement a prefetch spill page for SGMAP DMA. This works around a slight
annoyance on systems that prefetch the next page during memory -> device
DMA if the DMA comes within a certain distance of the end of the current
page.  This could cause machine checks since the PTE after the last page
would not have the valid bit set.

(I'm not going to complain about this slight kludge too much, since prefetch
makes DMA much faster...)
1998-01-18 00:05:33 +00:00
scottr
35e9372060 Add entries to the intvid_info table that are equivalent to
the (in)famous MADHATTER patch.  The only one that has been
tested is the Q700, however, so the rest are conditionalized
on the MADHATTER option until they can be verified.
1998-01-17 23:10:22 +00:00
thorpej
8df306036a Initialize s/g DMA registers in the same order as the CIA chipset's:
(1) window base
	(2) window mask
	(3) translation base
1998-01-17 22:46:55 +00:00
thorpej
3366b987d0 Put SGMAP-related stuff in the DMA map structure directly, rather than
indirecting through a pointer.
1998-01-17 21:53:52 +00:00
mark
405e360fa4 Include dev/scsipi/atapi_all.h 1998-01-17 20:00:59 +00:00
scottr
8df1b7a0f8 Now, correct the problem the correct way: s/cfattach/cfdriver/ 1998-01-17 17:32:07 +00:00
scottr
696871f9e3 Back out previous change. 1998-01-17 17:28:35 +00:00
pk
23d53501bd A small optimization. 1998-01-17 15:02:17 +00:00
scottr
5f3c1d48e0 We haven't needed a driver-specific minphys() for quite some time now. 1998-01-17 09:27:03 +00:00
mark
f62b027476 Include sys/user.h for the benefit of pmap_activate(). 1998-01-17 07:14:11 +00:00
mark
1c08f38f54 Fix cfdriver declaration broken in recent config change. 1998-01-17 07:06:45 +00:00
thorpej
63db8935a6 Fix initialization of DMA window 0:
- Make sure the page table is aligned to at least 32k.
- Don't consider the MEMCS signal when checking for a window hit.
1998-01-17 03:43:59 +00:00
thorpej
9554b5a243 Update for "minptalign" argument to alpha_sgmap_init(). 1998-01-17 03:40:32 +00:00
thorpej
399f3639cf Don't assume that we'll be using direct-mapped DMA for PCI. 1998-01-17 03:39:51 +00:00
thorpej
361179df26 Make debugging decisions at run-time, and place a handy DDB breakpoint
after a transfer has been mapped in the page table.
1998-01-17 03:38:51 +00:00
thorpej
2981fec2f0 Allow specification of a minimum page table alignment to alpha_sgmap_init().
This is to work around an apparent hardware bug in some 2117x chipsets
where the page table must be aligned to at least 32k.
1998-01-17 03:37:22 +00:00
leo
123d97732f Be more accurate with errors on read(2) (as suggested by Ted Lemon). 1998-01-16 09:19:37 +00:00
leo
bb4f2f4ebe Add: bus_space_{read,write}_region_N() and bus_space_set_{multi,region}_N()
functions.
1998-01-16 09:17:48 +00:00
sakamoto
b1bde3fc9e initial import of bebox kernel loader. 1998-01-16 04:17:36 +00:00
sakamoto
538f1fec20 initial import of bebox kernel loader. 1998-01-16 04:07:35 +00:00
sakamoto
ea7c4f2cab Data structures passed from the boot loader to the kernel 1998-01-16 04:04:14 +00:00
thorpej
cf591e644b Generate dependencies on the VM86 option. 1998-01-15 22:25:52 +00:00
thorpej
6254765e6a Make this compile again after recent config changes. 1998-01-15 22:22:09 +00:00
thorpej
032c433933 Just commit to using MACHINE_NEW_NONCONTIG. 1998-01-15 22:20:15 +00:00
is
632b1123ba struct cfdrivers are emitted by config(8) into ioconf.c, nowadays. Delete
mainbus_cd here.
1998-01-15 21:55:51 +00:00
thorpej
1484fa567d Generate dependencies on the CPU type options (I386_CPU, I486_CPU, ...) 1998-01-15 19:47:36 +00:00
leo
dc8f785187 Make this compile again after the latest config changes. 1998-01-15 13:06:27 +00:00
thorpej
2cfef7a0ec Oops, something snuck in there that shouldn't have... 1998-01-15 07:40:06 +00:00
thorpej
86adfd8033 Switch to MI IDE drivers, add ATAPI devices. 1998-01-15 07:17:19 +00:00
thorpej
c60855e116 Switch to the MI IDE drivers. 1998-01-15 07:09:24 +00:00
thorpej
f127dfb6f0 Undo the wdc -> awdc mapping kludge. 1998-01-15 07:02:21 +00:00
thorpej
76e4297b91 No longer needed; we use the MI IDE driver now. 1998-01-15 07:01:51 +00:00
thorpej
525b092c2e Get include file paths correct. 1998-01-15 06:15:08 +00:00
thorpej
1f93872e5c Kludge around i/o port overlap w/ the "wdc" driver. 1998-01-15 06:11:55 +00:00
cgd
d6e5187749 add 'sd* at atapibus? drive ?' to all kernel configs already containing
an analogous line for 'cd'.
1998-01-15 02:26:26 +00:00
cgd
4fdd07b4c5 remove 'ata' interface attribute. it now is define in the MI conf/files. 1998-01-14 23:56:23 +00:00
cgd
ad141a69a7 Shuffle wd/wdc driver files around (via repository copies). wdc
now lives in dev/ic, wd now lives in dev/ata.  there's now a 'ata'
interface attribute defined in conf/files, but wdc can't go there
yet because some ports still use private versions based on the old
ISA version.
1998-01-14 23:36:30 +00:00
drochner
09354842c5 from Dave Burgess per PR4620:
-base address 0x308 is supported by more Wangtek QIC tapes than 0x300
-Ultrastor ISA SCSI adapters can't be set to base address 0x334
  (changed to 0x340)
1998-01-14 15:27:43 +00:00
pk
866632416e Fix a border case when committing physical pages to the VM system;
rename some variables in the process for clarity.
1998-01-14 14:49:29 +00:00
cjs
61826c3946 Make INSTALL a fully-loaded kernel (for booting from network or CD), and
INSTALL-FLOPPY a stripped-down version to fit on a floppy.
1998-01-13 23:49:31 +00:00
pk
1842a317c3 Fix parenthesis inbalance. 1998-01-13 20:53:38 +00:00
pk
1195f3d8a9 Add fkbyte(), which is like fubyte() but for kernel addresses.
Only used at this moment to work around unexplained transient bus
errors when reading the VME interrupt vector in bus control space.
1998-01-13 20:51:01 +00:00
scottr
4c69a8b2ea Update for bus.h changes. 1998-01-13 19:15:32 +00:00
scottr
5b4a54759d Conform to spec, and make bus_space_copy() handle overlapping copies.
From Jason Thorpe.
1998-01-13 18:32:15 +00:00
mrg
057795048f this is the i386 MD portion of the MACHINE_NEW_NONCONTIG code, as
written by chuck cranor.  thanks to mycroft for helping me find the
one little line of code i accidentally deleted while merging it.

this is not enabled by default.  `options MACHINE_NEW_NONCONTIG'
will use this code.  eventually, this should go into <machine/vmparam.h>
insteaed of MACHINE_NONCONTIG.
1998-01-13 12:52:16 +00:00
sakamoto
7b093957d3 interrupt name change "softtty" -> "softserial" 1998-01-13 03:52:49 +00:00
thorpej
687449a900 Update for changes to config. 1998-01-13 02:09:58 +00:00
pk
a8dda8092d Commit to MACHINE_NEW_NONCONFIG. 1998-01-13 00:58:56 +00:00