Commit Graph

79452 Commits

Author SHA1 Message Date
jdolecek 0800e2ed46 add major { ed = 20 } 2001-04-22 18:39:49 +00:00
thorpej 5871b80f00 Use uvm_pageboot_alloc() for early memory allocation, rather than
calling pmap_steal_memory() directly.  On these platforms, since
uvm_pageboot_alloc() is a wrapper around pmap_steal_memory(), there
is no functional change.  This is merely for API consistency.
2001-04-22 18:21:48 +00:00
uch 103b08ffa1 make this compile again under SH4 2001-04-22 17:37:55 +00:00
thorpej cfb5c7ed9f Make pmap_virtual_space() a required pmap function, even on platforms
which have pmap_steal_memory().  This is to reduce the API differences
between pmaps that implement pmap_steal_memory() and pmaps which do
not.

Note that pmap_steal_memory() needs to adjust *vstartp and/or
*vendp only if it used addresses within the range provided to UVM
via the pmap_virtual_space() call.  I.e. it is not necessary to do
so in any current pmap_steal_memory() implementation.
2001-04-22 17:22:57 +00:00
uch 95f0d5c680 add RTC control register 1 defines. 2001-04-22 16:50:17 +00:00
thorpej 27253eea15 Use uvm_pageboot_alloc() rather than pmap_steal_memory(). 2001-04-22 16:44:41 +00:00
bjh21 8eed59a146 Move arcpp so it attaches before podulebus. 2001-04-22 15:26:07 +00:00
pooka d31d45d28e Fix misinformation in comment 2001-04-22 15:09:03 +00:00
bjh21 9aba6e0cc4 Add arcpp. 2001-04-22 15:03:22 +00:00
bjh21 11b40e716c Add arcpp. Not in GENERIC because I don't know it works. 2001-04-22 15:02:51 +00:00
bjh21 856547f067 Driver for Archimedes parallel ports. I haven't got a parallel printer, so
this is currently untested.
2001-04-22 15:01:25 +00:00
pooka deaad9bd51 Clarifications and minor modifications.
inspired by comments from Matthew Green
2001-04-22 15:00:17 +00:00
bjh21 2a1570b5d9 Add functions to twiddle the latch bits, patterned after the ones in Linux. 2001-04-22 15:00:13 +00:00
jdolecek 85f0e37b44 edc_dump_status_block(): print RBA # and block count as unsigned 2001-04-22 13:00:24 +00:00
jdolecek 912e570671 Introduce machdep mca_disk_[un]busy(), which turn on/off disk LED.
Call as appropriate from the ESDI disk driver
2001-04-22 11:52:18 +00:00
jdolecek 738e87aeb9 fix argument for bitmask_snprintf() (stylistic only, code is commented out anyway) 2001-04-22 11:51:45 +00:00
jdolecek 8927d6f1be Fix serious bug in bounce buf handling - the EDF_BOUNCEBUF flag needs
to be cleared always in edmcadone(), otherwise if there is a write
via bounce buffer followed by read directly to buf, the read operation
would return trashed data (the buf data would get overwritten
by contents of bounce buffer in edmcadone()).
Reset b_resid as necessary when the i/o is done, too.

g/c some unneeded stuff, use lockmgr()-style locking in ed_[un]lock(),
better avoid some deadlocks

These changes make the driver quite a bit more stable. It's actually
reliable enough to be possible to newfs the drive and use it for
read/write filesystem now.
2001-04-22 11:32:49 +00:00
simonb 55386c3a95 The tputs() print char function needs to return an int.
Fix some LP64isms when printing pointers.
2001-04-22 05:35:35 +00:00
shin 2d7f52d2c7 add Serial Line IP (sl). 2001-04-22 02:06:34 +00:00
shin f4f816e21f add lists of obsolete files. 2001-04-22 02:05:18 +00:00
shin 91e2de49f3 build INSTKERNELS for system installation. 2001-04-22 02:04:22 +00:00
shin c29d379d93 add build kernel.
INSTALL_TX3912 INSTALL_TX3922
2001-04-22 02:03:05 +00:00
shin 22b4360d24 add config files for installation. 2001-04-22 02:01:43 +00:00
thorpej 4738622712 Give pmap_update() an argument (a pmap_t) so that it knows which
pmap it should be updating.
2001-04-22 00:33:59 +00:00
bjh21 68ec0583b4 Add latches (arm26). 2001-04-22 00:27:18 +00:00
bjh21 660a20cd22 Add a skeleton driver for the random latches on the Archimedes, which are
shared between the printer port and floppy drive.  Useful facilities will be
added when I know what I need.
2001-04-22 00:26:35 +00:00
thorpej 7f10ba88b1 #define away pmap_update() in <machine/pmap.h> so that no function
call overhead is incurred as we start sprinkling pmap_update() calls
throughout the source tree (no pmaps currently defer operations, but
we are adding the infrastructure to allow them to do so).
2001-04-21 23:51:14 +00:00
pooka e1d6858626 NetBSD: You choose the hardware, we'll bring the OS.
from David Brownlee on netbsd-advocacy

While I'm in here, sort the file using tools/do_sort to get the recently
added fortunes into order.
2001-04-21 23:11:30 +00:00
atatat 7989fb3af8 The script called dhclient-script no longer lives in /etc. 2001-04-21 22:53:36 +00:00
ross c8ee2e4ddd Import and use cpu_info_primary for non-MULTIPROCESSOR.
Hey, it compiles, and it's only -current.
2001-04-21 22:03:21 +00:00
thorpej 99052484f4 Fix LP64 printf format problems. 2001-04-21 21:57:16 +00:00
bjh21 4442920f51 In nfs_loadattrcache(), if checkalias() gives us a new vnode, lock it. This
prevents us losing the locked state of the old vnode.

fvdl thinks the old vnode is certain to be locked at this point.  I've put in
a KASSERT to be on the safe side.

This seems to fix PR kern/12661.
2001-04-21 21:35:53 +00:00
fvdl 4c41d3275c s/cheap/expensive/ for DIAGNOSTIC 2001-04-21 21:10:41 +00:00
fvdl 41a3ee5d58 Note that the (already commented out) DIAGNOSTIC option is expensive. 2001-04-21 21:03:46 +00:00
fvdl 2654febb55 Remove DIAGNOSTIC and mark it as expensive. 2001-04-21 21:02:03 +00:00
fvdl a1b8e618af Doh. Put the option *after* the include of plain GENERIC. 2001-04-21 20:58:13 +00:00
fvdl 17e856341b Add GENERIC_DIAGNOSTIC to the list of kernels to be distributed. 2001-04-21 20:56:50 +00:00
fvdl c20e370b1f Note that the DIAGNOSTIC option will decrease performance. 2001-04-21 20:51:18 +00:00
fvdl 781af989f9 Move the DIAGNOSTIC option to a seperate config file, it's too expensive
to be in GENERIC (which should be a kernel ready for production use).
2001-04-21 20:49:14 +00:00
rearnsha 8faae68155 Use bus_space functions for accessing SBIC registers. 2001-04-21 20:47:26 +00:00
jdolecek 6402f68d79 Match any device with class bridge and subclass BRIDGE_MC, instead
of matching individual products. Pointed out by Jason Thorpe.
2001-04-21 19:18:20 +00:00
bjh21 85e1abfb39 Keep track of interrupt depth. With forthcoming changes to cpu.h, this gets
us accounting for interrupt time.
2001-04-21 18:51:17 +00:00
he d2741ad4f9 Make sure to depend and build in hp300/stand before doing ``make release''. 2001-04-21 17:58:21 +00:00
he 9593d5023f Also build and install installation notes under "make release"
(actually snap_md_post).
2001-04-21 17:43:24 +00:00
thorpej 0115ec662c The pmap_update() call at the end of uvm_swapout_threads() is
completely useless.  Nuke it.
2001-04-21 17:38:24 +00:00
thorpej 15f731ee94 pmap_update() should not be equated with "flush entire TLB", it is
used to process deferred pmap operations.  Since these pmaps don't
defer anything, pmap_update() is a noop.
2001-04-21 17:25:01 +00:00
thorpej c3df364b08 pmap_update() -> tlbflush() 2001-04-21 17:20:58 +00:00
thorpej 82065e8a0b Update the comment for pmap_update(). 2001-04-21 17:13:12 +00:00
jdolecek f59f3f6ce4 Add a hack to install i386/ed(4) link to edc(4) manpage. This seems
to work okay and doesn't have any install ordering problems.
2001-04-21 16:54:05 +00:00
jdolecek 99ede4555d one more s/dasd/edc/ 2001-04-21 16:51:29 +00:00