Commit Graph

1831 Commits

Author SHA1 Message Date
eeh
a2dd74ed79 Merge paddr_t changes into the main branch. 1998-08-13 02:10:37 +00:00
mjacob
5ad5bb35af minor change to make the message less linux like 1998-08-12 00:03:23 +00:00
mrg
ca7ad3aff1 make this compile in a not SUN4M world. 1998-08-09 23:37:12 +00:00
kleink
546365a27e _POSIX_SOURCE -> _POSIX_C_SOURCE 1998-08-06 11:25:04 +00:00
pk
6c727e1651 dvma_malloc(), dvma_mapin() and dvma_mapout() are gone; all drivers
the use bus_dma(9) interface now.
1998-07-31 22:35:07 +00:00
pk
359cf8c23d Move `dvma_cachealign' here from vm_machdep.c 1998-07-31 22:23:30 +00:00
pk
a0818b4b8b Use bus_dmamem_alloc/bus_dmamem_map. 1998-07-31 22:21:35 +00:00
pk
519f1f7f0e Convert to bus dma. 1998-07-31 15:53:11 +00:00
mycroft
a24dbc8065 (Always) (practice) (safe) (macro expansion). 1998-07-31 15:07:41 +00:00
pk
c206cad36e Convert to bus_dma. 1998-07-31 12:45:48 +00:00
thorpej
ecf815f930 Back out previous; it is perfectly reasonable, and desirable, to print out
debugging info ifdef DEBUG.
1998-07-31 02:10:12 +00:00
mjacob
36f9ab27ce >We're not Linux. If we still want driver version strings to be displayed
>at boot, then I suppose DEBUG is a reasonable compromise.
Makes the whole concept useless. This is for default printouts. If you
can build a debug kernel, you know what version you have. This was under
the concept of 'RAS' so that hapless users could tell you microversion
things. But I guess this isn't the right way according to our local
Jesuits. Oh, well. I'll think up something different and hopefully
less objectionable. And yes, NetBSD isn't linux. The developers seem
to be equally bad tempered, but linux is more successful.
1998-07-31 01:56:49 +00:00
pk
af89712b25 Use bus_dma_*() instead of dvma_mapin/dvma_mapout. 1998-07-30 22:42:04 +00:00
pk
32a5557426 Adapt to changes in the base bus_dma* functions. 1998-07-30 22:29:34 +00:00
pk
8a39d7a7fb The IOMMU now has its own dma bus tag and associated functions.
machdep.c retains the `mainbus' (i.e. sun4/sun4c) bus_dma* versions for now.
Create a DVMA map specifically for 24-bit devices (le,ie), which has a
more room than previous DVMA map which should be reserved for sun4 VME.
1998-07-30 22:28:44 +00:00
pk
862c0bafcc Define a BUS_DMA flag for devices that have a 24-bit address space.
Update _bus_dma* prototypes.
1998-07-30 22:20:31 +00:00
pk
741c837f77 Get to DMA map functions through parent tag, instead of calling some base
functions directly.
1998-07-30 18:54:06 +00:00
pk
ab0e92568b <sparc/dev/sbusvar.h> => <dev/sbus/sbusvar.h> 1998-07-29 18:48:54 +00:00
pk
9104b183fa Lots of things have moved to <dev/sbus/sbusvar.h> 1998-07-29 18:45:57 +00:00
pk
402a052405 Deal with sbus attach args changes. 1998-07-29 18:44:22 +00:00
pk
9e4d2f9b53 Switch to new sbus attach arguments layout. 1998-07-29 18:42:32 +00:00
pk
58d952ce7d Deal with sbus attch args changes.
Use sbus_destroy_attach_args().
1998-07-29 18:37:23 +00:00
pk
426330f642 We no longer need to get the register sets by ourselves. 1998-07-29 18:36:08 +00:00
pk
718ff722b7 In the reset() function, preserve the current cable selection bit.
If in auto media select mode, this avoids losing carrier every time
the lance code decides to re-initialize.
1998-07-29 16:10:57 +00:00
pk
9111209fdf In _bus_dmamem_map(), use uvm_km_valloc() to get kernel addresses.
uvm_map() -- which used to be here (why was that?) -- was called with
an uninitialized value in its `start' argument.
1998-07-28 20:46:28 +00:00
thorpej
3ff8e6493a Don't cast the null residual pointer passed to vn_rdwr(). 1998-07-28 18:34:52 +00:00
pk
cc0d537633 GC. 1998-07-28 14:04:08 +00:00
pk
fb7bb1a359 Remove mbppio.h from the list.
Also stop installing db_machdep.h, fbvar.h, z8530.h.
1998-07-28 00:34:56 +00:00
pk
aaadc9459d This file is now in <dev/sbus> 1998-07-28 00:33:35 +00:00
pk
14f4493376 Magma driver has been moved to <dev/sbus>. 1998-07-28 00:19:22 +00:00
pk
fd9017990f Magma driver has been moved to <dev/sbus> 1998-07-28 00:17:47 +00:00
pk
b0f82d5c73 le' and en' now attach to sbus (and lebuffer) in <dev/sbus>
Other `le' front-ends split into separate files.
1998-07-28 00:10:23 +00:00
pk
4ca3b5c079 We no longer use these. 1998-07-28 00:06:23 +00:00
pk
3d9b1710a7 This file is now in dev/sbus. 1998-07-28 00:05:41 +00:00
pk
c7a2e942b0 Split the `le' driver front-ends into separate files.
The sbus and lebuffer front-end have moved to dev/sbus.
1998-07-27 23:59:11 +00:00
pk
eec66e52bd Get headers from <dev/sbus> 1998-07-27 22:34:48 +00:00
pk
d1f03e068a <sparc/dev/sbusvar.h> => <dev/sbus/sbusvar.h> 1998-07-27 19:32:42 +00:00
pk
6cd4c4ea99 Use <dev/sbus/files.sbus>. 1998-07-27 19:20:03 +00:00
pk
db822a6c0a These files are now in <dev/sbus>. 1998-07-27 19:17:50 +00:00
pk
e92f09b2b7 SBU_BURST_* are now in <dev/sbus/sbusvar.h> 1998-07-27 19:16:49 +00:00
mycroft
da2e61d160 Delint. 1998-07-27 13:55:32 +00:00
mrg
36ee8a045b use lebuffer.c from dev/sbus. 1998-07-27 05:49:02 +00:00
mrg
c5e180526b these have moved to sys/dev/sbus. 1998-07-27 05:48:42 +00:00
mrg
06d5ffd2a8 enable kernfs and mfs. 1998-07-27 05:45:17 +00:00
pk
9e8d90ed5c Add a cpu-specific function to flush a pure virtually-indexed/virtually-tagged
cache, which needs to be flushed at context switch.
1998-07-26 23:35:32 +00:00
pk
4998ae50c0 Define hypersparc instruction-cache flush ASI. 1998-07-26 23:29:58 +00:00
pk
c6124a986a This file is no longer used. 1998-07-25 22:19:25 +00:00
pk
6ad50a6691 Allocate physical memory for the pv_table array in bootstrap(), so we
don't have to call VM functions from pmap_init().

Use a memory pool for additional pvlist entries (used for double mappings).

Take care of the cacheable bit on pagetables while we're initializing them,
instead of calling kvm_uncache() afterwards.
1998-07-25 22:01:19 +00:00
pk
91f18e727f Remove conditionals on SUN4C+SUN4M.
A few cosmetic changes.
1998-07-24 21:08:16 +00:00
pk
f836b9e8d3 Drop private page table list maintenance; use memory pools instead. 1998-07-23 21:42:40 +00:00