thorpej
5ac5b98a9c
Compile the kernel with -Werror and -fno-builtin
1995-09-19 23:32:21 +00:00
thorpej
065ee11549
Compile the kernel with -Werror and -fno-builtin.
1995-09-19 23:30:54 +00:00
thorpej
a7417b3ca6
Compile the kernel with -fno-builtin.
1995-09-19 23:28:06 +00:00
thorpej
b903d705da
Compile the kernel with -Werror and -fno-builtin.
1995-09-19 23:26:58 +00:00
thorpej
bca85a86b1
Compile the kernel with -fno-builtin.
1995-09-19 23:25:29 +00:00
thorpej
7d7396c414
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 22:53:47 +00:00
thorpej
d4153ed512
makesyscalls.sh changed
1995-09-19 22:50:38 +00:00
thorpej
78f7651c91
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 22:49:22 +00:00
thorpej
9c2a912abe
makesyscalls.sh changed
1995-09-19 22:46:47 +00:00
thorpej
e4747eef00
Obsolete; use the one in /sys/kern
1995-09-19 22:46:04 +00:00
thorpej
19ccdce168
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 22:44:25 +00:00
thorpej
134a6981d1
makesyscalls.sh changed
1995-09-19 22:42:48 +00:00
thorpej
cd414f7dca
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 22:42:02 +00:00
thorpej
6d91dd5b49
makesyscalls.sh changed.
1995-09-19 22:38:15 +00:00
thorpej
e1da0d5390
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 22:37:27 +00:00
thorpej
4d68188f17
makesyscalls.sh changed.
1995-09-19 22:24:14 +00:00
thorpej
b5a39bba19
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
Fix a couple of bugs revealed during the prototyping process.
1995-09-19 22:19:01 +00:00
thorpej
d95577b1ce
makesyscalls.sh changed.
1995-09-19 22:13:07 +00:00
thorpej
eecd40e854
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 22:10:11 +00:00
thorpej
c8aae0e18a
makesyscalls.sh changed.
1995-09-19 22:05:58 +00:00
thorpej
7160dfc805
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 21:57:36 +00:00
thorpej
60024eb978
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 21:40:36 +00:00
thorpej
1f5a887dbf
makesyscalls.sh changed
1995-09-19 21:31:49 +00:00
thorpej
70bf3eea21
Emit prototypes for system call functions and append them to the
...
`syscallargs' header file.
1995-09-19 21:28:56 +00:00
thorpej
c9a13fa080
Assume that if devopen() points `file' at a NULL that a raw device was
...
opened (as opposed to only checking to see if `file' itself is NULL).
1995-09-19 09:16:52 +00:00
briggs
516ddf511f
Wrap only the message in ifdef DIAGNOSTIC.
1995-09-19 03:18:15 +00:00
pk
c030fa6ef2
Install in /usr/mdec
1995-09-18 23:33:42 +00:00
pk
aa41c30406
Don't strip bootxx on installation.
1995-09-18 23:32:41 +00:00
pk
4025edc861
Make this compile again by calling readdisklabel() with a dummy strategy routine.
...
XXX - need some reorganization to this from xdopen().
1995-09-18 23:26:39 +00:00
pk
371dd67d56
sync filesystems just prior to writing the bootblocks to the raw device.
1995-09-18 22:36:19 +00:00
pk
974115eb54
Adapt to libsa changes & some other minor nits.
1995-09-18 21:31:44 +00:00
gwr
5520ccdbf9
Preserve miniroot when (swdevt[i].sw_vp == rootvp)
1995-09-18 21:21:00 +00:00
pk
d9124da47f
Another round of clean up, including fixes presented by Matthias Drochner
...
(PR#1404). Things to be noted:
- all IP addresses are now `struct in_addr's.
- the function rarp_getipaddress() no longer return `myip'; in stead
it returns -1 on failure (errno set), 0 on success. `myip' is set
as a size-effect.
1995-09-18 21:19:18 +00:00
chuck
05f929580f
read superblock into &sblock rather than LOADADDR. we can't read
...
into LOADADDR because it can't be mapped into DVMA space. this fixes
a dvma panic on a sun4 boot from an xd disk.
1995-09-18 20:24:53 +00:00
chuck
24ba08adca
Fixed RELOC's to be hex numbers (as expected) rather than decimal.
...
(e.g. s/340000/0x340000/). Fixes DVMA panic on my sun-4/280 when
booted diskless.
1995-09-18 19:52:15 +00:00
briggs
909842fb1f
Correct jClkNoMem address for C650 from
...
nick@csua.berkeley.edu via Walter Ruetten.
1995-09-18 13:55:09 +00:00
briggs
e8dbcda856
Do not define MIN_PHYS here--it is m.d..
1995-09-18 13:52:43 +00:00
briggs
cb5010a4fe
Fix a spelling slight. Grab the faulting address if nofault in bus error.
1995-09-18 13:51:25 +00:00
briggs
927d165081
Optimize the via interrupt processing routines a tad. From
...
chas@ohm.nrl.navy.mil (Charles J. Williams).
1995-09-18 03:15:43 +00:00
jonathan
c8a3bfd5ed
Update files.pmax to use Ted Lemon's port of the sparc rcons glass-tty fb
...
driver, the "generic" fb pseudo-device driver, and dev/cons.c.
Update an example new-config file (NEWCONF) to use them.
1995-09-18 03:09:03 +00:00
jonathan
9e925a1b42
Add cdevsw and bdevsw entries for the machine-independent sd and st drivers.
...
Add cdevsw and bdevsw entries for the old-pmax tz SCSI tape driver, and
add a do-nothing definition of the requisite tzdump().
1995-09-18 03:04:53 +00:00
jonathan
e18d468a1a
move DEC qvss/pm - compatible (kernel tracks mouse) mouse-input parser
...
to qvss_compat.c Move low-level mouse initialization to lk201.c.
1995-09-18 03:01:22 +00:00
jonathan
6d9de6f768
Fix qvss/pm compatible ioctl to set colormap entry.
1995-09-18 02:57:31 +00:00
briggs
cb4eb50b28
Change HwCfgFlags4 to something a bit more mnemonic.
1995-09-17 21:28:33 +00:00
pk
f447526366
vmes => vmes0
1995-09-17 21:11:13 +00:00
pk
11f1ea06af
These files have moved to sys/dev/rcons.
1995-09-17 21:08:25 +00:00
pk
2c523b5941
Remove rcons lines.
...
Add cgtwo.
1995-09-17 21:03:36 +00:00
pk
30150218f5
Add cgtwo0.
1995-09-17 21:02:56 +00:00
pk
77843edc4d
Add the rcons files.
1995-09-17 20:54:19 +00:00
pk
c5bc107461
cgtwo framebuffer, cloned from cgthree.c and sun3's cg2.c.
...
Note: untested, shall be considered a framework to get things started..
1995-09-17 20:53:43 +00:00
pk
c92d076f5b
Change interface to th `fb' pseudo device to not need the major device
...
number (a la sun3).
Put in new glue for rcons.
1995-09-17 20:43:39 +00:00
pk
b89096d14f
Remove all rcons related stuff from `fbdevice'; this is now defined in
...
dev/rcons/rcons.h.
1995-09-17 20:41:30 +00:00
pk
a8e925d362
rcons (Raster CONSole) brought over here from the sparc area.
...
sparc device dependencies have been removed, as well as all references
to `struct fbdevice's. Clients need to #include <dev/rcons/rcons.h>.
1995-09-17 19:56:30 +00:00
briggs
1c8c505974
Fixes from Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>
...
to avoid panic()s when we read the PRAM values while ROM
vectors are missing.
1995-09-17 18:51:40 +00:00
briggs
b528dcf5c2
Fix from Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>
...
to prevent his last changes from causing a panic if some
values are not filled in in the ROM vector table.
1995-09-17 18:50:17 +00:00
briggs
c4250f7102
Add rom vector for LCIII from Peter Kohler (kohler@ife.ee.ethz.ch)
...
via Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>.
1995-09-17 05:22:57 +00:00
pk
f5cf4bbc37
De-activate DEBUGFLAGS again.
1995-09-17 01:01:07 +00:00
pk
a32163f292
Correct some prototypes.
1995-09-17 00:50:54 +00:00
pk
82e5cf06bc
Revert fs_ops read/write declarations; these return error numbers.
...
Get rid of some more compiler warnings.
Set errno where appropriate.
1995-09-17 00:49:37 +00:00
pk
f97c30e5fe
Network booting; "oldmon" support; combine all functionality in single images.
...
Many thanks to Gordon Ross and Chuck Cranor for figuring out and testing
the old monitor (sun4) stuff.
1995-09-16 23:20:22 +00:00
briggs
a106882a85
Only use PIO instead of PDMA if DRIVER_NOINT.
1995-09-16 18:22:33 +00:00
ragge
3579b04cac
Obsolete when not using Microvax rom anymore.
1995-09-16 16:21:56 +00:00
ragge
c378250058
Calls to MicroVAX rom routines removed.
1995-09-16 16:20:18 +00:00
chopps
34373365cb
Add minimal dumpfile support.
...
Fix a bug in pt_enter_ptpage which caused MMU faults on low-mem conditions.
Change siop drivers to better handle sync.
Remove diag. done for ide -- its redundant as the ROM does similar.
fixed ite_filter to not panic if typing before the device is fully setup
All thanks to osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-09-16 16:11:03 +00:00
ragge
67abd74816
struct rpb -> include/rpb.h
1995-09-16 15:58:57 +00:00
ragge
01c7626f80
Load microcode file on 11/750.
1995-09-16 15:54:20 +00:00
jtc
864f186a4e
Use MAN instead of MAN8 (although it doesn't matter here because vgaio
...
is neither built nor installed).
1995-09-16 15:52:38 +00:00
jtc
6e9c7ee5a8
Use MAN instead of MAN3 and MAN5
1995-09-16 15:49:40 +00:00
ragge
64a23e9a8b
Take care of xon/xoff (== discard them).
1995-09-16 15:48:49 +00:00
jtc
ee21163cab
moved up one level in directory structure
1995-09-16 15:47:27 +00:00
ragge
7bffdf561e
Removed bug to prevent division-by-zero when accessing unlabelled disks.
1995-09-16 15:43:25 +00:00
briggs
ccaff4431c
Simplify doboot().
1995-09-16 15:35:05 +00:00
briggs
ea4e385abd
Map in the VIA space for the bloody Mac II ROMs that directly reference
...
a hardware address. Also map in the ROM space before we call doboot().
1995-09-16 15:33:54 +00:00
briggs
6ed4261a1b
Fix segment table reference bug (from Michael Hitch).
1995-09-16 15:09:28 +00:00
briggs
a8b0260a05
Sync. with atari ncr5380.c -- mainly whitespace changes.
1995-09-16 15:06:55 +00:00
leo
dff8e2275e
Fix segment table reference bug (Michael Hitch)
1995-09-16 14:18:09 +00:00
leo
a2a0fe9c66
- Handle devices that do not support identify messages (Allen Briggs)
...
- Add pdma_ready() hook (Allen Briggs)
- Increase timeout to 1000 (Matthias Pfaller)
1995-09-16 14:15:10 +00:00
ragge
395e73a5d7
ka650 added. Converted to KNF.
1995-09-16 13:34:20 +00:00
ragge
ed3a9bf3b0
TMSCP support added.
1995-09-16 13:18:27 +00:00
ragge
eefa8685a2
Bootblock support for tmscp added, used on MicroVAX.
...
MicroVAX rom routines not used anymore, too inconsistent when
not using FILES-11 filesystem.
1995-09-16 13:01:06 +00:00
ragge
b5733df6fb
Standalone support for TMSCP tapes, based on ra disk driver.
1995-09-16 12:57:35 +00:00
ragge
7e902b634e
Foolish and easy standalone prog to edit disklabels.
1995-09-16 12:56:03 +00:00
ragge
8feecb9503
Rick Macklem's copy hack that can do standalone (multi-)volume
...
copies from anything to anything.
1995-09-16 12:53:49 +00:00
briggs
214a1bac9f
Fixes from walter@ghpc8.ihf.rwth-aachen.de (Walter Ruetten)
...
to use ROM routines to read and write PRAM times, etc..
1995-09-16 12:35:53 +00:00
briggs
bee931c117
Set timezone to 0. The booter's GMT bias should be used, instead.
1995-09-16 12:33:06 +00:00
briggs
2e06f3f2bb
More changes from walter@ghpc8.ihf.rwth-aachen.de (Walter Ruetten)
...
for correct handling of timezones and PRAM <-> system time conversion.
1995-09-16 12:31:13 +00:00
ragge
007a539df5
Readme & install files added and updated.
1995-09-16 12:00:19 +00:00
briggs
4dc81200f5
Rename scsi_main_irq() to pdma_ready().
...
Missed a few ATNs in last patch. (pointed out by Leo).
Raise timeout from 100 to 1000. From Leo.
1995-09-16 11:45:18 +00:00
jonathan
008afe8e46
Replace the old 4.4bsd/pmax framebuffer glass-tty font with one
...
suitable for the NetBSD/sparc-derived "rcons" framebuffer glass-tty.
1995-09-16 02:05:11 +00:00
thorpej
7f6d48201f
s/memcmp/bcmp/
1995-09-16 00:28:08 +00:00
pk
20eda8b6a3
The `lib' sub-directory no longer has a Makefile.
1995-09-15 21:05:21 +00:00
pk
7824355d25
libsa compilation is no longer controlled from here, obviating the purpose
...
of this makefile.
1995-09-15 21:04:33 +00:00
jtc
37cdc1eef3
temporarily back out last change
1995-09-15 05:32:45 +00:00
jtc
9e4597a551
Add extern qualifier to swapmap & nswapmap declarations
1995-09-15 05:23:44 +00:00
briggs
048e948791
As Leo pointed out, my last change was not safe. This one should be.
...
I added two new bitfields to ncr_softc. They flag which devices have
been selected, and which ones have failed to go to message out when
selected with ATN. If a target fails to go to message out the first
time it is selected, it goes into the latter bitfield. If it fails
thereafter, we treat it as we did before.
1995-09-15 01:52:18 +00:00
pk
84c517c128
Clear up some size_t/ssize_t confusion.
1995-09-14 23:45:21 +00:00
briggs
a0d6a95720
indentify.
...
Bring in a few changes from Walter Ruetten (walter@ghpc8.ihf.rwth-aachen.de ).
Assume that PRAM time - GMT bias (set in the booter) is the current time
in UTC.
1995-09-14 23:44:12 +00:00
pk
0c92121b3f
Mirror libkern makefiles.
1995-09-14 20:55:00 +00:00
pk
0fbf2ca04a
Make *print() a message if no scsibus was attached. Also, return something
...
valid.
1995-09-14 20:43:09 +00:00
pk
db43cabe32
Re-instate configuration print routines, following Chris' suggestion.
...
Only prints something if there's no scsi bus to attach.
1995-09-14 20:38:53 +00:00
hpeyerl
8acf48ade5
update comment to include Etherexpress.
1995-09-14 12:46:42 +00:00
hpeyerl
abe82a6680
Etherexpress-16 driver collision by Andrew Gillham <gillham@Digitron.COM>.
1995-09-14 12:41:32 +00:00
briggs
1b34b69c93
Gah... The Asante SCSI/ethernet box doesn't answer the ATN request
...
for a 'MESSAGE OUT' phase, so add support in scsi_select() for the
phase to be either 'MESSAGE OUT' or 'COMMAND'.
1995-09-14 02:54:05 +00:00
briggs
d8ab74fcf2
Honor new MACH_CLASSIIvx.
1995-09-14 02:49:11 +00:00
briggs
13c1f2d48b
Shuffle MACH_CLASSes around a tad and add IIvx as a seperate class because
...
it may have a different method for accessing the 'via2' functions.
1995-09-14 02:48:09 +00:00
briggs
9c61c22d66
Clean up message a tad.
1995-09-14 02:43:51 +00:00
fvdl
788a8655bc
Update offset elsewhere in linux_getdents(); still emulate a bug in
...
Linux, but avoid endless loops.
1995-09-13 21:51:14 +00:00
jonathan
d7b9b56e07
Rename the old pmax SCSI driver's "struct scsi_device" to
...
"struct pmax_scsi_device", to avoid name conflicts with the sys/dev/scsi
SCSI driver.
1995-09-13 19:35:53 +00:00
thorpej
f47d026fb3
Fix cosmetic typo in kernel name prompt.
1995-09-13 18:52:39 +00:00
gwr
0081434965
Correct the padding to min Ethernet packet size.
1995-09-13 15:06:12 +00:00
jonathan
a0b0b167c1
Include the new fbio.h, fbvar.h, and lk201.h header files introduced
...
with rcons, as dtop.c supplies keyboard and mouse input from the desktop
bus, even though it hasn't itself changed.
1995-09-13 07:46:03 +00:00
jonathan
d69221cacc
Delete the definition of struct VDACregs (the registers of a Brooktree
...
bt478 vdac); it's now in bt478.h.
1995-09-13 05:46:02 +00:00
briggs
18a11cecc7
Update a comment.
1995-09-12 22:52:08 +00:00
jonathan
f5dc3f3d83
Fix bug (introduced by passing sc's rather than unit numbers) in the
...
computation of cfb interrupt-reset address for the 3MIN's interrupt routine.
1995-09-12 22:36:09 +00:00
briggs
d8dc3d91c0
Update for Leo's changes.
1995-09-12 22:31:45 +00:00
chuck
851669ceab
cleaned up bootpath code:
...
- v2 openprom disk boot generates "/sbus/esp/sd@3,0" which we translated
into "/sbus@0,0/esp@0,0/sd@3,0"... this caused esp.c to reject
the bootpath because it was looking for sbus slot/offset 0,0.
changed the code to generate "/sbus0/esp0/sd@3,0" to fix this
panic.
- when generating fake boot paths, generate them with unit numbers
rather than slot/offsets (thus, /obio@0,0 becomes /obio0, as
does vmel and vmes).
- fixed up comments to reflect these changes
tested new code on: 4/280 (diskless), 4/360 (diskless), 4/360 ("xd" disk),
4/370 (scsi disk), ss1 w/v1 openprom (diskless),
ss1 w/v1 openprom (scsi disk), ss2 w/v2 openprom (diskless),
ss2 w/v2 openprom (scsi disk).
1995-09-12 22:03:02 +00:00
briggs
1ae7af5b59
Updates from Leo's changes in the atari port.
1995-09-12 21:20:18 +00:00
briggs
639f90ef6e
Update from Leo's changes.
1995-09-12 21:05:58 +00:00
leo
e34d65cb12
- Fix a timing bug in the loop, that was introduced in the previous version.
...
- Added some code to reject unsupported messages correctly.
1995-09-12 19:58:53 +00:00
jonathan
b216a24d04
Rename the 4.4bsd/pmax framebuffer glass-tty console structs to
...
"struct pmax_fbtty". Remove most of its fields, since the fields
in the struct fbinfo render most of them unecessary, and the pmax
now uses rcons anyway. Moe the lk-201 keycode definitions to lk201.h,
so rcons can use them too.
1995-09-12 07:51:35 +00:00
jonathan
6a072ce81d
Remove the old cdevsw entries for cfb, mfb, xcfb and pm framebuffers.
...
Add an entry for the generic framebuffer "fb" pseudo-device, which
should be used instead of the hardware-specific drivers.
1995-09-12 07:43:58 +00:00
jonathan
2f387d871a
Change the signature of interrupt-handlers to take a void *
...
(a pointer to the softc) and return an int (indicating spurious
interrupts or other conditions.)
1995-09-12 07:32:31 +00:00
jonathan
ab85287371
Correct a typo in the PROM id string of the sfb in sfb_match().
1995-09-12 07:30:45 +00:00
jonathan
45d06a39e5
Change the signature of interrupt-handlers to take a void *
...
(a pointer to the softc) and return an int (indicating spurious
interrupts or other conditions.)
1995-09-12 07:28:06 +00:00
jonathan
f261206292
Add entry for MAXINE xcfb baseboard framebuffer to the MAXINE
...
turbochannel configuration table.
1995-09-12 07:27:07 +00:00
jonathan
9a914b5b01
Rename the Decstation 2100/3100 interrupt functions from "pmax_<func>"
...
to "kn01_<func>", to avoid confounding a model name (PMAX) with the name of the
entire port (pmax).
Change the signature of interrupt-handlers to take a void *
(a pointer to the softc) and return an int (indicating spurious
interrupts or other conditions.)
Pass softc pointers to the scsi and ethernet kn01 (DS_PMAX) drivers,
rather than having unit numbers wired into the base-level interrupt
handler.
1995-09-11 22:03:00 +00:00
jonathan
6746e9f52e
Rename the Decstation 2100/3100 interrupt functions from "pmax_<func>"
...
to "kn01_<func>", to avoid confounding a model name (PMAX) with the name of the
entire port (pmax).
Change the signature of interrupt-handlers to take a void *
(a pointer to the softc) and return an int (indicating spurious
interrupts or other conditions.)
Move consinit() from here to cpu_cons.c.
Eliminate the old old pmax-specific console driver, whcih didn't
know about vnodes. Use sys/dev/cons.c instead.
Delete the old 4.4BSD/pmax TURBOChannel probe routines and ROM-to-driver
name-mapping functions.
1995-09-11 21:58:23 +00:00
jonathan
eefb5e8d1b
Rename the old 4.4bsd/pmax old-style config "struct device" to
...
"struct pmax_device" to avoid conflict with <sys/device.h>.
Move the glue routines for config.old pmax SCSI device probing from
autoconf.c to conf-glue.c.
1995-09-11 21:49:37 +00:00
jonathan
187de8a215
Change pmax rcons and low-level serial drivers to support the
...
old-style pmax polled input for cn_getc(). Needed because the
input side of rcons is not initialized in time for GENERIC kernels
to use it to read a root/swap devicename from /dev/console.
Fix an argument glitch between consinit() and pminit().
Change consinit() to use PROM output for remote consoles, because
the serial drivers aren't yet initializable when consinit() is called.
1995-09-11 21:37:24 +00:00
jonathan
b4100ef220
Fix argument glitch between pminit() and consinit().
1995-09-11 21:31:25 +00:00
jonathan
f8fbfa0ce8
Change pmax rcons and low-level serial drivers to support the
...
old-style pmax polled input for cn_getc(). Needed because the
input side of rcons is not initialized in time for GENERIC kernels
to use it to read a root/swap devicename from /dev/console.
1995-09-11 21:29:23 +00:00
jonathan
dec12b783d
Initialization and keymapping code for DEC LK-201 and successor keyboards,
...
abstrated out of the pmax scc and dc7085 drivers.
1995-09-11 21:23:07 +00:00
jonathan
92ec4c2ebb
Delete the now-unused 4.4bsd/pmax "struct consdev". NetBSD/pmax
...
now uses the standard NetBSD console driver.
Add definition of RCONSDEV, a potential framebuffer console device major
number.
1995-09-11 21:20:20 +00:00
thorpej
eb50acd998
Changes from Gordon Ross:
...
a) check against `my' ethernet or broadcast addresses done in
ether.c
b) changed interface to readether() to provide ethertype info
c) respond to arp requests when appropriate.
First two are clean-up. Last fixes hp300 and presumably mvme68k netboot
code.
1995-09-11 21:11:36 +00:00
pk
9d7c17bfcb
We have no need for `esp_print()'; the only child we expect is a `scsibus',
...
and there's nothing to say if it isn't there. Returning -1 is an error
anyway as noted by Chuck Cranor.
1995-09-11 19:41:21 +00:00
pk
0a5ab32e3d
We have no need for `si_print()'; the only child we expect is a `scsibus',
...
and there's nothing to say if it isn't there.
1995-09-11 19:35:06 +00:00
pk
5bf0d8e4fa
`si' and `sw' are scsibusses.
1995-09-11 19:20:12 +00:00
jonathan
23366c17ff
Rename the old 4.4bsd/pmax old-style config "struct device" to
...
"struct pmax_device" to avoid conflict with <sys/device.h>.
Change the signature of interrupt-handlers to take a void *
(a pointer to the softc) and return an int (indicating spurious
interrupts or other conditions.)
1995-09-11 08:29:11 +00:00
jonathan
30c1021fd5
Framebuffer state variable for Ted Lemon's generic-framebuffer "fb"
...
pseudo-device, with support for the qvss/pm - compatible interface
used by X11R5 servers on DEC framebuffers.
1995-09-11 08:18:51 +00:00
jonathan
d20d3cf520
Framebuffer ioctls for Ted Lemon's pmax generic framebuffer fb
...
pseudo-device.
1995-09-11 08:17:04 +00:00
jonathan
ba769a296d
Register definitions for the TURBOChannel Smart Frame Buffer (sfb).
1995-09-11 08:14:16 +00:00
jonathan
c8bef84d72
*** empty log message ***
1995-09-11 08:11:20 +00:00
jonathan
1d976e39b9
Change pmax framebuffer drivers to use Ted Lemon's port of the
...
NetBSD/sparc rcons glass-tty console pseudo-device driver, via
the "fb" generic-framebuffer pseudo-device driver.
Individual framebuffer device drivers are now autoconfig glue,
and initialization code for a set of vdac/ramdac-level methods,
called "fbdriver", that's used by all the pmax device drivers.
All the handlers for user-level requests (open/ioctl/read/write/close)
are moved into the fb pseudo-device driver, which uses the
the "fbdriver" methods to work on any given pmax hardware driver.
Framebuffers supported are: sfb cfb mfb xcfb pm.
Move the qvss (pm) -style mmap()ed device interface, kernel tracking
of mouse button/movement events, and placing mouse/keyboard
events in an mmap()ed ring buffer, out of the framebuffer device
drivers and into separate source files. The fb pseudo-device driver
uses the qvss-compatible interface, since that's what the (R5) X
server uses.
1995-09-11 07:45:36 +00:00
thorpej
ef09db9674
Add a memcpy() entry as suggested by Gordon Ross. Use <machine/asm.h>
...
where appropriate.
1995-09-10 19:42:17 +00:00
fvdl
c08d930690
Get address of buffer right when returning from graphics mode.
1995-09-10 10:45:16 +00:00
ws
6820273c34
Don't allow setattr on msdos directories (fixes pr kern/1436)
...
Correct handling of rmdir'ing open directories
Correct implementation of rename (includes renaming of directories)
Handle root directories that are not multiple clusters in size
1995-09-09 19:38:00 +00:00
ws
166530c153
Distribute cache entries more evenly
1995-09-08 14:15:07 +00:00
ws
4d035ffc4d
No point in computing cn_hash here,
...
as it gets immediately recomputed in lookup
1995-09-08 13:52:23 +00:00
fvdl
43279db68d
Fix PR #1445 (incorrect ifdef/else/endif), from Bill Sommerfeld via
...
John Kohl.
1995-09-08 07:57:15 +00:00
fvdl
df2f99818a
Get notion of VT number right.
1995-09-07 21:55:43 +00:00
fvdl
698e606f39
syscalls.master changed
1995-09-07 21:49:52 +00:00
fvdl
a396a097b7
Fix some bugs & typing problems.
1995-09-07 21:48:59 +00:00
jtc
f269c3f49e
Fix bug when the second argument of va_start was a char, short or float.
...
(ie. not promoted); fixes PR# 1193. Thanks to Bernd Ernesti and Markus
Wild.
1995-09-07 01:20:15 +00:00
pk
07f70f97f1
Avoid calling device-close routine when open() not completed. Otherwise you
...
lose if this sequence occurs: open()->devopen()->...->panic()->closeall().
1995-09-06 19:53:27 +00:00
pk
bac2393fb0
Probe config registers correctly.
1995-09-06 12:35:38 +00:00
thorpej
7e85a5a412
Fix misplaced #ifdef.
1995-09-06 04:15:59 +00:00
pk
896097d846
Fix `le' faked bootpath (PR#1438, Rolf Grossmann).
1995-09-05 21:46:04 +00:00
pk
60a7c4c394
Add `sw' scsi adapter on obio (per Jason Thorpe, PR#1422).
1995-09-05 21:43:09 +00:00
cgd
0f14e95f52
replace bogus tcl with tch, thanks to briggs
1995-09-05 15:07:05 +00:00
briggs
c91abc3e61
Remove infinite loop per Leo and Mycroft.
1995-09-05 11:21:34 +00:00
leo
7640742d5b
Fix possibly endless loop (mycroft) and add fix requested by Allen Briggs.
1995-09-05 07:02:21 +00:00
fvdl
1b8c8d3906
Fix broken VT_WAITACTIVE ioctl (from pcvt 3.30, needed for Linux
...
svgalib binaries).
1995-09-04 22:33:21 +00:00
leo
eb9d1db57a
Right align color values in the bytes.
1995-09-04 19:41:39 +00:00
leo
eee0dbbda7
Allow chars > 0x7f to be displayed on the ite's
1995-09-04 19:39:21 +00:00
leo
75dfa4a054
Add memcpy entry as suggested by gwr.
1995-09-04 19:37:45 +00:00
chopps
c392350cba
sbic and board changes from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-09-04 13:04:40 +00:00
chopps
4be2a61f7f
mmutype fix from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-09-04 12:56:47 +00:00
pk
b04e172458
Rename a `xxx' function.
1995-09-04 09:53:53 +00:00
briggs
19a99aa395
Get softc as parameter in interrupt function, using new changes from
...
via.[ch]
1995-09-04 05:07:16 +00:00
briggs
129ca2cea9
Make VIA2 interrupts pass an argument in and let the scsi_register_*_intr
...
functions use that, too.
1995-09-04 05:05:58 +00:00
briggs
4f76655592
Fix a goof in the latest changes.
1995-09-04 05:05:11 +00:00
briggs
02883e7341
Remove an extra "talk" command--from Ken Nakata <kenn@remus.rutgers.edu>
1995-09-04 02:50:57 +00:00
pk
589d83d6a8
Patches from Jason Thorpe to deal with 4/110 scsi (PR#1422).
...
Also repairs a problem noted by David Jones: detect scsi phase correctly.
1995-09-03 22:26:02 +00:00
pk
003751356c
Patches from Jason Thorpe to deal with 4/110 scsi (PR#1422). Also includes
...
bootpath glue (PR#1414) (this needs finishing off in disksubr.c).
1995-09-03 22:21:27 +00:00
pk
8bdbf4be70
Update from Jason: eeprom device needs 8-bit access.
1995-09-03 21:55:36 +00:00
pk
af6e3d03cf
Add data structures used to interface to the monitor-resident drivers.
1995-09-03 21:36:06 +00:00
briggs
86d6e121cd
Add support for Extended Apple Mouse Protocol from
...
Ken Nakata <kenn@remus.rutgers.edu>.
1995-09-03 20:59:53 +00:00
pk
848dfdfec6
Fix bogus numerical conversion by using sprintf();
1995-09-03 20:56:14 +00:00
pk
8ede82abe2
Merge an sprintf() in.
1995-09-03 20:51:21 +00:00
pk
904eed507d
Add a driver hook to the `netif' structure.
1995-09-03 20:49:38 +00:00
briggs
b394d7fc7d
Enable ADB interrupts unconditionally if not using setup_egret().
1995-09-03 20:47:21 +00:00
briggs
de4100b643
Clean up a bit.
1995-09-03 14:54:31 +00:00
briggs
761b3a8340
Clean up some.
1995-09-03 14:51:38 +00:00
briggs
30c554fc9d
Changes from Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>.
...
This forces the need for booter version 1.8.
1995-09-03 14:37:16 +00:00
briggs
745cb60f16
Note that this is now an obsolete driver.
1995-09-03 03:39:38 +00:00
briggs
e9a9533544
Make the new m.i. scsi driver the default.
1995-09-03 03:37:32 +00:00
briggs
166af00381
Make a local copy of the atari m.i. scsi driver sources for the time
...
being. Some people aren't supping arch/atari and this allows those
people to get the sources.
1995-09-03 03:36:35 +00:00
mycroft
b8b9c4c9ff
Make sure vt_coldinit() is always called before vt_coldmalloc().
...
Remove pcvt_kbd_raw.
1995-09-03 01:20:33 +00:00
thorpej
fcdfdcb926
Fix missing clock-ticks in child after fork as suggested by cgd & Allan Briggs.
1995-09-03 00:44:43 +00:00
thorpej
7c55f97d9b
Really batting 1.000 today...
1995-09-03 00:07:21 +00:00
thorpej
231db77094
Fix thinko in netboot-related changes.
1995-09-02 23:36:09 +00:00
leo
4eb595b1d2
Fix missing clock-ticks in child after fork as suggested by cgd & Allan Briggs.
1995-09-02 19:44:45 +00:00
briggs
a7783604fd
Optimize this some. Still seems slower than it ought to be.
...
Register interrupt functions with via.c.
Clean up somewhat. Turn off DEBUG.
1995-09-02 19:29:42 +00:00
briggs
4ed102bbd4
Optimize accesses to VIA2 a bit.
...
Force SCSI driver to register interrupt functions and remove default
handlers.
Bring in a few changes from
Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>--more to come later.
Define VIA interrupt functions as returning void, not long.
1995-09-02 19:27:34 +00:00
briggs
42d7c233d5
Very minor cleanup.
1995-09-02 05:44:07 +00:00
briggs
9f203a792f
Weren't quite ready for the last change.
1995-09-02 05:41:12 +00:00
briggs
e60752e507
Rearrange a bit.
1995-09-02 05:35:59 +00:00
thorpej
acdc651ece
Add support for network booting; uses the following procedure:
...
rbootd->rarp->bootparam->nfs
Add "reset" option to disk and network boot prompts to reload boot code.
1995-09-02 05:04:14 +00:00
thorpej
a23346b0d5
Grok booting from the network.
1995-09-02 04:54:06 +00:00
thorpej
aa213636df
Example configuration for a diskless hp300.
1995-09-02 04:39:51 +00:00