Commit Graph

16953 Commits

Author SHA1 Message Date
briggs
94125bb185 Allow this to compile with DEBUG defined. 1998-11-14 03:01:31 +00:00
is
be4fc8e1b9 Simplify program structure to save a few bytes. 1998-11-13 22:12:35 +00:00
christos
9a95622add cast _mcount args to u_long, to avoid lint warnings. 1998-11-13 13:50:52 +00:00
mycroft
56aafbe295 Remove bogus change that cause cpu_fork() to panic. 1998-11-13 09:19:26 +00:00
lukem
6ff594779a oops - missing "," 1998-11-13 06:11:42 +00:00
oster
c74d32c5fc Updating of bdev's and cdev's to support RAIDframe. 1998-11-13 04:47:03 +00:00
eeh
08af05f929 Fix 32-bit gcc scheduling problems. 1998-11-13 03:47:15 +00:00
mhitch
7b16048c5a Fix the Right-Shift on the LK501 keyboard in a different way. My previous
attempt results in the up and down arrows not repeating in the X server.
The keyboard division table is modified to place the Right-Shift keycode
into division 6 along with the Left-Shift and Control.  A corresponding
change to the X server lk201 keyboard handler is also required.
1998-11-13 01:59:51 +00:00
rvb
b148b1ea84 Oops, I didn't mean to let that last commit get out. Though
maybe Havard should look at the changes (to make INSTALL smaller)
and see if any are general/reasonable for everyone.
1998-11-12 21:51:02 +00:00
thorpej
05c4e40b41 defopt the APM options. 1998-11-12 21:32:16 +00:00
rvb
7f2a4a5331 Perry said I should ... enable pms0 for GENERIC 1998-11-12 21:12:34 +00:00
ws
99d394c267 Typo 1998-11-12 14:00:06 +00:00
thorpej
b29c33e2a0 Update for the new state of the world: pciide, wscons, and a slight
change in how PCI-Host bridges are matched.
1998-11-12 01:04:06 +00:00
tron
76a221aca5 Sync with "GENERIC". 1998-11-12 00:57:29 +00:00
veego
17509cc037 Add the Ariadne II. 1998-11-11 22:28:32 +00:00
veego
1449b87b11 New driver for the Ariadne II. 1998-11-11 22:26:27 +00:00
is
6b1ed04840 Correct the calls (use AllocVec() and FreeVec()),
in case somebody ever needs free().
1998-11-11 21:43:18 +00:00
mjacob
c0782a3653 more printf cleanups 1998-11-11 21:40:38 +00:00
is
f02a3ccb3e Switch off the cache later.
Apparently, this avoids a problem on DraCos with HyperCom boards.
1998-11-11 20:57:33 +00:00
ws
18f9174133 Some BIOSs insist on patching the Bios Parameter Block for some drives
(e.g. LS-120).  Make room for this.
1998-11-11 16:46:38 +00:00
matt
3e6d4553d9 Make DHCP/BOOTP the default for VAX net booting 1998-11-11 15:49:02 +00:00
thorpej
cabecee13c Changes to support fork_kthread():
- cpu_set_kpc() now takes void *arg third argument, passed to the
  entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
  When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:43:49 +00:00
thorpej
49c62c4336 Changes to support fork_kthread():
- cpu_set_kpc() now takes void *arg third argument, passed to the
  entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
  When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:41:23 +00:00
nisimura
8ed3c420dc - Withdraw a duplicated file. This has never been a part of distribution. 1998-11-11 05:00:42 +00:00
eeh
f66c79c11e Turn off debugging. 1998-11-11 02:04:23 +00:00
eeh
bef3f7ec18 FCode bootblock and friends. 1998-11-11 01:57:32 +00:00
dbj
277322402c Sync'ed more files and routines with mvme port in prepartion for UVM.
Now use generic m68k cachops everywhere rather than defining them in locore.s
1998-11-10 22:45:44 +00:00
bouyer
5f9fa9aaaa Add and enable the pciide driver. 1998-11-10 14:09:15 +00:00
scottr
610fe40379 Only allow access to physical RAM. 1998-11-10 07:29:59 +00:00
mark
85d4fddd28 Use the footbridge pci bus space tags when attaching a vga console so
that the wscons code will recognise them later and correctly setup
cn_tab when the wsdisplay device is attached.
1998-11-10 04:34:05 +00:00
mark
c082b04018 Implement a separate function to set up the pci io and mem bus space
tags.
1998-11-10 04:32:03 +00:00
mark
e695fe5347 Implement bus_space_copy_region_2() for footbridge tags. 1998-11-10 04:29:21 +00:00
frueauf
a894e3a493 Add braces to make egcs happy. 1998-11-09 15:53:51 +00:00
is
9916260262 - declare method arrays in bus.h
- add interleaved_wordaccess method array
1998-11-08 21:09:27 +00:00
is
ba74edf69b Fix typo. 1998-11-07 22:50:25 +00:00
is
fd3b226223 We didn't really implement bus_space_{read,write}_stream_N, but
bus_space_{read,write}_region_stream_N. Correct the names.
1998-11-07 22:44:36 +00:00
ragge
f040374f11 Support for KA820 console RX50. From 4.4, ported to NetBSD by Sergey Svishchev. 1998-11-07 20:58:09 +00:00
drochner
1f23f4e047 add poll entry for (optional add-on) i4b raw device 1998-11-07 17:28:57 +00:00
ragge
b6158fa5e3 EGCS fixes. Implement htons as a C macro instead of asm; generates as
good code as the asm implementation _and_ can be optimized.
1998-11-07 17:22:58 +00:00
jonathan
cdd3abe7a9 Pull MBR-scanning code and NetbSD-partition-finding into a separate
function, rathe than duplicating in readdisklabel() and writedisklabel().

XXX should really  make MBR code MI, and share with other MBR-using ports
(e.g., arc, arm32 MBR label-scanning code).
1998-11-07 04:39:03 +00:00
jonathan
a581370fce apply previous change to writedisklabel() as well as readdisklabel(). 1998-11-07 01:30:57 +00:00
jonathan
45aa097296 Change COMPAT_386BSD_MBRPART: don't break on match, so that if there's more
than one DOSTYP_386BSD partition, we pick the last one, not the first.
That's what our install tools do/did with multiple ID-165 partitions.
1998-11-07 01:08:00 +00:00
tron
63b722221a Sync with "GENERIC". 1998-11-06 20:29:52 +00:00
is
23c04fa375 Add color debug code for DraCos. 1998-11-06 20:08:20 +00:00
mhitch
010e90e0ca Cursor position offsets need different values for an sfb board with an
alternate clock that does lower resolution.
1998-11-06 03:53:40 +00:00
mhitch
a7f70a5fbc Fix problem when using non-DEC CDROMS with blocksize other than 512 bytes.
This got lost when disk geometry processing was updated.

Also move the CDROM check from rzread() to rzwrite() - it doesn't make
much sense to report a read-only filesystem error when trying to read a
CDROM.
1998-11-06 01:59:25 +00:00
ragge
fbed93d50d EGCS fixes. 1998-11-05 19:48:04 +00:00
ragge
bee167375f EGCS fixes + TU81 fix. 1998-11-05 19:47:20 +00:00
ragge
3467859667 EGCS fixes. 1998-11-05 19:46:18 +00:00
mellon
3cc58a69cc Fix a signed/unsigned thinko (this is cgd's fix) 1998-11-05 15:59:00 +00:00
frueauf
b1122614c3 Add braces to make egcs happy. 1998-11-05 14:13:59 +00:00
tsubai
1bf603b543 Sync to mac68k. 1998-11-05 11:46:07 +00:00
jeremy
a6f004d383 Corrected incorrect definition of child_return(). It only accepts one
argument.
1998-11-05 03:40:57 +00:00
thorpej
74b81e824e Add "ukphy". 1998-11-05 00:38:10 +00:00
tsubai
8634976fb2 Move conversion of PRAM-time to UNIX-time to clock.c (like mac68k). 1998-11-04 15:06:13 +00:00
chs
61458d7dfa LOCKDEBUG enhancements for non-MP:
keep a list of locked locks.
use this to print where the lock was locked
when we either go to sleep with a lock held
or try to free a locked lock.
1998-11-04 06:19:55 +00:00
fvdl
42921bd66d Add the ex driver. 1998-11-04 00:40:03 +00:00
fvdl
21ab4a980a Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. 1998-11-04 00:31:59 +00:00
thorpej
6768f892cc Add sqphy. 1998-11-03 23:52:50 +00:00
leo
4401599ff3 These should have been added together with leo.c a long while ago :-( Thanks
to 'entropy' for keeping an eye on me...
1998-11-03 14:50:15 +00:00
tsubai
0b3665db48 Add "Paddington" ID. 1998-11-03 12:15:57 +00:00
thorpej
ec38cdc6d9 Add icsphy*. 1998-11-03 00:12:45 +00:00
simonb
67f74ebee4 Implement the new BUFCACHE option. 1998-11-02 07:43:37 +00:00
ross
cee6f4a531 Implement the new BUFCACHE option. 1998-11-02 04:43:23 +00:00
hubertf
e45fa5e3bb add version for libkeycap 1998-11-01 17:14:27 +00:00
hubertf
eccf9ccdd8 s|share/misc|share/pcvt| 1998-11-01 16:37:06 +00:00
lukem
d04b2d9043 implement BUFCACHE, which sets the size of the buffer cache to BUFCACHE %
of physmem. if not set (or == 0), falls back to old sizing method.
1998-11-01 09:51:09 +00:00
mjacob
3bcd2ef84d fix botched printout format 1998-11-01 00:03:08 +00:00
mjacob
82b48f66b6 If NSIO not defined, compile errors. 1998-10-31 23:51:05 +00:00
is
e4d73206ab Make the exec header an automatic variable, instead of malloc()ed space.
Saves 60 bytes of code.
1998-10-31 22:40:27 +00:00
lukem
80e1cdcee7 s/milieconds/milliseconds/ 1998-10-30 13:47:02 +00:00
ws
2791cf041a Fix a thinko which still prevented this to run on non-int13-ext machines.
Thanks to entropy@zippy.bernstein.com for pointing this out and testing the fix.
1998-10-30 12:16:59 +00:00
scottr
9d3eea92f4 Add DOS partition handling, from Ken Nakata in PR 4999, with
only slight tweaking by me.

XXX - does not currently handle NetBSD/i386 or 386BSD/FreeBSD partitions.
1998-10-30 06:48:51 +00:00
scottr
c8546bdb7b Enforce a lower bound of (RAW_PART + 1) on the number of partitions
read from the Mac partition table.  From Ken Nakata in PR 4999.
1998-10-30 05:27:15 +00:00
jonathan
ba531b48c6 Use console_debugger() hook to enter DDB. 1998-10-29 21:25:17 +00:00
jonathan
5211fed3ab Michael Hitch's fix to dtop handler:
make handler FSM robust enough to not lose its place after data overrun.
  stops  keyboard from going catatonic.
1998-10-29 04:54:20 +00:00
is
d103f66935 Switch the Amiga port to UVM. 1998-10-28 22:41:24 +00:00
dante
27e57114e1 Add support for macppc
Very special thanks to Itsumi Tsutsui for his invaluable collaboration.
1998-10-28 21:06:27 +00:00
hubertf
bc70dd6bc5 Cleanup includes-installation, ACK'd by Matthias Drochner. 1998-10-28 14:14:45 +00:00
jonathan
558bc32937 Add missing braces pointed out by egcs. 1998-10-28 04:28:32 +00:00
jonathan
dd735283c1 Add `struct proc;' to keep egcs warnings happy in userland.
XXX why are kernel prototypes visible here at all?
1998-10-28 04:26:52 +00:00
mark
096ffe523f Fix a couple of string buffer overruns in lpt_ofisa_md_match()
From Richard Earnshaw, fixes PR6210.
1998-10-28 04:21:57 +00:00
sakamoto
7b111b4229 Support frame buffer console with Matrox Millennium(probably, and II).
But, NetBSD/bebox kernel doesn't support yet.
1998-10-28 02:47:35 +00:00
hubertf
c884556c3d Prevent loop caused by custom includes-target 1998-10-28 01:46:46 +00:00
thorpej
56066ad5fb Add media list, media list count, and default media arguments to
ne2000_attach().
1998-10-28 00:13:47 +00:00
matt
b26897f295 Initial bus_space support routines (should be common across
all platforms and buses).
1998-10-27 21:19:48 +00:00
matt
4cbbe0abff Latent support for revamped "local bus" support. 1998-10-27 21:18:52 +00:00
christos
12fd61ebc9 PR/6356: Hubert Feyer: Linux emulation has problem w/ pipes
On linux we don't have syscalls that use retval[1] (edx). So don't
corrupt edx, because the compiler assumes that it has the same
value as before the syscall. Also, compute if we are running under
linux emulation in one place.  XXX: Someday we should have a syscall
function per emulation and avoid the mess.
1998-10-27 18:04:27 +00:00
ws
6463d10c79 Fix typo which prevented this from working
on disks without int13-extension support.
1998-10-27 14:08:55 +00:00
ws
a541c86a76 Update version number and mention int13 extension support
(sorry, forgot this on the recent commit of the above).
1998-10-27 12:59:02 +00:00
scottr
890be8e6d7 Whoops! When looking at the return value from ptest040(), be sure
to handle the case of a TTx register hit.
1998-10-26 23:17:54 +00:00
hubertf
7e430fc3fd Install programs & files for pcvt. 1998-10-26 21:01:28 +00:00
ender
ab941faefb Make the kernel compile when the ALTXBUTTONS option is set.
Fixes PR#6363 from Frederick Bruckman (fb@enteract.com)
1998-10-26 19:20:00 +00:00
sommerfe
116ab7954f This file has no real dependancies on SYSV ipc gunk.. so don't drag in headers 1998-10-26 19:11:57 +00:00
pk
9eb94a0c03 Must protect user-land from cpuvar.h; noticed by Juergen Hannken-Illjes. 1998-10-26 08:16:08 +00:00
pk
f3c1682c65 No need for `#ifdef SUN4M' protection. 1998-10-26 08:12:15 +00:00
scottr
a83dff9c40 Make it compile for MRG_ADB kernels. 1998-10-26 07:09:37 +00:00
scottr
974ff0e869 Use the <machine/asm.h> macros, and don't call code that we haven't
included.
1998-10-26 07:07:34 +00:00
scottr
5af0d2da90 Don't hide the ADB hardware types when we're building an MRG_ADB kernel;
we really do need them around, anyway.
1998-10-26 07:06:41 +00:00
enami
92d5be6614 Explicitly test Intel 82371AB PCI-ISA bridge since *some* of them
identify themselves as miscellaneous bridge rather than isa bridge.
1998-10-26 03:47:19 +00:00