Commit Graph

43940 Commits

Author SHA1 Message Date
leo
9b569c3abe No longer update the PAGE_* variables. They have turned into compile time
constants.
2001-02-01 08:58:03 +00:00
tsutsui
94ebf6d0d7 Update for the install floppy:
- Add newer devices (wscons etc.)
- Add -mmemcpy to COPTS
- Reduce maxusers
- Remove KERNFS
- Disable some COMPAT_* options
- Add MEMORY_DISK_SERVER=0
- Enable options NFS_V2_ONLY and VNODE_OP_NOINLINE
2001-02-01 06:23:54 +00:00
thorpej
84b5bb2f1b Fix a bug in ring-buffer wrap calculation. On the Dreamcast,
it causes assertions to fail in the PCI bounce buffer code.  On
other platforms, it causes the address of the next packet to
be mis-calculated, leading to packet loss.
2001-02-01 04:45:17 +00:00
thorpej
f436156dd7 Use the BOLD8x16 font for the console, and remove the RCONS_16BPP
option (no longer needed).
2001-02-01 01:27:59 +00:00
thorpej
f16d219c1b Config glue for rasops/wsfont. 2001-02-01 01:27:04 +00:00
thorpej
fbfc0872d8 New PowerVR display driver, based on the TURBOchannel "cfb"
driver by Tohru Nisimura (a very good framework for a FB driver,
BTW!), using bits of Marcus's original driver for the hardware
access.

The main advantage of this version is that is uses rasops (which
is faster than the rcons stuff) and wsfont, so you can select the
console font in the kernel config file.  Using the BOLD8x16 font,
you get an 80x30 console (vast improvement compared to the Gallant12x22
font).
2001-02-01 01:25:56 +00:00
thorpej
41b0cdf3e5 Add configuration info for the SEGA Broadband Adapter,
and enable the NFS file system and DHCP NFS root support.
2001-02-01 01:09:12 +00:00
thorpej
26cf6921bc GAPS PCI bridge support. Low-level stuff from Marcus, bus_dma
implementation from me.
2001-02-01 01:04:55 +00:00
thorpej
e2c0abd45d Implement {read,write}_region_1, and sprinkle some __volatile
around for sanity.
2001-02-01 01:01:50 +00:00
marcus
f2358f8d43 Basic G2 locking implemented. 2001-01-31 21:58:37 +00:00
thorpej
d729ba2b1f Support for masking/unmasking IRQ 11 (used by the G2/GAPS bridge).
From Marcus.
2001-01-31 18:44:07 +00:00
thorpej
a42d651b53 G2/GAPS PCI configuration glue, for the Broadband Adapter. 2001-01-31 18:39:46 +00:00
thorpej
9342211052 PCI glue, from Marcus. 2001-01-31 18:38:26 +00:00
thorpej
7135afee31 New bus_space and bus_dma framework, based on the Alpha implemetation. 2001-01-31 18:37:11 +00:00
thorpej
63885cd020 G2 bus support. Low level stuff by Marcus, bus_space stuff by me. 2001-01-31 18:33:24 +00:00
tshiozak
3abc724ebe solve the race condition while output for umidi. 2001-01-31 16:19:35 +00:00
tshiozak
ca8eb9d318 correct MUX-MIDI state machine. (EXCL_2 state) 2001-01-31 16:02:38 +00:00
pk
25a91d5c1e _bus_dma_valloc_skewed(): return a vaddr_t, not error codes; make missing
boundary check return an error, so the caller can decide how to respond.
2001-01-31 15:17:42 +00:00
tsutsui
32692a53f2 Add kbc on news68k. 2001-01-31 10:48:18 +00:00
thorpej
3c0c1146ac Use a 16K receive buffer on the SEGA Dreamcast (XXX should be
done differently than it is).
2001-01-31 07:44:51 +00:00
thorpej
56d0d6ce83 Match the SEGA Dreamcast Broadband Adapter, and use PCI memory
space on that device (XXX should be done differently than it is).
2001-01-31 07:44:04 +00:00
thorpej
615bf08f21 Regen; add SEGA Dreamcast Broadband Adapter. 2001-01-31 07:24:58 +00:00
thorpej
98182357a2 Add the SEGA Dreamcast Broadband Adapter. 2001-01-31 07:24:32 +00:00
augustss
eaeb1e44f5 Ad umidi. 2001-01-31 04:17:27 +00:00
thorpej
c625c7ee25 Set the keyboard layout based on what type of keyboard
we probe, defaulting to Japanese if we don't know what
kind of keyboard we have.

XXX This should be done differently, if we ever want to
support multiple keyboards.
2001-01-31 03:21:03 +00:00
thorpej
37aca7f3f0 Add a US keyboard map. This may need to be reworked, as this
uses the Japanese keyboard map as the base.
2001-01-31 03:19:50 +00:00
thorpej
b81a17e100 Make the "maple" bus a direct config bus. Now, when a device is
not configured into the kernel, you know about it, e.g.:

Dreamcast Controller         at maple0 port 0 not configured
2001-01-31 00:14:29 +00:00
thorpej
5c8624a602 Recognize the US keyboard. 2001-01-31 00:08:35 +00:00
tshiozak
d3545308ee add umidi. 2001-01-30 23:32:34 +00:00
tshiozak
6c60c9ff82 initial commit of USB midi driver.
- I tested only ROLAND UM-1 and YAMAHA UX256.
    These are not conforming to USB-MIDI spec, however these are
    similar to USB-MIDI.
  - Since I've not yet seen the "genuine" USB-MIDI device,
    I cannot test such devices although I wrote the codes for it.
TODO:
  - clean up the codes.
  - umidi(4) manpage.
  - /dev/rmidi? is working well, but /dev/music seems not working correctly.
2001-01-30 23:26:47 +00:00
tshiozak
61250c9635 some changes for midi_start_output() under PROP_OUT_INTR devices.
- protect the buffer even though ointr occur until exiting
    from hw_if->output().
  - allow this function to send multiple bytes to hw_if->output()
    at the same time.  it's necessary for umidi.
2001-01-30 23:02:18 +00:00
thorpej
4e7ff09e27 Make sure to clear sysmon_armed_wdog once the watchdog timer
is disarmed.
2001-01-30 22:24:31 +00:00
thorpej
9710d432c2 Power management support for the CardBus Etherlink XL cards.
From Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>.
2001-01-30 19:27:39 +00:00
augustss
57789d81c3 Regen. 2001-01-30 15:04:45 +00:00
augustss
9385e3019d Add Abocom URE450 Ethernet adapter. 2001-01-30 15:04:23 +00:00
tsutsui
677243711e Add a version file and print version strings generated by newvers_stand.sh. 2001-01-30 14:29:47 +00:00
tsutsui
9af4874133 Umm, fix botch in the previous;
include bsd.own.mk at the top, and include bsd.prog.mk at the bottom.
2001-01-30 14:21:49 +00:00
tsutsui
75e4c0c1be - bzero() -> memset()
- Remove unneeded includes
- WARNSfy
2001-01-30 14:11:00 +00:00
ichiro
e08982d234 add uplcom_{open,close}
it only reset routine yet.
2001-01-30 13:17:43 +00:00
tsutsui
85e5565f13 Remove (unused) -DBOOT_DEBUG. 2001-01-30 12:48:34 +00:00
tsutsui
2b258b5e2b Include bsd.prog.mk at the top to pull in ${PRINTOBJDIR}. 2001-01-30 12:42:43 +00:00
itohy
5ce651390d Fix problem where tsleep() is used not on the cardbus thread.
This change makes PCMCIA cards work again on my machine.

Unfortunately, some of the DELAY_MS() are called when the current
process is not the cardbus thread, that is, on interrupt contexts.
I confirmed these are actually used in interrupt context and replaced
them with delay()s.  However, I haven't confirmed other DELAY_MS()s
are always on the cardbus thread.

This shall be a temporary fix.  The driver needs being rewritten
not to use such delay()s, of course.
2001-01-30 07:23:14 +00:00
msaitoh
61831529f2 add some macros for 8bit PCMCIA access 2001-01-30 04:15:10 +00:00
thorpej
e4dc9e322e Make sure bp->b_proc is initialized. Should fix a deref-garbage-pointer
problem reported by msaitoh@netbsd.org.  NOTE: These are marked XXXUBC
since the code that allocates the bufs is new with UBC, but it may be
the case that bp->b_proc needs to be intialized to curproc (it's used
in a call to nfs_sigintr()).
2001-01-30 03:47:11 +00:00
msaitoh
e0b71cc821 fix last commit. 2001-01-30 03:01:45 +00:00
msaitoh
e094a52b1f fix pmap_* arguments when SH4_PCMCIA is defined. 2001-01-30 02:39:57 +00:00
msaitoh
69ababe7ba more use _C_LABEL() 2001-01-30 01:32:56 +00:00
msaitoh
14bda6deb9 use macro for CCR register 2001-01-29 22:19:19 +00:00
itojun
1bfba9ce6b remove variable names from prototype. sync with kame. 2001-01-29 20:02:48 +00:00
chuck
9f82193c0e ignore garbage left in registers by some APM bios (IBM thinkpad) when
event is a duplicate.

gets rid of annoying "APM get event: unknown error code (0x530b)" messages.

PR#12067 (YAMAMOTO Takashi)
2001-01-29 19:26:36 +00:00