thorpej
2f55a48f5c
Implement MACHINE_NEW_NONCONTIG and switch the hp300 port to use it.
1998-02-08 18:37:55 +00:00
thorpej
39f8b8c99b
Round allocations to page size in uvm_pageboot_alloc().
1998-02-08 18:27:30 +00:00
thorpej
d319b28938
Round allocations to page size in vm_bootstrap_steal_memory().
1998-02-08 18:24:52 +00:00
tv
40f13df5bc
the *PAGER options were moved to the generic config files, but not moved
...
out of here (causes duplicate opeion errors) -- fix.
1998-02-08 17:46:47 +00:00
mrg
6122fae970
KNF
1998-02-08 16:07:57 +00:00
mrg
bc3395e590
turn of UVM history logging by default.
1998-02-08 14:19:21 +00:00
ragge
c5b2acd27f
Split out MSCP floppies as a separate device (rx) instead of handling
...
them as disk drives. It is now also allowed to change floppies without
the system complaining :-)
1998-02-08 14:03:45 +00:00
thorpej
54aa7dfae0
Correct a think'o I made some time ago, and note that the dump routines
...
here are broken if VME memory cards exist in the system.
1998-02-08 09:33:14 +00:00
mrg
d9b2f81e27
move pdhist initialisation to the same place as maphist. also, declare
...
the history buffers are "struct uvm_history_ent" to ensure proper
alignment (eg, alpha). this fixes a boottime panic when the pdhist was
used before it had been initialised.
1998-02-08 07:52:28 +00:00
thorpej
1305ecbe62
Allow callers of uvm_km_suballoc() to specify where the base of the
...
submap _must_ begin, by adding a "fixed" boolean argument.
1998-02-08 06:15:53 +00:00
gwr
22c20779d0
Rewrite the match/attch routines to use the P4 register
...
(when it exists). Also get the size right; other fixes.
1998-02-08 05:22:08 +00:00
gwr
0378cb2ff6
Define the CG4B_OFF_* values to be relative to the location of
...
the P4 register so the probe routine finds the P4 at off=0.
1998-02-08 05:20:08 +00:00
gwr
99fd045ec0
Add fb_eeprom_setsize() for setting the FB size based on the EEPROM
...
value (to be used only if unit=0). Add P4 helper functions:
fb_pfour_id, fb_pfour_setsize, fb_pfour_{get,set}_video
1998-02-08 05:15:35 +00:00
gwr
ab8340e9da
cosmetic
1998-02-08 05:13:17 +00:00
gwr
0bc9d95f95
Move the sun3-vs-sun3x stuff into std.sun3 and std.sun3x
...
Configure P4 frame buffers at the address of their P4 reg.
Move messy Sun3 bw2 and cg4 configs to included files.
1998-02-08 05:10:45 +00:00
gwr
e3400ad779
Improve some diagnostics.
1998-02-08 05:07:06 +00:00
gwr
5b69e41858
Default the interrupt priority in match functions.
1998-02-08 05:05:54 +00:00
gwr
5193e1e30e
Factor *peek out of bus_subr.c and move it to autoconf.c
...
(to reduce duplication). Add bus_tmapin and bus_tmapout
for use in probe functions (gets a temporary mapping).
Add bus_mapout() to undo bus_mapin() if needed.
1998-02-08 05:02:50 +00:00
gwr
e387ffba22
Add pmap_map
1998-02-08 04:57:58 +00:00
gwr
bb082938e2
Fix pmap_map
1998-02-08 04:56:37 +00:00
pk
cc06ca6693
* Add the "VIPER 150/21531" to quirk list (ST_Q_SENSE_HELP).
...
* Double timeout on tape position commands to 30 minutes. Some units
seem capable of taking that much time.
1998-02-07 23:00:24 +00:00
pk
334b20bbd6
Define a `DMA_FLUSH' macro; dma chip revs 0 & 1 have a different bit
...
to reset the internal state engine.
1998-02-07 22:41:27 +00:00
thorpej
8e8eed4ba7
Create RX DMA maps with ALLOCNOW. These maps are essentially always
...
loaded, and recovering from a resource shortage error is much harder
in the receive case.
1998-02-07 21:13:34 +00:00
thorpej
f955aa86e5
Properly handle error conditions from bus_dmamap_load_mbuf().
1998-02-07 20:40:35 +00:00
augustss
ae3e754e0b
Newly generated version.
1998-02-07 20:07:37 +00:00
augustss
6d9b48ac1d
Fix typo, and commit in the right order.
1998-02-07 20:05:25 +00:00
augustss
c78e3507ba
Add the AGP device in the 82443LX.
1998-02-07 19:32:37 +00:00
chs
abf50cf8c3
add UVM stuff.
1998-02-07 17:28:18 +00:00
chs
50328f94f4
fix initialized variable.
1998-02-07 17:26:34 +00:00
mrg
0a058cb62f
implement counters for pages paged in/out
1998-02-07 17:00:36 +00:00
chs
ea8413cff7
whoops! undo GC, these are still used by OLDVM.
...
not paying attention...
1998-02-07 16:23:35 +00:00
mrg
4ef57d4d22
KNF.
1998-02-07 12:45:53 +00:00
mrg
5e55ce6648
bzero the entire vmspace, like the old vm does. makes ps report sane values of VSZ for swapper/pagedaemon
1998-02-07 12:31:32 +00:00
mrg
e9fbc9f83b
add uvm to the sys list.
1998-02-07 11:52:26 +00:00
mrg
1f6b921cf7
restore rcsids
1998-02-07 11:07:38 +00:00
thorpej
208d979613
Use BUS_DMA_NOWAIT where appropriate. Don't create DMA maps with
...
BUS_DMA_ALLOCNOW.
1998-02-07 10:27:12 +00:00
chs
f64abc7b4c
add flags arg to hashinit(), to pass to malloc().
1998-02-07 02:44:44 +00:00
chs
0711fdaf0b
fix a locking problem by replacing the call to uvm_kernacc()
...
with an inlined version that uses kmem_map instead of kernel_map.
1998-02-07 02:40:36 +00:00
chs
17755a8fae
fix typo in locking.
1998-02-07 02:36:58 +00:00
chs
9b371040ea
keep track of how many pages are currently being paged out,
...
stop initiating new pageouts when "(free + paging) > freetarg".
fix pageq locking.
1998-02-07 02:35:11 +00:00
chs
c2f8ffc062
reserve some pages for the kernel, and some more especially
...
for the pagedaemon allocating from kmem_object. this should
prevent from the pagedaemon running out of memory and deadlocking.
fix counting of wired pages.
add some debugging code to detect attempts to reference free vm_pages.
1998-02-07 02:34:08 +00:00
chs
249efd73a1
enable hashtables for swapslot storage - deadlock is fixed.
...
fix initialization of swhash entries.
use malloc(M_NOWAIT) for creating kernel object.
avoid dereferencing a vm_page once the page has been freed.
1998-02-07 02:32:37 +00:00
chs
39c12db74f
declare aobj_pager, needed in uvm_km.c.
1998-02-07 02:31:06 +00:00
chs
c82ac447df
convert kernel_object to an aobj.
...
in uvm_km_pgremove(), free swapslots if the object is an aobj.
in uvm_km_kmemalloc(), mark pages as wired and count them.
1998-02-07 02:29:21 +00:00
chs
6376c02019
enable paging of kernel_object.
1998-02-07 02:26:46 +00:00
chs
732a925b1b
add locking of kernel_map in uvm_kernacc().
...
check return value of uvm_fault_wire() in uvm_fork().
enable swappings.
1998-02-07 02:26:04 +00:00
chs
29ec5fd8d5
prototype for uvm_map_checkprot() moved here.
...
add uvmexp fields for pagouts-in-progress and kernel-reserved pages.
1998-02-07 02:24:02 +00:00
chs
273ac223ec
prototype for uvm_map_checkprot() moved to uvm_extern.h.
1998-02-07 02:22:24 +00:00
chs
21e2cac359
fix typoes in locking.
...
use M_UVMAMAP instead of M_TEMP for malloc type.
1998-02-07 02:21:29 +00:00
chs
5a7c4f2caa
don't try to relock amap if there isn't one.
1998-02-07 02:19:55 +00:00
chs
7cb9f7e5b1
rearrange a bit for clarity.
1998-02-07 02:18:27 +00:00
chs
098b8c2420
fix typoes in locking.
1998-02-07 02:17:48 +00:00
chs
1f583a43b1
remove locking from UVMCNT counters.
...
they don't need to be exact, and the locking causes problems
in some of places they're used.
1998-02-07 02:16:52 +00:00
chs
d7d62b7ad3
snazzier LOCKDEBUG code.
1998-02-07 02:14:04 +00:00
chs
a4a3a88958
GC unused stuff.
1998-02-07 02:13:00 +00:00
cgd
f1fa872906
don't forget class spec
1998-02-07 00:49:19 +00:00
cgd
5942e0ff3d
initial implementation of OFW ISA bus code and attachments for a few
...
devices. Still a bit rough, but works well enough. Requires a bunch of
machine-dependent glue (since this is, in effect, a MI bus bridge).
1998-02-07 00:46:45 +00:00
cgd
26d7b63bd3
make sure that LORDER, TSORT, AR, NM, RANLIB, and SIZE are correctly
...
and consistently set when doing kernel library builds.
1998-02-07 00:11:29 +00:00
thorpej
6b1ff3c892
When copying out multiple control messages, ensure that the next control
...
message is aligned. From David Borman <dab@bsdi.com>.
1998-02-06 23:19:26 +00:00
thorpej
e08a44b196
- Perform all necessary bus_dmamap_sync() operations.
...
- Greatly simplify allocation and DMA mapping of the mailbox and ccbs.
- Be more robust against resource shortage errors, and report errors better.
1998-02-06 23:06:44 +00:00
thorpej
9eb328b495
RCS ID police.
1998-02-06 22:26:13 +00:00
thorpej
2d1cb11d5b
Allow userland access to pd_entry_t and pt_entry_t, like the old pte.h
...
used to do. Also, RCS ID police.
1998-02-06 21:58:05 +00:00
matt
8098a443f0
A version of the de driver which does bus_dma. Note that it has not been
...
tested on any other platform other than i386. Use of bus_dma(9) can be
turned by defining TULIP_BUS_DMA_NOTX and TULIP_BUS_DMA_NORX. These allow
one to determine if the problem is in the transmit or receive path.
A problem reported by mycroft is also fixed.
1998-02-06 20:57:12 +00:00
matt
a66f53e128
Add M_SETCTX and M_GETCTX. These overload m_pkthdr.rcvif so drivers can
...
use it as a context field.
1998-02-06 20:53:47 +00:00
cgd
82bb6682da
re-indent the EX_FAST change (try to keep a given argument on one line,
...
so that it's more apparent what the code is going).
1998-02-06 19:51:54 +00:00
mrg
30a584067f
remove paging options from kernel files.
1998-02-06 11:20:27 +00:00
thorpej
c0c3c30be3
When allocating bus space in bus_space_alloc(), use EX_FAST to find
...
the first fit in the map. The previous behavior violated the principle
of least surprise (especially annoying when you're debugging space allocation
problems). Suggested by Chris Demetriou.
1998-02-06 10:06:51 +00:00
mikel
4de16acd9c
update errno maps, we now have EIDRM
1998-02-06 08:26:02 +00:00
mikel
a5ffacd6cf
ELAST incremented, update nfsrv_v2errmap[] initialization
1998-02-06 08:22:54 +00:00
thorpej
840bd3d7b3
Back out previous change. Until the default VM system is UVM, these
...
"options" ARE required, and leaving them here doens't hurt anything in
the UVM case.
1998-02-06 08:21:55 +00:00
mikel
e588d162d1
add EIDRM for SysV IPC
1998-02-06 08:20:35 +00:00
thorpej
374b6294f9
Back out previous change. Until the default VM system is UVM, these
...
"options" ARE required, and leaving them here doens't hurt anything in
the UVM case.
1998-02-06 08:19:23 +00:00
thorpej
fd01cb624f
Allow a ccd component to be on any partition type.
1998-02-06 08:13:07 +00:00
thorpej
10a076eee1
Kernel for zhadum.netbsd.org, soon-to-be CVS server.
1998-02-06 08:08:56 +00:00
thorpej
424e1858c4
Use __BROKEN_INDIRECT_CONFIG where appropriate.
1998-02-06 08:00:52 +00:00
thorpej
b16f0280e3
Add pceb at pci and {eisa,isa} at pceb attachments.
1998-02-06 07:53:26 +00:00
thorpej
9c9a25df29
Don't attach an EISA bus if it's already been configured.
1998-02-06 07:52:13 +00:00
thorpej
cacadb7fbe
Erg, typi.
1998-02-06 07:51:46 +00:00
thorpej
fce12f0081
Notify other machine-dependent code that the EISA bus has been configured
...
in the attach hook.
1998-02-06 07:51:11 +00:00
thorpej
e56b1d0b2d
Add an autoconfig node for PCI-EISA bridges. Configures EISA and ISA
...
bridges via callback.
1998-02-06 07:50:07 +00:00
mrg
6bcccb887c
oops, forgot to add these new files
1998-02-06 07:41:33 +00:00
mrg
29e93b8bea
add the i386 MD portions for UVM.
1998-02-06 07:21:42 +00:00
thorpej
939995c0dc
On the 486 and higher, actually make the bus mem space mapping noncacheable
...
if mapped with BUS_SPACE_CACHEABLE unset.
1998-02-06 05:35:16 +00:00
enami
9d13bc6e0e
Restore system priority level before return from comopen().
1998-02-06 03:25:34 +00:00
mrg
919667a0c7
backout previous change.
1998-02-06 01:22:54 +00:00
pk
0725302eac
vme_bus_probe() takes an `offset' argument.
1998-02-06 00:22:41 +00:00
pk
40b15d9230
Add `offset' argument to probe routine.
1998-02-06 00:21:49 +00:00
mrg
8f7ee94e13
initial import of the new virtual memory system, UVM, into -current.
...
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.
these are the changes to the old Mach VM system to allow both to be
available in the kernel.
1998-02-06 00:14:43 +00:00
mrg
40b61fb276
put PIL_CLOCK and splclock together, like the rest..
1998-02-06 00:02:30 +00:00
pk
86f595fb3e
This file has been moved to dev/vme a while ago.
1998-02-05 22:14:35 +00:00
wrstuden
2d3036fc0e
Add NETATALK support for mips machines. Somehow the NETISR_ATALK code
...
didn't make it in. Aproved by Jonathan and tested here at Stanford.
While I'm here, add conditional prototypes for clnlintr() and nsintr()
so that NS and ISO will compile correctly.
1998-02-05 21:48:23 +00:00
is
dcc4b3ec64
Get rid of std.draco file.
...
Amiga specific devices must be named in GENERIC, too.
While here, add vnd pseudo-devices to DRACO.
1998-02-05 20:07:15 +00:00
drochner
ac884fce95
Allow DELAY() to be called anytime:
...
-don't enable interrupts at the end of gettick(), restore the previous
state instead
-start timer/counter 0 from delay() if necessary
-comment out "findcpuspeed()", it would clobber the timer again, and it
is unused anyway
1998-02-05 19:59:54 +00:00
drochner
3f38ea4063
provide pushfl/popfl to C code
1998-02-05 19:53:52 +00:00
mrg
fd61a6d0bd
re-add kern_fthread.c now that the file exists..
1998-02-05 15:04:14 +00:00
mrg
5ef401eaaf
oops, forgot to add this file earlier.
1998-02-05 14:58:45 +00:00
fvdl
a3cafe2cca
Remove extraneous file.
1998-02-05 12:33:52 +00:00
mrg
1a8c7604f4
initial import of the new virtual memory system, UVM, into -current.
...
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.
this is the rest of the MI portion changes.
this will be KNF'd shortly. :-)
1998-02-05 07:59:28 +00:00
mrg
5e91ce6ef1
initial import of the new virtual memory system, UVM, into -current.
...
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.
this is the sparc portion.
this will be KNF'd shortly. :-)
1998-02-05 07:57:48 +00:00
thorpej
0392bc60a1
Fix the FXP_TXDESCOFF() macro.
1998-02-05 07:31:52 +00:00
mrg
f2caacc717
initial import of the new virtual memory system, UVM, into -current.
...
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.
this is the UVM kernel code portion.
this will be KNF'd shortly. :-)
1998-02-05 06:25:08 +00:00
jonathan
68f29b9316
Increase delay between mouse reset/self-test and autoreport commands
...
from DELAY(100) to DELAY(150). The newer accurate DELAY() calibration
left some mice (mostly VSXXX-GA square, not VSXXX-AA hockeypuck)
ignoring the MOUSE_INCREMENTAL command.
The 150ms delay is verified to work on 3100s on both kinds of mice.
1998-02-05 05:19:45 +00:00
gwr
eff2e270bd
Merge arch/sun3x into arch/sun3
1998-02-05 04:56:24 +00:00
jonathan
bd968fbc68
Add kernel_text symbol to old Pica locore for final removal of KERNBASE.
1998-02-05 04:19:42 +00:00
sakamoto
9a3f7a093f
Use dev/isa/isadma.c.
1998-02-05 03:06:28 +00:00
jonathan
580a0a4d12
Add local `extern' declaration of ioasic_cd, as in alpha/tc/scc.c.
...
Missed here after the removal of ioasic_cd decl from ioasicvar.h.
1998-02-05 01:57:35 +00:00
thorpej
8e69ee392a
Fixup includes.
1998-02-04 23:41:45 +00:00
pk
dcf0846ffe
* Correct vme addresses in `xd' and `xy' declarations.
...
* Renamed option: MMU_3L => SUN4_MMU3L
* Enter NFS_BOOT_PARAM option.
1998-02-04 21:49:12 +00:00
pk
90be3b559d
Use vme_bus_probe() in si_attach().
1998-02-04 20:50:47 +00:00
sakamoto
a2b24d5571
Change "__BUS_SPACE_NEED_STREAM_METHODS" to "__BUS_SPACE_HAS_STREAM_METHODS".
1998-02-04 14:13:40 +00:00
thorpej
ec6c5c10d7
Add necessary bus_dmamap_sync() calls for memory mapped with the COHERENT
...
hint, per bus_dma(9).
1998-02-04 08:26:42 +00:00
mikel
54013b0a5c
add ipmon(8) support, from Matthias Scheler in PR kern/4860
1998-02-04 07:38:55 +00:00
thorpej
612aea038c
Use the common _bus_dmamap_sync() as the _dmamap_sync method in the
...
bus_dma_tag_t.
1998-02-04 07:37:28 +00:00
thorpej
1a2b1a18f2
The _dmamap_sync method is no longer optional.
1998-02-04 07:36:10 +00:00
thorpej
b1d8bffad8
Flush the CPU write buffer in _bus_dmamap_sync().
1998-02-04 07:35:30 +00:00
thorpej
c08cca565c
Kernel interface changed: bump to 1.3C. (Say, did you know that it's
...
March already?)
1998-02-04 05:36:57 +00:00
thorpej
f0f632db30
Kernel interface changed: bump to 1.3C.
1998-02-04 05:35:52 +00:00
thorpej
8abe76d2f0
Add offset and length parameters to bus_dmamap_sync(), used for specifiying
...
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
thorpej
99cc8482d1
Change the last argument of bus_dmamap_sync() from bus_dmasync_op_t to int,
...
and allow more than one synchronization operation to be specified in
a single call. Dissallow mixing of PRE and POST operations.
1998-02-04 01:57:27 +00:00
pk
3995590109
Use `offsetof()'.
1998-02-04 01:19:23 +00:00
pk
bee3aa34cc
Account for changed vme_bus_probe() arguments.
1998-02-04 01:04:48 +00:00
pk
f060ed68ba
sparc_vme_probe(): handle callback argument.
1998-02-04 01:01:14 +00:00
ross
52a1c5fced
And yet more numbers, e.g., CATV upstream and downstream types.
1998-02-04 01:00:23 +00:00
pk
749d6cf61d
Account for changed vme_bus_probe() args.
...
Fix vme_ie_write24() to use bus_space_write_2() in stead of poking
directly into the bus handle.
1998-02-04 00:59:02 +00:00
pk
62f18b7ff0
Use vme_bus_probe() callback for device detection.
...
Use correct VME modifier (A16+D32 instead of A32).
1998-02-04 00:55:52 +00:00
pk
47afb35008
Use vme_bus_probe() callback for device detection.
1998-02-04 00:54:27 +00:00
pk
c7a01456a0
Add a callback function to vme_bus_probe(), for device-specific probes
...
using mapped device space.
1998-02-04 00:50:44 +00:00
thorpej
296d96f42c
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:38:50 +00:00
pk
c1e336fc0b
Erase a spurious structure definition.
1998-02-04 00:38:34 +00:00
thorpej
a7c5c1ef3c
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:32:55 +00:00
thorpej
f35992633d
- Implement bus_dmamap_load_mbuf() (copied from i386 port).
...
- Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
BUS_DMA_COHERENT.
1998-02-04 00:32:22 +00:00
thorpej
4e7c05e588
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:31:33 +00:00
thorpej
2d403996b2
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:10:30 +00:00
thorpej
5fd0d10994
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC toBUS_DMA_COHERENT.
1998-02-04 00:04:25 +00:00
thorpej
b7b27cb6e4
Back out a change that wasn't supposed to be in here.
1998-02-03 19:16:04 +00:00
mark
b280ec0268
Update copyright.
1998-02-03 19:08:27 +00:00
cgd
819d730e25
s/of_nodename/of_packagename/. Eventually, we'll probably want something
...
similar for instances.
1998-02-03 16:58:25 +00:00
is
77b3a5be15
Put a debugging printf inside #ifdef IYDEBUG ... #endif.
1998-02-03 16:22:01 +00:00
thorpej
96f3f45d08
When loading a VFS LKM, use vfs_getopsbyname() to check if the file system
...
already exists.
1998-02-03 09:18:03 +00:00
thorpej
ec98cfce8a
sys_mount(): Use vfs_getopsbyname() rather than groveling the vfssw[]
...
manualls.
1998-02-03 09:11:55 +00:00
sakamoto
484f3e93b1
Correct copyright notice.
1998-02-03 07:00:34 +00:00
sakamoto
4cec855834
Change bebox_bus_{io,mem} to BEBOX_BUS_SPACE_{IO,MEM}
1998-02-03 04:38:53 +00:00
sakamoto
e65fe12381
Remove MD ed,wdc drivers.
1998-02-03 04:34:49 +00:00
sakamoto
e3fee92b6e
Change bebox_bus_{io,mem}.bus_base to BEBOX_BUS_SPACE_{IO,MEM}.
1998-02-03 04:32:17 +00:00
sakamoto
7052e9949b
Change the data access busification functions to
...
the "stream" busification functions.
In the architecture as the BeBox(CPU is big endian, have ISA bus),
These methods would be used where "raw" data needs to {read,write,set}
unchanged.
Add #ifndef __BUS_SPACE_NEED_STREAM_METHODS (define that on NetBSD/bebox),
if not define __BUS_SPACE_NEED_STREAM_METHODS,
define "stream" busification functions to normal busification functions.
1998-02-03 04:26:45 +00:00
ross
124b287686
Add the last few years of IANA assignments, e.g., Gb ethernet.
1998-02-03 04:20:05 +00:00
sakamoto
821174f3ba
Remove MD ed,wdc drivers and Support MI ne,wdc drivers.
...
Change assembler source suffix.
1998-02-03 03:59:53 +00:00
sakamoto
1f9630f4a8
rename {locore,setjmp}.S to {locore,setjmp}.s
1998-02-03 03:53:23 +00:00
sakamoto
cf5d09dc82
Add bus_space_{read,write,set}_{,multi,region}_stream_{2,4,8}().
...
These methods would be used where "raw" data needs to
{read,write,set} unchanged.
Add define __BUS_SPACE_NEED_STREAM_METHODS.
1998-02-03 03:11:15 +00:00
sakamoto
7026df0613
remove unnecessary cast.
1998-02-03 03:10:24 +00:00
mycroft
b5c132e4d2
Prototype __flt_rounds() consistently.
1998-02-03 01:26:20 +00:00
cgd
9c46cdbef5
in ofbattach(), don't both doing an ofbprint() by hand if the root node.
...
The old ofbprint() wasn't particularly good (it forced the root node
to have a 'name' property, which apparently violates the OFW spec), and
the new one (though it normally prints more useful information) has
nothing useful to say about the root node. It's not clear to me that
'ofroot' should exist at all.
1998-02-03 00:43:46 +00:00
cgd
f98d915597
remove gross temporary hacks implemented to pacify com.c. That's
...
been done in a cleaner way by cleaning up the com.c #ifdefs some.
Software tty interrupts should be implemented on NetBSD/arm32,
but these hacks are no longer necessary to work around the lack.
1998-02-02 23:05:50 +00:00
cgd
9bffcfef75
change #ifdefs keying on "alpha" to key on "__NO_SOFT_SERIAL_INTERRUPT"
...
instead, and define that on NetBSD/alpha and NetBSD/arm32.
1998-02-02 23:01:02 +00:00
cgd
c2f42b2213
Implement a flag to indicate that the driver attached correctly.
...
This is useful in the case where an attachment's probe routine
verifies that there is indeed hardware present but something goes
"wrong" in the attach causing the device to be unusable. (Without
keeping track of this, in that case incorrect ports could be
accessed or uninitted pointers could be deferenced on open or at
other times.)
1998-02-02 22:54:55 +00:00
jonathan
8b8b6ca51d
garbage-collect unused MMSEG. From PR# 3898.
1998-02-02 22:21:32 +00:00
cgd
ac4b4ec31d
make ofbprint() use of_nodename(). cleanup.
1998-02-02 22:00:07 +00:00
cgd
5169537359
add of_nodename(), a function to stuff the last component of a node's
...
name into a caller-provided buffer (helpful for generating
autoconfiguration output). Also, other minor cleanup.
1998-02-02 21:56:16 +00:00
cgd
c9249eced0
add a prototype for of_nodename(), a function to stuff the last
...
component of a node's name into a caller-provided buffer (helpful
for generating autoconfiguration output).
1998-02-02 21:55:23 +00:00
jonathan
adac7274cc
Finish bi-endian support: add code to sum odd start/end bytes
...
correctly on both big and little endian systems.
From Tsubai Masanari <tsubai@iri.co.jp> in PR# 4434.
1998-02-02 21:27:17 +00:00
thorpej
2d33c2a97c
Implement OF_getproplen().
1998-02-02 21:02:30 +00:00
thorpej
69d33afe72
Prototype OF_getproplen().
1998-02-02 21:00:13 +00:00
kleink
0c544a72e5
First cut of a header file to reduce the complexity of preprocessor-symbol-based
...
feature selection.
For now, define _POSIX_C_SOURCE to 1 if absent but _POSIX_SOURCE is defined.
1998-02-02 15:53:56 +00:00
jonathan
e50f17aab7
Delete incorrect private declaration of db_maxoff.
1998-02-02 12:49:15 +00:00
sakamoto
d5e690b8b7
Eliminate __BROKEN_INDIRECT_CONFIG
1998-02-02 05:54:20 +00:00
sakamoto
f94197be4a
Eliminate unnecessary define.
1998-02-02 05:17:40 +00:00
sakamoto
56620b3054
Move "read clock information from bootinfo" to initppc() from cpu_initclocks()
...
for delay() before cpu_initclocks().
Sync with powerpc/powerpc/machdep.c.
1998-02-02 04:59:19 +00:00
thorpej
172b242837
Rearrange slightly the way the debugger exception vectors are initialized.
1998-02-02 03:01:28 +00:00
marc
b01ada14d9
fix up the power management code to dtrt with the 3c562A mfc card (and
...
hopefully the other variants)
1998-02-01 23:52:25 +00:00
marc
6b68f8b698
use an array of serial devices, not a cascaded if
...
add power management support
1998-02-01 23:50:52 +00:00
marc
3a3ac64f4f
rewrite mfc intr management not to use unexported spl* functions
...
add mfc iobase/iosize support
add power management support
1998-02-01 23:49:02 +00:00
marc
cdc3013464
whitespace changes for readability
1998-02-01 23:38:44 +00:00
marc
57e56a34bc
add state to struct pcmcia_function for mfc iobase/iosize support
1998-02-01 23:38:06 +00:00
marc
5c17882e45
move pcic_wait_ready from i82365var.h to i82365.c
1998-02-01 23:36:23 +00:00
marc
63f5e2bbc3
move pcic_wait_ready to i82365.c
1998-02-01 23:33:51 +00:00
marc
1d4b77e754
split com_attach_subr into attach stuff and per-open initialization stuff
...
add timeouts to all splserial() while loops so bugs elsewhere don't cause
the com driver to wedge the machine
add power management support
1998-02-01 23:33:01 +00:00
marc
a71698f108
add power management hooks to softc
1998-02-01 23:30:49 +00:00
is
b3fa451227
Amiga uses the common m68k/sig_machdep.c now. Also moved its definition from
...
the other 68k ports' files.${port} to arch/m68k/conf/files.m68k.
1998-02-01 21:23:24 +00:00
kleink
fa75c2d647
Fix two harmless typographical errors in a comment.
1998-02-01 19:25:44 +00:00
christos
3c7ab5dc3a
Regen.
1998-02-01 13:25:00 +00:00
christos
eff7649981
Enable nanosleep
1998-02-01 13:12:42 +00:00
thorpej
cfa47dfc11
Add support for installing boot blocks into ISO-9660 file system images.
1998-02-01 06:59:30 +00:00
thorpej
fea34a1cf2
Bump the ramdisk size to 3M.
1998-02-01 02:55:42 +00:00
jonathan
5ca978e981
Use correct name ("ioasic") when checking parent bus.
1998-02-01 02:25:34 +00:00
jonathan
696b21e65f
Change VM_WAIT --> vm_wait() in mips pmap code, where waiting after
...
vm_page_alloc1() fails to return a page for use as a segtab.
XXX there must be a better way to do this.
1998-02-01 01:55:15 +00:00
thorpej
4efe4fc0da
le* at isa? isn't ready for prime-time yet.
1998-02-01 00:24:26 +00:00
pk
f3ee364e31
* Make sure the `ECB_NEXUS' flag accurately reflects the existence of
...
an initiator/target nexus and thus mark the correct queue (if any) a
command is on.
* If a disconnected command times out, just leave it on the nexus queue
and do nothing (for now). I need yet to decide on the strategy to
follow in this case. Note: we used to move the command to the `ready'
queue and then do nothing, which is worse.
1998-01-31 23:37:51 +00:00
christos
5ba817c967
Don't hardcode the interrupt type; use what the pnp config provided to us.
1998-01-31 21:31:35 +00:00
ragge
a355d0bc1b
Re-implement page reference bit emulation by using the (otherwise unused)
...
valid bit. This is faster than the "unmap all" solution that were described
in that Mach paper _and_ it eliminates the need for checking the wired bit.
As a result of this; swapping started working again on vax :-)
1998-01-31 12:17:34 +00:00
christos
1caaa1f520
PR/4883: Andreas Wrede: Check for wildcard mem address not io ports.
1998-01-31 11:23:35 +00:00
ross
d0cce6d144
Take Jason's most excellent advice on platform.model.
1998-01-31 10:55:42 +00:00
ross
7516424fe6
Teach the NTP PLL how to lock when hz == 1000.
1998-01-31 10:42:11 +00:00
ross
1e62e0ffd9
Remove the #include of rpb.h from clock.c and set hz from the hwrpb
...
in alpha_init() instead of from a hardwired 1024 in cpu_initclocks().
1998-01-31 10:32:47 +00:00
ross
9b463a1108
Print more info on ps/w, note the current proc, and properly declare db_maxoff.
1998-01-31 04:14:46 +00:00
ross
c297f000b7
NFS swap fix. Most files here are modified purely to add a tsleep() wmesg
...
string. The actual functional changes are:
1. in vm_page_alloc(), restore some long lost code by Paul Kranenburg
that reserves the last few pages for kernel objects, adding an
additional escape for the pageout daemon.
2. In vm_wait() (replaces VM_WAIT), recognize the amusing fatal
deadlock where the pagedemon sleeps on a channel that only it ever
wakes up, and add a timeout and printf. Mod 1 should generally
prevent this from happening in any case.
3. Fix a livelock in vm_pageout_page() caused by a pre-wakeup of
page consumers prior to the pageout, which can easily fail over
memory issues in NFS and IP code. Also, ++ cnt.v_pageouts only
if the pageout succeeded.
1998-01-31 04:02:39 +00:00
cgd
58fb6574f9
valloclim() was unused; kill it. #undef valloc() at the end of
...
allocsys().
1998-01-31 02:20:44 +00:00
ross
6270ed1711
Add the A12 fast ethernet controller, an if_de.c hacked (prior to
...
bus_dma's appearance in the tree) to support sram bounce buffers.
When a busified if_de.c appears, this module can join awd.c at the
end of that long walk on a short pier.
1998-01-31 01:43:40 +00:00
ross
3a83745247
In some hp300-derived pmaps, in pmap_page_protect(), don't walk off the
...
end of the list of physical->virtual entires into NULL space if the last
entry is (mysteriously) wired in the pmap. Add a DEBUG printf on alpha.
1998-01-31 01:32:55 +00:00
thorpej
480445c035
When a PCI bus is attached, print out which bus spaces were enabled
...
by the parent.
1998-01-31 00:37:39 +00:00
fvdl
0c8ab9044c
Only take the receive lock before disconnecting when doing it from
...
nfs_decode_args. Otherwise we might just end up locking against ourselves.
XXX workaround, will do ok for now. Proper fix forthcoming.
1998-01-30 22:44:13 +00:00