Commit Graph

36931 Commits

Author SHA1 Message Date
sakamoto e6ebe3f36f Add avail_end for DMA (temporary). 1998-02-12 05:16:06 +00:00
lukem d3fed48809 revert; we can't break the existing ABI and API 1998-02-12 03:52:12 +00:00
lukem e8664c7183 revert; we can't break the existing ABI and API 1998-02-12 03:32:51 +00:00
cgd 5a1a26d325 set 'hwrpb' in a way that works exactly the same way as the previous
code, but looks significantly less gross.
1998-02-12 02:54:02 +00:00
cgd c7ba12ab93 rename struct rob's "rpb" element to "rpb_phys" for clarity. also,
change its type from a pointer to a never-defined structure to a
u_int64_t.
1998-02-12 02:27:48 +00:00
lukem ce147c1c1c revert; we can't break the existing ABI and API 1998-02-12 01:57:27 +00:00
cgd 92d17b5b50 clean up the way bootinfo information is passed and used: move the version
number passed by the boot block into a register, change the kernel's
bootinfo handing so that it always uses bootinfo to get bootinfo-ish values
(filling them in if the boot blocks didn't pass them), and make versioning
a small bit more sane.
1998-02-12 01:53:18 +00:00
sakamoto eef219fd43 Sync with powerpc/include/endian.h 1998-02-12 01:28:48 +00:00
sakamoto 4a3839dbdd Sync with powerpc/include/ansi.h 1998-02-12 01:21:10 +00:00
sakamoto fcfdcaa513 Sync with port-i386. 1998-02-12 01:19:04 +00:00
sakamoto 4429e5c5fe Import memory disk filesystem hook from port-i386. 1998-02-12 01:03:58 +00:00
lukem 423e29d2ec revert; we can't break the existing ABI and API 1998-02-11 23:01:22 +00:00
lukem 88a058d32b revert to 1.6; we can't break the existing ABI and API 1998-02-11 22:53:13 +00:00
lukem 27c585ce51 revert to 1.7; we can't break the existing ABI and API 1998-02-11 22:52:38 +00:00
lukem 6dabc120ba revert to 1.5; we can't break the existing ABI and API 1998-02-11 22:46:41 +00:00
lukem c889fe8fd3 revert to 1.9; we can't break the existing ABI and API 1998-02-11 22:41:30 +00:00
gwr 948e07a5ec remove ifdef sun3x 1998-02-11 19:42:29 +00:00
gwr a3e7f95941 Add fd0 1998-02-11 19:33:56 +00:00
gwr 1a78005b10 Build both sun3 and sun3x kernels 1998-02-11 19:19:53 +00:00
gwr 78a878423e see ../etc.sun3 1998-02-11 19:06:28 +00:00
bouyer 0435e7ea98 Correct a bogosity in the adapter->mii attach code pointed out by cgd:
in pci/if_tl.c, call config_found() with a print function, instead of
printing ourself a message in if_tl.c if no miibus was found. The print
function is in mii/mii.c (mii_adapter_print()) so that it can be used by any
adapter (idea from the scsi system).
1998-02-11 19:02:11 +00:00
perry a4539d646c Add __NetBSD_Version__, add some comments. 1998-02-11 18:56:59 +00:00
gwr e76179d0fb Remove man?.sun3x 1998-02-11 18:52:25 +00:00
kleink 59ea4930e2 Change interval specification style from (a-b) to [a,b] where appropriate. 1998-02-11 18:52:24 +00:00
gwr d72e66ff2c see ../man8.sun3 1998-02-11 18:49:42 +00:00
gwr 5db62a8c44 see ../man4.sun3 1998-02-11 18:46:59 +00:00
thorpej 64d53d1252 Add UVM hooks. 1998-02-11 18:30:37 +00:00
kleink f500bb1c0f Fix Thorsten Lockert's attribution. 1998-02-11 18:30:32 +00:00
bad 8a0d3fa9d7 Make this compile with -DUVM. 1998-02-11 17:27:37 +00:00
is 1174dff7b7 Warn about possible Ariadne problem. 1998-02-11 17:23:16 +00:00
mrg 0e91aec6e2 while it is still kinda broken, at least let it compile -DUVM... 1998-02-11 12:00:37 +00:00
mrg 6a324bffbd make these work with -DUVM 1998-02-11 11:57:21 +00:00
lukem a40a10e320 use u_int32_t instead of size_t... 1998-02-11 11:52:52 +00:00
lukem 29c82e2ef6 use u_int32_t instead of size_t for oa_length 1998-02-11 08:05:54 +00:00
lukem 279cdc6c6d fix up type insanity for clntudp_create (thanks to thorpej who found this) 1998-02-11 07:57:55 +00:00
lukem cb9265e7ca use u_int instead of size_t in clntraw_control (oops!) 1998-02-11 07:50:07 +00:00
mrg 3c9dd3f03a oops, forgot to add support for UVM here. 1998-02-11 06:30:11 +00:00
thorpej c26f962957 Use kernel_map in bus_dmamem_{map,free}(). 1998-02-11 03:08:31 +00:00
thorpej cb9500aac0 Fix for defopt'd UVM and PMAP_NEW. 1998-02-11 03:05:35 +00:00
thorpej e9017a5ab3 Use kernel_map in bus_dmamem_{map,free}(). 1998-02-11 03:03:52 +00:00
thorpej bdecbe552b Use M_DMAMAP where appropriate. 1998-02-11 01:50:36 +00:00
thorpej 30aa56fc66 Use M_DMAMAP where appropriate. 1998-02-11 01:37:51 +00:00
thorpej 841fb8fd54 Don't try to dynamically create and destroy DMA maps. Instead, keep
it simple, and allocate one for each transmit and receive descriptor.

In addition to being simpler and faster, this fixes a serious memory leak
in the transmit path.
1998-02-11 01:28:22 +00:00
cgd e21b7a5995 leave space for bootstrap stack when calculating kernstart 1998-02-11 00:05:33 +00:00
cgd c62f53ae70 allocate temporary storage for directory list, rather than clobbering
argv (yuck!).
1998-02-10 21:52:51 +00:00
thorpej ce61ddb564 Add an M_DMAMAP malloc type, for bus_dma data structures. 1998-02-10 21:46:47 +00:00
thorpej 6e899bb965 Clear the scsipi_xfer's status byte before executing the command. This
fixes a condition where stale data can be left in the status byte, causing
user programs that interpret it to fail.

Fixes kern/4964 from Chris Jones <cjones@honors.montana.edu>.
1998-02-10 19:48:51 +00:00
kleink ed9f037214 Fix EDQUOT and EIDRM, add ENOMSG. 1998-02-10 17:45:06 +00:00
kleink 552ec236a0 Map ENOMSG. 1998-02-10 14:37:38 +00:00
mrg d90485202c - add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00