pk
8a1606d530
Don't return `XS_DRIVER_STUFFUP' too easily; this can hose buffer cache
...
writes. Say XS_TIMEOUT in stead so the scsi code will retry.
1995-12-01 01:00:55 +00:00
pk
a2a4da4874
Merge changes from sun3 port; per Gordon.
1995-11-29 23:43:42 +00:00
pk
ee08e9085b
Extend the size of the "soft" FIFOs which reportedly reduces the number
...
of FIFO overflows on high baud rates.
However, doing so on all 4 ports would cost a whopping 64KB (at 4096 entries
per FIFO) of kernel memory. So, the FIFOs are now allocated at attach time
allowing the size for the keyboard and mouse ports to be reduced (to 128)
which should be adequate for the 1200 baud they use.
1995-11-29 23:41:31 +00:00
pk
12bfe2e68e
Must change `u_long' to `u_int32_t' as Jason pointed out.
1995-11-29 22:03:53 +00:00
pk
6e53c6a5fd
In probe[gs]et() there's no need to check against KERNBASE, as pointed
...
out by David Jones and Chris Torek.
1995-11-29 01:52:41 +00:00
pk
e9a919b88f
Code from Jason to better configure /dev/fb.
1995-11-29 01:45:36 +00:00
pk
ce474272f1
Prevent synch negotiation on ESP100 chips
1995-11-28 22:49:31 +00:00
pk
9bf3251e46
Lots of major and minor bug fixes and changes.
...
- properly do MSG_IN handshaking, so we can actually receive multi-byte msgs.
- do synch negotiation (now that the above works).
- handle disconnects.
There are a few trial-and-error bits at points where the docs I have are
particularly ambiguous about the state of chip and/or SCSI bus.
Things to do:
- more cleanup
- deal with MSG_OUT phase better
- keep some "config reg 3" bits per target (ie. FASTCLK and FASTSCSI).
1995-11-28 20:49:12 +00:00
pk
def161af38
Careful with signed chars (caddr_t *!).
...
Merge in 1.1 changes.
1995-11-28 20:26:59 +00:00
pk
0c031adc76
Not all v2 proms understand the `mac-address' word (from Theo).
1995-11-14 15:04:01 +00:00
pk
c7d1d39b3e
dk_device => device in controller structure (noted by Jason Thorpe).
1995-11-11 21:12:50 +00:00
pk
c2cd05605d
UFS => FFS conversion.
1995-11-08 09:09:20 +00:00
pk
54ec9fb697
Correct test for sun4 machines (thanks Chuck).
...
Since uname currently does not allow to discriminate different sparc
models, we use `sysctl.hw.cpumodel' to do this somewhat heuristicly:
if the returned strings starts with "SUN4-" a sun4 architecture is
assumed. This information is used to determine whether or not to strip
the a.out header off the 1st-stage bootblocks.
1995-11-07 11:45:24 +00:00
pk
996526aa02
Make error recovery actually work, i.e. don't hang on SCSI bus resets
...
and re-synchronize before re-scheduling pending operations.
Things seem to be a fair bit stabler now.
1995-11-03 16:47:43 +00:00
pk
bbdb422873
Stop DMA before resetting
1995-11-03 16:34:12 +00:00
pk
c0a156c9fd
Map pixels in VME32 space
1995-10-28 23:15:16 +00:00
pk
e4fcc8ab5a
Move DMA chip draining to dmaintr() and drain when a (possibly partial)
...
transfer ends in stead of doing it before starting a new transfer.
Use a different CSR bit to wait for "chip not busy" (may be necessary to
make this conditional on chip revision).
1995-10-24 16:26:54 +00:00
pk
a3f2bf19e4
Various:
...
- make esp_poll() approximate the given timeout value.
- introduce esp_abort(), and use it for timed out commands; make targets and driver less confused.
- make {free,ready,nexus}-list management somewhat more coherent.
- make sure we only proceed down the state machine in espintr()
if there really is an interrupt pending.
1995-10-24 16:03:57 +00:00
pk
dc3c0d7db7
Define VIDEO enable bit (per Jason Thorpe; PR#1672).
1995-10-23 23:36:28 +00:00
pk
7a9ddaff33
On-board bwtwo diddles a system enable register bit for video, per Jason
...
Thorpe (PR#1672).
1995-10-23 23:35:03 +00:00
pk
5e55f88874
Remove `-fno-builtin'.
1995-10-22 17:36:33 +00:00
pk
bbfd54d128
Merge from netbsd-1-1 branch: kgdb_debug_panic decl; PR1633
1995-10-18 21:54:34 +00:00
pk
ce2afd8d64
Sync filesystem before running installboot.
1995-10-11 13:32:57 +00:00
pk
64a90cd0b0
Check input channel in gettick(); for `L1-A' processing.
1995-10-10 20:11:33 +00:00
pk
ebe37d8041
We don't need `rem.o'.
1995-10-10 20:07:54 +00:00
pk
4dcb5917b8
Brr.. libkern.o is way too big for our bootxx..
1995-10-09 23:25:54 +00:00
pk
be2f4294bf
Add `fd' to list of possible boot devices.
1995-10-09 22:34:03 +00:00
pk
c4dc969b09
Point `bootdv' at the disk device instead of the controller (from Jason Thorpe).
1995-10-09 22:33:07 +00:00
pk
53eb8f8175
RASTERCONS now works on sun4's too.
1995-10-09 15:39:34 +00:00
pk
1ad1d128e3
Fill in `ascent' values correctly.
1995-10-08 19:31:44 +00:00
pk
ecf1cf893d
Add forgotten `eeprom' configuration.
1995-10-08 11:45:39 +00:00
pk
21a594651a
eeprom_match: account for differing physical addresses (per Jason Thorpe).
1995-10-08 11:44:59 +00:00
pk
87a0c55d23
Patch from Jason to factor out a common framebuffer size determination
...
routine from the individual drivers.
1995-10-08 01:39:13 +00:00
mycroft
c078d7a9f4
Remove __builtin_saveregs().
1995-10-07 22:27:31 +00:00
mycroft
6287d3d7b2
Remove bzero().
1995-10-07 22:24:50 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
pk
48849279bf
Script to assist installing second-stage boot programs.
1995-10-05 21:03:12 +00:00
pk
aea329df61
rcons: rc_maxcol and rc_maxrow were swapped.
1995-10-05 13:16:57 +00:00
pk
c8f10b184c
Do not set `ra_len' in bwtwomatch(); we only need the pixels for CONSOLE,
...
but if so, we need the lot.
1995-10-05 00:33:23 +00:00
pk
de0c6a97bd
RCONSOLE => RASTERCONSOLE.
1995-10-05 00:26:07 +00:00
pk
c1e313b122
include `files.rcons'.
1995-10-05 00:21:35 +00:00
pk
b79dc038d5
Machine dependent RASTERCONSOLE font definition to be passed to rcons_init().
1995-10-05 00:02:54 +00:00
pk
859b799130
RCONSOLE => RASTERCONSOLE
1995-10-04 23:44:33 +00:00
pk
d19cacbb03
RCONSOLE => RASTERCONSOLE.
1995-10-04 23:35:13 +00:00
pk
dad96c6619
Add a few constants used for mapping bit and pieces in the kernel driver.
1995-10-04 00:21:27 +00:00
pk
32c023995c
Bring reset logic into interrupt state machine.
1995-10-03 17:32:12 +00:00
pk
fcc53878ca
Make fbrcons_init() resistant against SUN4s.
1995-10-02 21:48:21 +00:00
pk
cfbe993b9b
Update to use <machine/cgtworeg.h>
1995-10-02 21:44:51 +00:00
pk
38d1101ad3
Silly me.. there's already a <machine/cgtworeg.h>
1995-10-02 21:44:22 +00:00
pk
fb58a99a8f
Fix some bogus calls to {read/write}disklabel().
1995-10-02 21:04:45 +00:00