Commit Graph

30985 Commits

Author SHA1 Message Date
ross 6068f64d34 * If the cpu_model string contains some form of MHz , don't print
the rpb field also.
* Add dot_conv(), hex format conversion for long hex digit strings.
1999-06-29 07:21:30 +00:00
ross 10f1f2d81f Prototype dot_conv(), new routine in machdep.c that formats an alpha
long like this: e081.8000.8000.0004
1999-06-29 07:18:23 +00:00
ross 724273c3c0 System support for ev6 (21264) systems. 1999-06-29 07:08:53 +00:00
ross b0947ec27d Turn on EV6 bits: Tsunami and system type 6600. 1999-06-29 07:04:15 +00:00
ross 3714f3754f Turn on dec_6600_init, "DEC_6600". 1999-06-29 06:50:41 +00:00
ross 0f707bdb06 Identify the various ev6 pass numbers.
Also print the raw pass number rpb value as, say, `21264-4', like SRM does.
1999-06-29 06:49:36 +00:00
ross 7a27e79bff Support for EV6 Tsunami core logic and system type 6600.
This covers most or all of the presently-available 21264 systems.
1999-06-29 06:46:46 +00:00
briggs 819a054df2 Poll for serial interrupts. Return to 3000us delay instead of 4000us in init. 1999-06-29 04:45:59 +00:00
pk 3c6560a597 More ugly code to force early configuration of the sun4 on-board timer. 1999-06-28 22:40:15 +00:00
pk 61f60a2fbe Allow SFILES to be empty; from Julian Coleman. 1999-06-28 21:03:23 +00:00
pk bd0ac6506c Prepare entry for `hme at sbus'; commented out until driver is finished. 1999-06-28 20:26:47 +00:00
pk 4fe4dae943 Ignore (but still generate a console warning) unhandled user-generated traps. 1999-06-28 15:51:26 +00:00
minoura 6895a21734 Correct imbalance #if. 1999-06-28 15:35:04 +00:00
pk 7c5f595062 mmu_pagein() prototype: change address argument to `vaddr_t'. 1999-06-28 14:44:57 +00:00
pk 5814a13657 mmu_pagein: refuse kernel space addresses here. 1999-06-28 14:41:43 +00:00
ragge 1e7b5cf8ae Wrong definition of SID for MicroVAX I, from Brian Chase. 1999-06-28 13:13:53 +00:00
itojun 427639cdce - Call ip6intr if INET6 is defined.
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
  and conflicts with IPsec ESP header.

This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.
1999-06-28 08:20:40 +00:00
explorer 12b25faeaf KNFify. Add LINK1 flag to turn off that address munging thing, for cases
where the tunnel endpoint is not the same as the remote GRE destination.
1999-06-28 07:52:38 +00:00
itojun 74d3c214ec KAME/NetBSD 1.4 SNAP kit, dated 19990628.
NOTE: this branch (kame) is used just for refernce.  this may not compile
due to multiple reasons.
1999-06-28 06:36:47 +00:00
briggs 79fe772f46 Include a bit more info about what's not happening with IOP. 1999-06-28 04:33:21 +00:00
briggs 598b09009b Include resourcevar.h for p_limit/rlimit definition. 1999-06-28 04:21:15 +00:00
augustss 622f3d3db5 Regen. 1999-06-28 04:10:26 +00:00
augustss f69aea19d2 Add some weirdo modem. 1999-06-28 04:09:53 +00:00
sakamoto 8b9b340040 remove display.h 1999-06-28 02:44:49 +00:00
sakamoto 0d8aecad83 Description of making bootable floppy disk for NetBSD/bebox. 1999-06-28 02:19:37 +00:00
briggs 71a4446b04 Unfortunately, several changes that are intermingled:
- Add initial IOP support.  ADB doesn't work yet for me, but it's here so
  that others will be encouraged to work on it.  ADB_HW_IOP basically
  is configured as a NOP so that serial consoles will continue to work.
- Roll via1_intr and via2_intr into the intr.c scheme--this also required
  changing rtclock_intr to grovel the stack differently so that hardclock
  gets the right arguments and softclock() doesn't get all reentrant.
- Make via1 interrupts parallel to via2 interrupts--handlers get a pass-
  through pointer and we can register handlers.  Register via1 interrupt
  with intr_establish()--normally level 1, level 6 for A/UX scheme.
- Use intr_establish() to set real via2 interrupt handler instead of the
  hacked function pointer.
- Reorganize adb-direct interrupts so that a function call is removed.
- Implement A/UX interrupts for all Quadras right now.  We may need to
  special case some Quadras, but Linux folks are reporting success on
  several models.
- Fix intrnames to be accurate for the normal, PSC, and A/UX interrupt
  configurations.
1999-06-28 01:56:55 +00:00
briggs f9de07203c Add some constants from Linux/mac68k to note SCC, floppy, and SCSI registers.
Add some code, inspired by Linux/mac68k, to shutdown all DMA on the PSC
at startup and to disable and clear all interrupts except the SCC.
1999-06-28 01:41:13 +00:00
sakamoto d897c73dfc correct tgets loop. 1999-06-28 01:35:11 +00:00
sakamoto d32f22724c Use loadfile.
KNF
b* -> mem*
1999-06-28 01:20:43 +00:00
sakamoto a6ad37379e Add elf2pef and mkbootimage. 1999-06-28 01:08:05 +00:00
sakamoto 70b8755876 Convert ELF image into PEF image.
some KNF
1999-06-28 01:03:55 +00:00
sakamoto 9b0b219ff6 Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/pef.h,v 1999-06-28 00:56:31 +00:00
sakamoto 8ab4e1005a Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/pef.h,v 1999-06-28 00:56:30 +00:00
sakamoto e6fae19e1f Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/magic.h,v 1999-06-28 00:56:03 +00:00
sakamoto 52fc791782 Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/magic.h,v 1999-06-28 00:56:02 +00:00
sakamoto f1be5c4181 Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/elf2pef.c,v 1999-06-28 00:51:11 +00:00
sakamoto 13ba815119 Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/elf2pef.c,v 1999-06-28 00:51:10 +00:00
sakamoto 5b75eca570 mkbootimage makes bootable BeOS DR8 filesystem(a.k.a. obfs) image. 1999-06-28 00:35:22 +00:00
briggs d6205b71c6 Undo some of my recent changes that were misguided. 1999-06-27 23:43:37 +00:00
christos dfa695b9a7 Add missing phy's 1999-06-27 22:35:56 +00:00
christos ce110dd283 Add missing phy's. Increase miniroot size 1999-06-27 22:35:43 +00:00
is f4351f7b96 Don't even try to output to, scroll or clear the device if we are in graphics
mode. On this chip, we need to access some registers to set the text plane,
which messes up the graphics setup.
This should fix the grf3 problems reported by several people.
Michael Hitch and Joerg Lehners analyzed the problem and provided the fix.
1999-06-27 21:17:17 +00:00
christos 4440b677e2 add vr* at pci?, sort 1999-06-27 15:58:18 +00:00
drochner dbd86a254c add driver for realtek 8129/8139, from freebsd, with mii stuff kicked out 1999-06-27 15:19:40 +00:00
drochner 746543928c regen 1999-06-27 15:15:00 +00:00
drochner 120b30daf4 add some realtek 8139 clones 1999-06-27 15:13:54 +00:00
minoura 1330797741 Restore scroll registers after X server exits. 1999-06-27 14:14:30 +00:00
minoura c88662958f include sys/resourcevar.h to be compiled. 1999-06-27 14:13:14 +00:00
pk a7e4d3ac4d Add the Sbus front-end for the HME driver. 1999-06-27 12:47:52 +00:00
pk 2688b883b3 Declare the `hme' device. 1999-06-27 12:43:08 +00:00
pk 5041f2a9dd HME ethernet driver.
Note: this is work in progress; needs testing and tweaking. mgr has
promised to do that..
1999-06-27 12:26:32 +00:00
ross d13c150e3b include <string.h> for memset(3) when compiling userland test setup 1999-06-27 06:18:33 +00:00
cgd 8375a442f7 wildcard root spec, or MEMORY_DIS_IS_ROOT won't work right 1999-06-26 23:17:04 +00:00
mrg 7683f14172 enable xbox and ppp 1999-06-26 18:47:15 +00:00
briggs eb7ff0a96f Quadra 900/950 SCC-compatibility serial support is at an offset of 0x20
bytes from the base SCC address.  With this change, serial console works
on my Q950 if the MacOS control panel is used.
1999-06-26 18:29:28 +00:00
simonb 29f88d843b Since we know the start and end addresses of the symbol table, subtract
these and pass as the first parameter of ddb_init().  We used to pass
the contents of the start of the symbol table cast to an int, which for
an ELF kernel is "0x7f ELF" - not quite the symbol table size!  How this
used to ever work I dunno...
1999-06-26 17:03:48 +00:00
simonb 3187dcd798 Fix tyop in error message. 1999-06-26 16:58:12 +00:00
tron b2c4582d6d Regen. 1999-06-26 16:26:57 +00:00
tron 0ddfad8dfa "www.usb.org" says that:
a) Logitech has vendor ID 0x046d.
b) That vendor ID 0x05ac is Apple Computer.
1999-06-26 16:26:20 +00:00
tron 6e72bbdb8a Regen. 1999-06-26 15:21:17 +00:00
tron 62f6e7122f Correct description of vendor "LOGITECH": this is not Apple. 1999-06-26 15:20:53 +00:00
matthias c343d282b0 Pull over some changes from the i386 port to fix the kernel RSS counters. 1999-06-26 09:09:51 +00:00
augustss 3fd5344a95 Add suspend/resume handling to the UHCI driver.
Currently it only works if the BIOS saves enough state of the controller.
Once I find a machine with a dumber BIOS I'll try to improve that.
1999-06-26 08:30:17 +00:00
augustss 94b815050e Add powerhooks, i.e., the ability to register a function that will be
called when the machine does a suspend or resume.
XXX Will go away when Jason's kevents come to life.
1999-06-26 08:25:25 +00:00
cgd e9969b5e0d need md if we want a miniroot 1999-06-26 07:29:18 +00:00
cgd 4bb852a2c8 Add a shark kernel with ramdisk for a miniroot file system. 1999-06-26 07:00:44 +00:00
cgd ecc0edc397 clean up memory disk options 1999-06-26 06:56:26 +00:00
sommerfeld b7c70d2b2f If the new global variable hostzerobroadcast is zero, no longer assume
address zero of each net/subnet is a broadcast address.
(The default value is nonzero, which preserves the current behavior).

This can be set using sysctl; the boot-time default can also be
configured using the HOSTZEROBROADCAST kernel config option.

While we're here, defopt HOSTZEROBROADCAST and SUBNETSARELOCAL
1999-06-26 06:16:47 +00:00
thorpej c52d839a6e Nuke some code ripe for garbage-collection. 1999-06-26 03:15:54 +00:00
augustss 701eca7576 Remove unneeded #include. 1999-06-26 03:14:25 +00:00
cgd 2055d9d08d emulate (parts of) flock 1999-06-26 01:24:41 +00:00
cgd 1e29f2fb1f convert flock struct 1999-06-26 01:23:23 +00:00
cgd b9c997eba9 flock struct and related constants and types 1999-06-26 01:21:30 +00:00
augustss 7ef0c8eef3 Add a quirk for mice with reversed Z-axis. 1999-06-26 00:09:15 +00:00
augustss 55fbc23acc Regen. 1999-06-26 00:08:15 +00:00
augustss c4c81ec6fa Add another Logitech mouse. 1999-06-26 00:07:35 +00:00
perseant c951c272b0 Fixes PR #1206, by setting va_mode and va_flags in the copied-up vnode's
attributes.
1999-06-25 19:05:49 +00:00
thorpej 59da37b37e Go to splbio() when calling scsipi_free_xs(), just like the SCSI counterpart.
Fixes PR #7853, Paul Dokas <dokas@cs.umn.edu>.
1999-06-25 18:58:54 +00:00
nisimura 09a2fed6f9 - Show 1bpp for MX during configuration stage.
- Replace memory layout 'struct' with array/pointer access.
1999-06-25 03:33:20 +00:00
sakamoto b1790e3799 Sync with i386. 1999-06-25 01:54:39 +00:00
pk c118a70deb When overriding cache flush functions for specific cpu models, make
sure to update the correct function pointers in `cpuinfo'.
1999-06-24 20:22:12 +00:00
pk 4f2e48c4d2 Don't turn on the engine too early.
Add and use QEDEBUG.
1999-06-24 19:59:14 +00:00
pk 9335333dee Issue a reset command when initializing. 1999-06-24 19:56:51 +00:00
ad 118d1e7afa Remove a few entries for nonexistant TC graphics boards. 1999-06-24 18:47:58 +00:00
kleink 7b67bca335 Add compile-time and run-time feature test knobs for the 1003.1 Mapped Files,
Process Memory Locking, Range Memory Locking and Memory Protection options.
1999-06-24 14:18:10 +00:00
kleink 346afb20f6 Name space protection. 1999-06-24 14:07:44 +00:00
tsubai 5b34d35e45 findroot() should also use "compatible" property. 1999-06-24 08:14:48 +00:00
nisimura 8dd0e06ba1 - Hide memory mapped VDAC hardware register layouts using the array
element access instead of C bitfield (hello, BCPL).
- XXX Some TURBOchannel framebuffers might need shutdownhooks().  It
seems not necessarily hardware sprite cursor images are re-initialized
by DECstation PROMs upon exits from kernel.
- XXX It'd be an arguable point to allow user programs to change the
shade of gray freely for pixel value 0 and 1.
1999-06-24 03:51:14 +00:00
sakamoto 129b091aa8 Use powerpc's header. 1999-06-24 01:35:33 +00:00
sakamoto cce254bef2 Add some declarations. 1999-06-24 01:33:08 +00:00
sakamoto 4364147a17 include machine/intr.h
CACHELINESIZE enabled with defined(_STANDALONE).
1999-06-24 01:28:02 +00:00
sakamoto 943b8c34be Sync with i386's fd.c, fdreg.h. 1999-06-24 01:22:19 +00:00
sakamoto fb1608de31 Comment out MKDEP SFILES. bebox dir has only locore.s.
include bsd.own.mk.
1999-06-24 01:19:51 +00:00
sakamoto dfb8f015ec display.h doubly exists in include and include/pc. 1999-06-24 01:16:52 +00:00
sakamoto 95dac23012 Some cleanup.
Move bootinfo related things to boot.c
and console related things to cons.c.
1999-06-24 01:10:31 +00:00
nisimura 463e258cdb - Allow to choose the 'color' of sprite cursor. Only red cmap makes sense.
- Drop TC Alpha support (OSF/1 and Digital UNIX never supports PMAG-AA).
1999-06-23 23:48:28 +00:00
thorpej b59b8bd5c6 Enable DDB history. 1999-06-23 22:42:52 +00:00
leo 7a4fed2916 Allow the loading of compressed kernels. This makes it again possible
to make a 'system disk' on a 720KB floppy that is usable.
1999-06-23 19:26:13 +00:00
bouyer 4fd8325ec6 Resurect the old register read/write test for non-ATA/ATAPI drives, to avoid
false matches on controllers which properly respond to a WDCC_RECAL command.
Should close PR port-i386/7702 (the author tested this patch, and said it
solves his problem).
1999-06-23 19:00:17 +00:00
minoura b749d34eb9 I forgot to commit this. 1999-06-23 15:20:36 +00:00
mjl 52d0d1398b Regen after tyop. 1999-06-23 10:41:08 +00:00
mjl 1720673bc2 Corrected tyop. 1999-06-23 10:40:16 +00:00
mjl 2abd78cfd3 Regen. 1999-06-23 10:37:10 +00:00
mjl e44e18cc01 Add manufacturer Lasat Communications A/S, product Lasat Credit 288 Modem. 1999-06-23 10:36:19 +00:00
marc cd040ea927 s/mkdir/mkdir -p/, since not all the parents of $(FONTDIR) are
guaranteed to exist.
1999-06-23 04:29:28 +00:00
abs b02dbae17e In xxx_mediachange(), if there is no callback to the front-end, just
return 0 instead of EINVAL.  In this case, there will only be one media
type, and the upper-level if_media code will ensure that the user is
setting to that type.
This matches changes Jason made a while back to sys/dev/ic/lance.c
1999-06-23 04:17:10 +00:00
nisimura 839bcbbe9f - Fix an error in the depth of PMAG-AA MX. This driver can take 72Hz
virtical video retrace interrupt and was verified ok on Nanao grayscale
monitor.  XXX seems still confusion/mistake on Bt431 cursor image
manipulation.
1999-06-23 01:58:22 +00:00
christos b953fb0414 bring back my friend the twiddle. 1999-06-22 22:44:16 +00:00
christos 16e8020994 Nuke obsolete printf comment. 1999-06-22 22:09:49 +00:00
is 7a132d78b7 Align adresses better 1999-06-22 21:12:00 +00:00
oster 7824f40e5f Add a '#include <sys/resourcevar.h>' to each of these to allow them
to compile again.
1999-06-22 14:51:57 +00:00
tsubai a2ded1ab73 NVRAM read/write functions. 1999-06-22 13:12:11 +00:00
tsubai 2068c8b6e4 Use RTC on PB. 1999-06-22 11:29:11 +00:00
sakamoto a9088f55c8 Add casts for -Wall. 1999-06-22 02:04:06 +00:00
sakamoto 40629ff8cc rename pms to opms. 1999-06-22 01:48:33 +00:00
sakamoto 4763a9b0a0 Remove sc_id member from fdc_softc. 1999-06-22 01:41:48 +00:00
sakamoto f93507970d Use powerpc/reg.h 1999-06-22 01:39:43 +00:00
sakamoto ade7d52fc9 Use powerpc/pmap.h. 1999-06-22 01:38:38 +00:00
wrstuden 17900cd587 Install ofwboot.elf in addition to ofwboot. Thanks to Chris for info on how
to do this!
1999-06-21 21:02:49 +00:00
ad 7a71d12944 Clear out 'struct fbdevice' cruft; it represents bitrot on pmax. Add
#ifdef'ed out definition for 'struct fbsoftc', the way forward until
[nisimura-pmax-wscons] is merged.
1999-06-21 19:21:10 +00:00
ad 5756acc071 Cleanup. 1999-06-21 19:07:16 +00:00
ad ebd6cdffde px.c requires that qvss_compat.c be compiled in. 1999-06-21 19:05:10 +00:00
thorpej abb48c5b71 Protect prototypes, certain macros, and inlines from userland. 1999-06-21 17:25:11 +00:00
ragge 51dd099ef5 Add DW750 and DW780 UBA support. Still no BDP's. 1999-06-21 16:23:00 +00:00
mrg 5425cbfa41 fix compile warning. 1999-06-21 06:28:33 +00:00
sommerfeld c45e268d01 Fix PR7373 for real: Rearrange locking to avoid need for LOCKPARENT in lookup 1999-06-21 05:11:09 +00:00
sommerfeld 8d750c058f regen (no actual change, but comments in the master file changed) 1999-06-21 02:30:53 +00:00
sommerfeld 9bad197221 Correct comment about how LOCKPARENT affects VOP_LOOKUP 1999-06-21 02:28:46 +00:00
eeh 0c32dc3995 Clean this up a little. More later. (Gee, this really is becoming a huge
mess).
1999-06-21 01:44:14 +00:00
eeh d326454d31 Nuke the last vestiges of a single DVMA map. This stuff should have
been completely migrated to individual bus drivers.
1999-06-21 01:42:36 +00:00
eeh 2c283b9149 Improve TRAPTRACE. Add FLTRACE that only tracks MMU faults. 1999-06-21 01:39:06 +00:00
ragge e0972091c8 Remove moved files. 1999-06-20 18:19:19 +00:00
pk 37d80b004f Remove dead file; alphabetize 1999-06-20 18:17:22 +00:00
ragge e410ff8410 Remove moved files. 1999-06-20 18:14:41 +00:00
ragge 97e1165dd2 add qe and qd. 1999-06-20 18:09:22 +00:00
pk df81191ccd Remove dead file 1999-06-20 18:07:18 +00:00
ragge e0199475d8 QDSS should now work as console.
XXX - still vax-specific.
1999-06-20 17:58:56 +00:00
ragge 5e906a9454 Fix a erroneous malloc. 1999-06-20 17:56:29 +00:00
ragge 2c9abc499a Copied from ../../arch/vax/uba/qfont.c,v 1999-06-20 17:55:12 +00:00
ragge 9484404e28 Copied from ../../arch/vax/include/qevent.h,v 1999-06-20 17:54:51 +00:00
ragge e49d4f4bd3 Copied from ../../arch/vax/include/qduser.h,v 1999-06-20 17:54:27 +00:00
ragge 09b92a09e3 Copied from ../../arch/vax/include/qdreg.h,v 1999-06-20 17:54:13 +00:00
ragge 08e6c30baa Copied from ../../arch/vax/include/qdioctl.h,v 1999-06-20 17:53:53 +00:00
ragge 6f0df397d0 Copied from ../../arch/vax/uba/qd.c,v 1999-06-20 17:53:33 +00:00
thorpej b75d5b1fe6 Fix tyop. 1999-06-20 16:44:49 +00:00
thorpej 50f084159c SCTRL2 register number wrong. PR #7756, Johan Danielsson. 1999-06-20 16:42:37 +00:00
thorpej 4a0270a264 Intel i82557 driver is now split into bus and chip bits. 1999-06-20 16:35:40 +00:00
thorpej 495319c367 Configuration glue for i82557 fast Ethernet driver. 1999-06-20 16:34:38 +00:00
thorpej 206460244e Bus-independent back-end driver for Intel i82557 fast Ethernet chips. 1999-06-20 16:33:28 +00:00
pk ccd6d1e4de Pull in `sparc/compat_13_machdep.c' for SunOS compatibility too. 1999-06-20 16:30:22 +00:00