Commit Graph

42 Commits

Author SHA1 Message Date
ur 63f060c06a Use MI md_root.c 2000-12-24 09:35:28 +00:00
ur 459f2585f4 Switch pica to jazzio.
Split shared MD portion between algor and jazzio.
2000-12-24 09:25:24 +00:00
thorpej b84f740be0 Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach(). 2000-11-15 01:02:11 +00:00
eeh bc7363329c Adapt to new line discipline scheme. 2000-11-02 00:26:35 +00:00
thorpej 7ca3fb9ef0 Move the check for "promisc + unicast + not for us" into ether_input(),
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
mrg 47ef8ee92b remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:32:34 +00:00
mrg 2f159a1bac remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
simonb 889c658b5b Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
soda 5175a6121b vga/pckbc attachment for jazz internal bus of Magnum derived machines
(including Pica, NEC RISCstation/RISCserver).
2000-06-17 07:23:05 +00:00
soda 564faec22a shut up gcc warning: suggest explicit braces to avoid ambiguous `else'
from Izumi TSUTSUI <tsutsui@netbsd.org> and Shuichiro URATA <ur@a-r.org>.
2000-06-12 17:04:52 +00:00
soda ef22daefd0 move address to resolve conflict with firmware working memory
of NEC RISCstation 2250, from Shuichiro URATA <ur@a-r.org>.
2000-06-10 12:56:45 +00:00
soda e5b560a385 - NEC RISCstation 2250 (RD-94) PCI bus support,
contributed by Shuichiro URATA <ur@a-r.org>.
 - Experimental coding for NEC RISCserver 2200 and RISCstation 2200.
   (doesn't really work)
2000-06-09 05:41:56 +00:00
soda fca8b826e6 bus_dma implementation for jazz dma tlb,
contributed by Shuichiro URATA <ur@a-r.org>
2000-06-09 05:28:47 +00:00
soda 31a9a256f4 bus_dma implementation for jazz dma tlb,
contributed by Shuichiro URATA <ur@a-r.org>
2000-06-09 05:22:22 +00:00
thorpej 463931b3ba Nuke dk_establish() from orbit except from those ports which still use
it to determine the boot device: mvme68k, pc532, macppc, ofppc.  Those
platforms should be changed to use device_register().  In the mean time,
those ports defined __BROKEN_DK_ESTABLISH.
2000-05-16 05:45:44 +00:00
thorpej 4044b5a41c Use separate callouts for motor-on and motor-off. Fixes a condition
where the floppy driver would wedge because a motor-on timeout would
be cancelled by another I/O operation cancelling a motor-off timeout.

From enami tsugutomo <enami@sm.sony.co.jp>.
2000-04-07 16:58:53 +00:00
soren e204cb3eb9 machine/cpu.h includes mips/cpuregs.h. 2000-03-30 21:37:51 +00:00
soda 4531dedece fix typo in timeout -> callout transition. 2000-03-27 11:22:51 +00:00
thorpej b667a5a357 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:30:07 +00:00
thorpej a183d34f04 - Implement cnbell() -- ring the console bell. The cn_bell entrypoint
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
2000-03-06 21:36:05 +00:00
soda a031341f9b NEC RISCstation 2250 (NEC-RD94) support.
contributed by Shuichiro URATA <ur@a-r.org>.
2000-03-03 12:50:19 +00:00
soda 65102815b0 cosmetic change. 2000-03-03 12:35:40 +00:00
soda 59ebd61fdf Do not hardcode ethernet address.
This haven't tested with original Acer Pica 61, but it appeared that
NEC Image RISCstation is almost fully compatible with Pica 61, and
doesn't have problem with using product id as ethernet address.
(Although it is better to use SONIC device configuration data from ARC BIOS,
 rather than product id. Autoconfiguration stuff for jazz derived systems
 really should be revisited.)
2000-02-25 13:28:42 +00:00
soda 4ad26273c2 rd -> md 2000-02-22 11:40:20 +00:00
soda 71f6ef9ee6 merge changes between OpenBSD-2.1 and OpenBSD-2.6 2000-02-22 11:25:55 +00:00
thorpej fe551f0e64 Fix a bug in disksort_*() which caused non-optimal ordering when multiple
active partitions were on a single spindle.  Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
soda 564df9b630 merge to NetBSD-current (DeskStation and Algor support is currently broken) 2000-01-23 21:01:48 +00:00
soda c87e9a032b Moved to /cvsroot/syssrc/sys/arch/arc/dev/if_snreg.h,v 2000-01-23 20:47:18 +00:00
soda 8906480ccd Moved from /cvsroot/syssrc/sys/arch/arc/dev/if_sn.h,v 2000-01-23 20:43:35 +00:00
soda 5009ff6d63 OpenBSD-2.1/arc 2000-01-23 20:24:23 +00:00
soda dc8ad1f6c2 Moved from /cvsroot/syssrc/sys/arch/pica/dev/lpt.c,v 2000-01-23 20:08:57 +00:00
soda 0bc6b561ea Moved from /cvsroot/syssrc/sys/arch/pica/dev/com.c,v 2000-01-23 20:08:57 +00:00
soda 7b63ee28c0 Moved from /cvsroot/syssrc/sys/arch/pica/dev/scsi.h,v 2000-01-23 20:08:13 +00:00
soda 8519eaf895 Moved from /cvsroot/syssrc/sys/arch/pica/dev/pccons.c,v 2000-01-23 20:08:13 +00:00
soda 99a8138066 Moved from /cvsroot/syssrc/sys/arch/pica/dev/if_sn.h,v 2000-01-23 20:08:11 +00:00
soda 5f72a4b0b1 Moved from /cvsroot/syssrc/sys/arch/pica/dev/if_sn.c,v 2000-01-23 20:08:11 +00:00
soda 78a72f8f99 Moved from /cvsroot/syssrc/sys/arch/pica/dev/fdreg.h,v 2000-01-23 20:08:09 +00:00
soda af4ed59cc3 Moved from /cvsroot/syssrc/sys/arch/pica/dev/fd.c,v 2000-01-23 20:08:09 +00:00
soda 7230dfbc48 Moved from /cvsroot/syssrc/sys/arch/pica/dev/dma.h,v 2000-01-23 20:08:08 +00:00
soda 375be02f3e Moved from /cvsroot/syssrc/sys/arch/pica/dev/dma.c,v 2000-01-23 20:08:07 +00:00
soda eb16133007 Moved from /cvsroot/syssrc/sys/arch/pica/dev/ascreg.h,v 2000-01-23 20:08:06 +00:00
soda 3fb706e4a2 Moved from /cvsroot/syssrc/sys/arch/pica/dev/asc.c,v 2000-01-23 20:08:05 +00:00