Commit Graph

17157 Commits

Author SHA1 Message Date
leo 394afce1c9 NWDC -> NWD (wdc.h -> wd.h) 1998-11-20 12:43:11 +00:00
tron 45d30cea9d Sync with GENERIC. 1998-11-20 11:50:29 +00:00
itohy 6fca929d87 Moved the manual to share.
Added -L for libc.
Use `&&' instead of `;' for  cd and print-objdir  in order to avoid
infinite fork() if chdir failed.
1998-11-20 10:59:22 +00:00
mhitch 475a5c2afd RZ25 disks seem to need a short delay after a start command; the test unit
ready right afterward succeeds, but the getsize following that failed with
a "not ready".
1998-11-20 06:24:02 +00:00
kml ba30effcf8 Changes to support a HIPPI Framing Protocol device, which allows raw
HIPPI packets to be written without having to go through the network
stack.
1998-11-20 04:12:57 +00:00
ross 8d957efade Sigh, shuffle the nsio ide frobber yet again. 1998-11-20 03:58:22 +00:00
thorpej 5f0577babc Adapt to the new scsipi_adapter interface. 1998-11-19 21:43:00 +00:00
mrg db3051d720 fix problems in many d_mmap routines:
- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!
1998-11-19 15:38:20 +00:00
he db360b9524 Bump ramdisk size by 100 blocks -- ran out of space. 1998-11-19 11:43:57 +00:00
dbj 044d782820 Removed unused buserr and addrerr declarations. 1998-11-19 08:32:26 +00:00
jonathan 20cf682664 kernel config file for pmax install via ramdisk. 1998-11-19 06:05:11 +00:00
ross 3f24fce866 More include shuffling. 1998-11-19 02:53:47 +00:00
ross b0f44850f5 Don't insist on an FFS if we are in contiguous block (-b) mode. 1998-11-19 02:44:40 +00:00
ross d963824bdc #include <machine/intrcnt.h> 1998-11-19 02:35:39 +00:00
ross bc9cb58205 Fix interrupt map for baseboard bridge. 1998-11-19 02:33:37 +00:00
ross 47c613e7dd #include <machine/alpha.h> 1998-11-19 02:29:49 +00:00
ross 4ea2865631 +#include <machine/alpha.h>
+#include <machine/intrcnt.h>

Also, this module gets the junk I/O IDE channel frobber that used to
be in dec_axppci_33.c, so it can be called for the eb64plus also.
1998-11-19 02:28:56 +00:00
ross 372977cf54 Nuke the final holdout of INTRNAMES_DEFINITION.
Do a nice gas.new .rept/.endr loop and also pad each string with spaces
in case a platform actually does want to rewrite the names.

G/C some EVCNT_COUNTERS stuff.
1998-11-19 02:27:29 +00:00
ross b9fa3646cb #include <machine/intrcnt.h>
#include <machine/alpha.h>
g/c some EVCNT_COUNTERS stuff.
1998-11-19 02:23:15 +00:00
ross c6c1b0098f #include <machine/alpha.h> 1998-11-19 02:22:01 +00:00
ross ee226b43f1 Include <machine/alpha.h> and do not directly include <bus.h> 1998-11-19 02:20:07 +00:00
ross 7221bd8229 +#include <machine/alpha.h>
-#include <machine/bus.h> (done for you by alpha.h)
Take the junk I/O chip IDE channel frobber and move it to machdep.c.
1998-11-19 02:05:07 +00:00
ross d3509bcc51 Clarify the 1000/1000A situation: two variation tables and an all-purpose
backup platform.family string.
1998-11-19 02:02:45 +00:00
ross 9b7ad6c70c #include <machine/alpha.h> 1998-11-19 01:59:39 +00:00
ross 8470625657 New module to hold the alpha-specific prototypes that don't need to be
exported to the MI kernel. Almost everything here was formerly in cpu.h.
Optionally, this module could in the future be used to #include anything
that is always needed by arch/alpha modules.
1998-11-19 01:57:56 +00:00
ross 19a4c3110c Rip out 70 lines of (all of) the port-alpha-specific decls and prototypes.
They should not be visible to the MI kernel and the MI kernel shouldn't
depend on this junk.  Most of it moves to new module <machine/alpha.h>.

Leave badaddr() here, though, because it's used so widely.
1998-11-19 01:51:40 +00:00
ross e2e3ee52ae Nuke the giant ugly-as-sin per-platform INTRNAMES masterpiece.
I just cannot add one more platform without getting sick.
Instead, we do just one table for all platforms. More-or-less,
it was only the A12 that even named it's individual interrupts anyway.

Also, prototype set_iointr() here. It's a slightly odd place, but 10*
better than the old place it was, and this file is included by exactly
the perfect set of .c files for set_iointr() visibility.
1998-11-19 01:48:04 +00:00
ross a68dbb068a Stop including <machine/alpha_cpu.h>; we already export <machine/cpu.h>. 1998-11-19 01:42:37 +00:00
ross da8b1017f4 "extern struct rpb *hwrpb" belongs here (duhhh) 1998-11-19 01:41:36 +00:00
pk dee948f2d9 Increase the delay after touching the IOMMU control register by another
three no-ops (empirically verified by Robert Elz).
1998-11-18 12:07:47 +00:00
itohy d8f63f8a88 Get pmap_extract() return value with paddr_t, not vaddr_t.
Some other minor changes stolen from hp300. :)
1998-11-18 10:05:35 +00:00
tsubai 099f099133 Don't send mouse events to wsmouse layer if wsmouse isn't configured. 1998-11-18 09:11:34 +00:00
sakamoto d8d1762a15 Support frame buffer console initialized by the BootRom of the BeBox. 1998-11-18 09:05:18 +00:00
jonathan fe83804dea Add md (memory disk) hooks for pmax. ecoff kernel with 2MB ramdisk
tftp-boots on new PROMs. (3MB is too large).
1998-11-17 22:41:05 +00:00
mrg e9b43366f3 add some shiny happy egcs braces 1998-11-17 12:11:27 +00:00
oster cf5710c839 Added a (commented out) configuration line for the RAIDframe device driver. 1998-11-16 16:44:55 +00:00
tsubai b3e8f6e5fe Enable UVM by default. 1998-11-16 12:21:30 +00:00
marc c48ce4626f Avoid irq 5 and 7, the most likely cause of problems on modern laptops. 1998-11-16 07:23:28 +00:00
eeh a178ed6add Fixup the last broken bits of the signal handling code. 1998-11-16 06:51:35 +00:00
dbj a712d8ae87 Moved UVM define from GENERIC to std.next68k
Added -Wno-main to warnflags, if compiler supports it.
1998-11-16 04:37:56 +00:00
mrg ae0c22f1b1 move vax "options UVM" from GENERIC to std.vax 1998-11-16 04:32:56 +00:00
mycroft 09093330b1 Add {LONG,WORD}_BIT and {DBL,FLT}_{DIG,MAX,MIN}. 1998-11-16 04:12:29 +00:00
jonathan a3a77d9561 Add skeleton code to defer rcons console output to soft-interrupt time.
ifdef'ed out for now.
1998-11-16 00:10:39 +00:00
perry 0c20c72cf9 (mostly) fix kernel tags support. from Frederick Bruckman in pr-6445. 1998-11-15 20:36:30 +00:00
tsubai dd918881b6 Restrict the length of return value within buflen. 1998-11-15 19:53:25 +00:00
tsubai 7c939afccf RTC support for pmu (read only). 1998-11-15 19:41:33 +00:00
jonathan 03b30a046d * make scc_tty_init() callable when very cold: call scc_coldparam() directly.
Use scc_tty_init() in scc_consinit().  Declare scc_consinit() in sccvar.h.

* Remove last vestige of special-case console handling in sccparam() code.

* Call scc_consinit() from findcons scc_serial() console-setup.
  Dont PROM for scc serial console at all.
1998-11-15 11:21:52 +00:00
jonathan b6111d03f9 Add mainbus0 and cpu* lines to R4000 config. 1998-11-15 06:27:11 +00:00
jonathan 5ddadfcc95 Remove old model-specific config files. 1998-11-15 06:22:25 +00:00
mhitch 6317908feb UVM is now the standard VM system on NetBSD/pmax. 1998-11-15 05:43:32 +00:00
mhitch 549407b634 Change page modification emulation: don't fiddle with VM flags directly.
Track page modification status in the PV entry like the alpha, and let
pmap_is_modified() return current status back to the VM system.  UVM now
works reliably.

Garbage collect the old pmap_attribute[] stuff.
1998-11-15 02:34:19 +00:00
mhitch f6adcd4690 Some CyberStorm MK I SCSI modules use the same product ID as the Fastlane.
Add a check for that product ID and not a Zorro III address.
1998-11-14 21:48:22 +00:00
dbj 87cb8573e1 Finished changes to use UVM on next68k.
Turn on UVM by default in GENERIC kernel.
1998-11-14 04:32:50 +00:00
briggs 0659054b8b Make this compile _and_ link with DEBUG / ADB_DEBUG defined. 1998-11-14 03:20:47 +00:00
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
enami c8a28ce872 Cosmetic change; use tab for basic indentation rather than four space. 1998-10-26 03:43:52 +00:00
sakamoto 709dd80ed0 Support frame buffer console initialized by the BootRom of the BeBox.
But, NetBSD/bebox kernel doesn't support yet.
1998-10-26 00:45:47 +00:00
is c6457000db Fix obvious typo in DEBUG code 1998-10-25 21:58:25 +00:00
christos 62b06e44c3 Add nca driver goo. 1998-10-25 18:40:17 +00:00
tsubai d6ebbdb79a Fix -Wpointer-arith warning. 1998-10-25 17:39:52 +00:00
tsubai 262ba9ad95 Fix miscounting of length in syncicache(). 1998-10-25 10:13:21 +00:00
kleink eec814ba1c Remove argument name from function declaration. 1998-10-24 16:22:58 +00:00
is 9177fc99a7 Oops. People without I4B should still be able to compile a kernel. 1998-10-24 11:09:29 +00:00
is 4a961f034b All m680?0 User Manuals claim that trap vectors are fetched from the data
cache, if found there (but not allocated in the data cache on trap).
No need to flush the data cache.
1998-10-24 10:48:34 +00:00
pk de51cf3531 Define and use CPU pause/resume IPI messages (until such times that I know
what the prom supplied versions actually do).
1998-10-24 08:12:55 +00:00
pk c85c920d03 Duh.. condition codes are not preserved when writing directly into %psr.
Also, we need to deal with bus latency when turning off bits in the
interrupt status register.
1998-10-24 08:04:07 +00:00
jonathan 04062f718c Cleanup kdbpeek() definition as noted in PR port-mips/5252. 1998-10-24 01:36:09 +00:00
jonathan e68e8297d2 Fix stacktrace alignment, in case of 64-bit stores into stackframes.
From pr port-mips/5536 from Castor Fu <castor@geocast.com>
1998-10-24 01:14:26 +00:00
thorpej bfc8ed8a50 Add "exphy" and "lxtphy" drivers. 1998-10-24 00:46:17 +00:00
briggs 67be755f17 DTRT if sfb is not configured in the kernel. 1998-10-23 23:49:31 +00:00
is 009398587b This time, really add i4b to cdevsw[]. 1998-10-23 23:03:02 +00:00
jonathan e9441f3a72 Garbage-collect obsolete "field" intpri from ibus_attach_args.
clean up initalizers to use  correct, in-range values for ia_cookie,
which is what  ibus children passed down to ibus_intr_establish.
1998-10-23 23:01:44 +00:00
is 732bba6038 oops, commit error. undo. 1998-10-23 22:38:26 +00:00
is 8a6428e6be Add entries for i4b devices / placeholders, like in i386 and Atari. 1998-10-23 22:14:27 +00:00
ender 2055d846f9 New ADB "bus" interface:
o Separate ms and kbd drivers
o aed device for compatibility
o debug message cleanup in hardware direct support (from scottr)
1998-10-23 01:16:22 +00:00
jonathan 0582e98991 Treat Wangtek QIC-150 SCSI tapes the same as Viper, so they work on
3100s as well as with the asc driver.
1998-10-22 23:01:45 +00:00
bouyer 31dec5ddc5 Add config flags for pciide: 0x001 forces the use of DMA when the driver
don't know how to set the controller's modes.
1998-10-22 15:11:39 +00:00
scottr 5cb5f44921 Defopt ALTXBUTTONS, DISABLE_EXT_CACHE, and ZS_CONSOLE_ABORT. 1998-10-22 04:36:50 +00:00
briggs 2db4e51dad Kernel config for wscons/serial console support for TC alphas, based on
GENERIC.  This can go away when NEW_SCC_DRIVER hits prime-time.
1998-10-22 01:05:36 +00:00
briggs ab9470909c Preliminary support for both serial consoles and kbd/display wscons
consoles for TC alphas.  Based on code from Takuya Koumoto
<takuya-k@is.aist-nara.ac.jp> as well as some parts of Toru Nishimura's
and Matthias Drochner's work on pmax wscons.  This relies on the
NEW_SCC_DRIVER.
1998-10-22 01:03:07 +00:00
ragge 42ed21663a Make boot recognize MSCP disks on VAX8200. From Sergey Svishchev. 1998-10-21 20:16:33 +00:00
tsubai 325ecdada1 Use PCI function number correctly. 1998-10-21 08:58:36 +00:00
pk 890e54bee0 Pull in cpuvar.h to get definition of `curproc'. 1998-10-21 07:11:47 +00:00
tsubai e6efdfc6af Add via-pmu support. 1998-10-20 15:13:14 +00:00
tsubai 330d14c254 Oops, forgot to add them. 1998-10-20 14:59:16 +00:00
tsubai 6f402eb495 Add via-pmu support (only PowerBook 2400c/180 is tested). 1998-10-20 14:56:30 +00:00
simonb e35fe182af Remove commented out OPTIONS DEC_5100 line - there was already an
uncommented line above for the 5100.
Mention "kn04" (the 5000/150) on the DEC_3MIN options line.
1998-10-20 03:03:04 +00:00
tron eb17acb9b3 Defopt SYSVMSG, SYSVSEM and SYSVSHM. 1998-10-19 22:43:58 +00:00
tron 39876df951 Defopt SYSVMSG, SYSVSEM and SYSVSHM. 1998-10-19 22:14:54 +00:00
tron b296275bb4 Defopt SYSVMSG, SYSVSEM and SYSVSHM. 1998-10-19 22:09:13 +00:00
tron 249f0890d0 Sync with "GENERIC". 1998-10-19 18:19:55 +00:00
bouyer ec954fdc40 Add 'uk at atapibus'. 1998-10-19 12:29:55 +00:00
bouyer 59000618ac Remove useless 'flags' for wdc ata isapnp. 1998-10-19 12:06:55 +00:00
pk f0529fccf5 Maintain a current process (`curproc') a per CPU. 1998-10-19 11:56:43 +00:00
briggs ba0625f1f5 vm_offset_t no longer exists. Change to paddr_t, vaddr_t, and psize_t. 1998-10-19 00:32:44 +00:00
drochner eaafa2dbd1 Zero-initialize the initial u-area. This cures the "random process killed
by SIGPROF or SIGVTALRM" syndrome.
1998-10-18 22:00:17 +00:00
ragge 18b6b32a67 Support for DWBUA (BI to Unibus adapter) and KLESI-B (TMSCP tape ctlr) added. 1998-10-18 18:47:18 +00:00
thorpej 49dd2f5055 Need <sys/device.h> 1998-10-18 18:39:43 +00:00
thorpej adc5eb3a57 Fix a thinko in previous. 1998-10-18 17:15:04 +00:00
christos 09285b1171 PR/6311: By me... There was a bug unloading the dmamap:
addr = map->dm_segs[0].ds_addr & ~PGOFSET;
	len = map->dm_segs[0].ds_len;
	len = ((addr & PGOFSET) + len + PGOFSET) & ~PGOFSET;
	addr &= ~PGOFSET;

Notice that the & ~PGOFSET in the first line should be gone. This fixes
the newfs large disk panic.
1998-10-18 16:02:34 +00:00
mellon 8a9206b6fd Add CAPS_IS_CTL option 1998-10-18 12:21:51 +00:00
tsubai 07e2c44982 Make compilable without aed. 1998-10-18 09:52:16 +00:00
tsubai 541bc2d3d7 Add wsmouse support. 1998-10-18 09:31:40 +00:00
itohy 2a9addf6dc Remove unwanted reference to "_trap1" if !defined(COMPAT_13). 1998-10-18 04:42:17 +00:00
jtk c4ffdb9200 dumpsize == 0 also indicates failure to figure out where to dump
(e.g. dump partition too small), so complain in that case when trying to
dump
1998-10-17 00:07:11 +00:00
pk 0bf09a4ae7 Drop cpuinfo's `L1_ptps'; instead keep a per CPU segment (level 2) page
table descriptor that is used to patch up a region (level 1) page table
associated with a user pmap at context switch time.
1998-10-16 22:39:17 +00:00
ws d65dc0de3b Make ourseg visible to the outside similar to bootsect/start_bootsect.S
(Thanks to hannken@eis.cs.tu-bs.de for pointing this out).
1998-10-16 18:07:35 +00:00
mycroft 79a031f9d3 Configuration for new CVS server. 1998-10-16 00:30:53 +00:00
ross 3707ad314c History. INSTALL is now used on the floppy set and combo CD/HD/tape image. 1998-10-16 00:15:15 +00:00
drochner 5bdff43727 Initialize default disklabel properly: Whole disk is RAW_PART, not 'a'. 1998-10-15 19:08:33 +00:00
drochner 2468738337 change handling of libkern:
-sys/lib/libkern builds as library per default (as it was documented all
 the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
 (for now; should depend on actual "option LKM" or -better- functions
 included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
 by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
ws f82918b49b Add int13 extension support 1998-10-15 15:28:22 +00:00
bad 50aa1b9d51 Add the IDT WinChip C6 to the cpu type table. 1998-10-15 15:26:01 +00:00
tsubai 3b892dd579 /chaos/control support. (tested 640x480 mode only) 1998-10-15 14:48:47 +00:00
tsubai 810fcde7eb Set PCI bus number correctly. 1998-10-15 14:39:53 +00:00
bad 28b3386649 Add CPUVENDOR_IDT and CPU_C6. 1998-10-15 13:40:33 +00:00
bouyer 999d5323c0 Make CPURESET_DELAY a patcheable variable, as sugested by Chris G. Demetriou. 1998-10-15 11:41:28 +00:00
matt a9a911bdba Add .type pseudo-ops needed for shared libraries. 1998-10-15 06:01:11 +00:00
ross 3e35915bc3 Don't use big 16K blocks for the -b contiguous secondary boot installation.
It leads to confusion about where the end of the image is on tape boots.
1998-10-15 01:05:20 +00:00
ross 16bf3552bb Save a0 during bss clear. 1998-10-15 01:02:55 +00:00
ross 9f7ca48f3b Delete prom_open() wrapper routine. Other clients of prom_open
can use the prom.h dispatch macros instead, especially since they
all presently expect the raw return bits.
1998-10-15 01:02:15 +00:00
ross c84b7f501e Delete bogus prom_open() prototype. 1998-10-15 01:00:56 +00:00
ross 412f6ae85b Grab booted_dev_fd parameter from bootxx. It won't be there for netboot
but there should be no harm done.
1998-10-15 01:00:07 +00:00
ross 6336abe01a const'ify 1998-10-15 00:56:56 +00:00
ross df51a43618 Rototill the primary boot for...
1. much faster speed
  2. support of more media types
1998-10-15 00:55:48 +00:00
ross c33589db84 Consult osrelease.sh and pass down NETBSD_VERS 1998-10-15 00:52:38 +00:00
ross 74f36b2497 Try the ustarfs open first...it's the only one that can't necessarily
seek. We might be reading a tape and the extra superblock reads will
eat up tape records.
1998-10-15 00:51:22 +00:00
ross 9c29657a67 Extern def for raw prom disk file descriptor. 1998-10-15 00:49:34 +00:00
ross b0367fb980 Don't actually do the raw prom open here. 1998-10-15 00:48:55 +00:00
ross 8447dd624c 1. STANDALONE -> _STANDALONE
2. Key raw prom interfaces defes on ENABLEPROM
3. Define the prom "ioctl" magtape functions.
1998-10-15 00:47:28 +00:00
ross d4e2b18bb1 Define ENABLEPROM, which turns on the raw prom interface defs. 1998-10-15 00:45:52 +00:00
is 8caffffa3e Activate cleandir (and distclean), as suggested in PR 6244 by
Frederick Bruckman.
1998-10-14 20:45:43 +00:00
matt 495a4bdb2c Sync with new IDE support (e.g. pciide changes) 1998-10-14 18:31:34 +00:00
matt f8e4127109 Remove pciide definitions in files.alpha since they are now in files.pci 1998-10-14 18:00:11 +00:00
pk fd966585a1 Turn on the counter at each CPU (we fear nothing..) 1998-10-14 14:53:36 +00:00
pk afcfa7d7fa Let all CPUs spin at spl0. 1998-10-14 14:47:20 +00:00
pk 631a48776f Don't allocate two stacks per CPU.
Minor attach-time message change.
1998-10-14 14:22:18 +00:00
tsubai 4f4676e9c0 Sync to ``POWERMAC'' config. 1998-10-14 13:54:09 +00:00
tsubai 635d4ae57a Fix typo. 1998-10-14 13:21:10 +00:00
tsubai c539169765 wskbd support. 1998-10-14 12:56:19 +00:00
tsubai f6f8f9b3f5 Oops, remove ite/grf. 1998-10-14 12:31:34 +00:00
tsubai 461a9c9361 Add wsdisplay/wskbd. 1998-10-14 12:28:54 +00:00
tsubai ced4fd09b4 Add wsdisplay. 1998-10-14 12:27:03 +00:00
tsubai 20e56a7571 Add wsdisplay (, wskbd, and wsmouse). 1998-10-14 12:21:21 +00:00
tsubai 9fdd9b72df Implement PCI tag to OpenFirmware device convert function (pcidev_to_ofdev). 1998-10-14 12:18:20 +00:00
tsubai b6e7cc68c6 akbd: wskbd support.
ofb: OpenFirmware generic framebuffer.
1998-10-14 12:15:10 +00:00
augustss 797eea8ae5 Add a sequencer pseuso device since we have a MIDI device. 1998-10-14 11:13:14 +00:00
pk e6c0a03f90 `ncpu != 0' doesn't make much sense when deciding what CP info to print. 1998-10-13 21:08:48 +00:00
pk bf7ace9074 CLKF_INTR() needs to have a MULTIPROCESSOR version. 1998-10-13 20:53:02 +00:00
perry 3a86ff1e67 Fix a stupid bug -- an if that was supposed to be nested but wasn't. 1998-10-13 15:14:13 +00:00
pk 802248ee1c We use MULTIPROCESSOR explicitly here, so pull in "opt_multiprocessor.h". 1998-10-13 13:37:14 +00:00