Commit Graph

36043 Commits

Author SHA1 Message Date
thorpej
12809e3434 If mapping only one segment of DMA memory into KVA space, use K0SEG. 1998-01-19 03:12:20 +00:00
sakamoto
5f78a36791 Add findcpuspeed for delay() and to pass to the kernel(BUS FREQ information).
some bug fix.
1998-01-19 03:00:55 +00:00
thorpej
c6d1f2e018 G/c LANCE DMA allocation goop. 1998-01-19 02:57:28 +00:00
thorpej
e5e8573d5c Allocate the LANCE DMA area and set it up here. This is still not
optimal (really should be done further down the food chain), but we
can't really do that in a nice way right now, and this is much better
than what we had before (which was to steal memory pages before the
VM system was bootstrapped).
1998-01-19 02:56:05 +00:00
thorpej
bf92ae27ef Pass a pointer to the "get this slot's DMA tag" function pointer to
the tc instance just like we do with the interrupt functions.
1998-01-19 02:54:24 +00:00
thorpej
806e953f2c Get the per-slot DMA tag a bit differently. 1998-01-19 02:53:29 +00:00
thorpej
70da5cdba9 G/c an unused function pointer. 1998-01-19 02:53:03 +00:00
sakamoto
7bffb69b4c Add btinfo_clock for BUS FREQ information.
some fix.
1998-01-19 02:52:02 +00:00
thorpej
8454673f87 Add "get this slot's DMA tag" function pointer on the Alpha. 1998-01-19 02:51:40 +00:00
thorpej
b5d3e43553 On the Alpha, pass down per-slot DMA tags to children. 1998-01-19 02:50:58 +00:00
thorpej
0546538aa8 Don't prototype ioasic_lance_dma_setup() on the Alpha. 1998-01-19 02:50:19 +00:00
thorpej
e1fed5afa0 Make sure the LANCE DMA area has been allocated, and don't call
ioasic_lance_dma_setup() on the Alpha; the DMA area is allocated differently
on that platform now.
1998-01-19 02:49:48 +00:00
sakamoto
9b5302f3da eliminate unnecessary declaration. 1998-01-19 02:47:33 +00:00
sakamoto
5a1a1979bb eliminate unnecessary code.
include dev/ic/i8253reg.h instead of timerreg.h
1998-01-19 02:20:55 +00:00
sakamoto
0075503ee7 Sync with arch/i386/isa/pccons.c 1998-01-19 01:49:43 +00:00
hubertf
fdbf4d9eec Quote filenames handed off to tar, chmod, chown. (Fixes possible security
problem discovered while looking at pkgsrc/audio/tracker).
1998-01-19 00:24:03 +00:00
lukem
512b1ee76d add ftp.dk.netbsd.org (sunsite.auc.dk) 1998-01-18 23:24:39 +00:00
lukem
6ab4bdf006 define MAX_IN_PORT_T and use instead of USHRT_MAX. suggested by cgd@netbsd.org 1998-01-18 22:09:39 +00:00
ragge
01eb1bb746 Make kernel compile & run again after latest config changes. 1998-01-18 22:09:13 +00:00
ragge
afb1a37379 Fix page size initialisation. 1998-01-18 22:07:50 +00:00
ragge
37f6125fdd Garbage-collect unnecessary functions. Don't have blkcpy/blkclr
as inline.
1998-01-18 22:06:01 +00:00
kleink
acb9e4216c Enhance readability by converting to use -mdoc macros. 1998-01-18 20:59:26 +00:00
is
e6a5f48a4d Add description of the Amiga BB060STUPIDROM option. 1998-01-18 19:07:19 +00:00
is
1b6d407e88 Mention M68020 option, and correct M060SP option description. 1998-01-18 18:43:54 +00:00
drochner
32d94859ea adapt to changed <dev/ic/i8042reg.h> 1998-01-18 14:45:10 +00:00
drochner
2562f77567 Don't define absolute ISA addresses here but offsets into the
"controller window".
1998-01-18 14:41:37 +00:00
lukem
7ee412ebee * ensure buffer for username is initialised, so ^D on username prompt
doesn't use garbage for the username.  from "Soren S. Jorvang" <soren@t.dk>
  in [bin/4559]
* use in_port_t for ports, and USHRT_MAX instead of 0xffff
  (from millert@openbsd.org)
* use `NULL' instead of `(.... *)0' where appropriate.
1998-01-18 14:23:33 +00:00
lukem
ac591fc02c * implement -x; sort columns across the page rather than down the page
* in printcol(), don't bother building an index to the linked list if
  only printing one column with printscol()...
* implement -n; prevent [gu]id->name mapping in long listings.
  inspired by openbsd, but does *not* imply -l by itself.
* fix sorting with -d (or mismatched types in general).  (from openbsd).
* document -g. (from openbsd).
1998-01-18 13:30:03 +00:00
lukem
7b4851649d use bindresvport for rresvport (from freebsd). old code #if 0-ed out 1998-01-18 06:22:19 +00:00
mellon
ac489008ad In syn_cache_get(), don't free incoming packet before jumping to resetandabort, but do free it after sending the reset. 1998-01-18 05:56:15 +00:00
gwr
2628e0df8a Add the sif_macaddr member to struct saif, which can be used
in version 3.X PROMs (gets our Ethernet address).
1998-01-18 05:24:38 +00:00
mark
3f9be879af Removed unused variables and prototypes.
Added missing prototypes.
1998-01-18 04:55:20 +00:00
mark
ce9284e134 Make sure halt() is prototyped. 1998-01-18 04:16:06 +00:00
mark
057522ef3f Remove unused variables for the benefit of gcc -Wall -Werror. 1998-01-18 04:13:53 +00:00
mark
3a8b7284b0 Include sys/buf.h for the minphys() prototype.
Fix several printf() format strings.
1998-01-18 04:11:41 +00:00
mark
3224f7c301 Removed unused variables for the benefit of gcc -Wall -Werror. 1998-01-18 04:09:46 +00:00
mark
bb12eeb85a Resync with podules file. 1998-01-18 04:02:53 +00:00
mark
0970bb601c Add IDs for Lingenuity and Castle SCSI cards. 1998-01-18 04:01:42 +00:00
mark
921d5339df Prototype kbdreset(). 1998-01-18 03:51:13 +00:00
mark
773c2f9abb Removed unused variables for the benefit of -Wall -Werror. 1998-01-18 03:48:37 +00:00
mark
56bac34cae Declare a prototype for arm8_clock_config(). 1998-01-18 03:43:46 +00:00
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
thorpej
93e03f92fd Sync PATH with our csh counterpart. 1998-01-17 19:36:40 +00:00
scottr
8df1b7a0f8 Now, correct the problem the correct way: s/cfattach/cfdriver/ 1998-01-17 17:32:07 +00:00