Commit Graph

1775 Commits

Author SHA1 Message Date
minoura e518820ca8 Pullin m68k/ieee.h. 1999-03-15 11:55:53 +00:00
perry d446fb449c exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145 1999-03-12 22:42:30 +00:00
scottr 2ea6ea5db5 Add the PowerBook 170 to what appears to be the correct
class of systems, based on the Apple dev notes for this system.
1999-03-05 06:45:41 +00:00
scottr 44a3f70740 Remove ADB_DEBUG; it's not fatal, but it adds a bunch of code that's
disabled by default.
1999-03-05 06:33:18 +00:00
scottr e640c5d7cc Move all IPL setup to intr.c, and do some sanity checking. 1999-02-28 04:52:07 +00:00
scottr d32ed292af defopt BUFCACHE and BUFPAGES. 1999-02-27 06:39:34 +00:00
scottr 21c8d6ed43 Fix tyop in last. 1999-02-27 05:28:35 +00:00
scottr c1037ea51f Support the BUFCACHE option. 1999-02-27 03:26:09 +00:00
is 19d0a457aa oops. void->int 1999-02-26 22:55:33 +00:00
is f71d843a65 synchronize types, and s/curproc/p/ in one forgotten place 1999-02-26 22:37:57 +00:00
is 84971e3a6f mac68k part of pr 6152 fix, and missing bits for the others 1999-02-25 23:13:39 +00:00
scottr cc6252b08b Handle RB_POWEROFF appropriately. 1999-02-20 10:00:37 +00:00
scottr 66477a6be5 Rename via_shutdown() to via_powerdown() for clarity and consistency. 1999-02-20 09:57:35 +00:00
scottr 1bd69f0915 Er, function prototypes don't belong in fooreg.h. 1999-02-18 07:50:54 +00:00
scottr 9da0e1f5c5 First cut at a floppy disk device driver, for IWM and IWM-compatible
controllers.  Supports GCR-encoded disks only (400K and 800K); neither
of the 1.44M formats will work until someone figures out how to drive
the SWIM and its descendants.

This code was written by Hauke Fath, and had only minor touchup (mostly
KNF) by me.
1999-02-18 07:38:26 +00:00
scottr afb76cc809 Add the IWM driver. 1999-02-18 07:35:07 +00:00
scottr 1f3b03f6cd Add support for the IWM driver. 1999-02-18 07:32:56 +00:00
scottr 867a930654 Minor space-tab KNFing. 1999-02-18 07:16:17 +00:00
scottr 928c2f86e0 Fix a typo in the (unused!) splsched() macro. 1999-02-17 04:46:45 +00:00
ender e0a4cb2335 Add NetBSD RCS Id's 1999-02-16 01:08:16 +00:00
mycroft 2a304686e6 Minor cleanup.
Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on
some ports where PCLK is not 4.9152MHz.
XXX Is the default value actually used?
1999-02-11 15:28:03 +00:00
ender 25e1f69c42 o Change various attach arg and softc datatypes to ints.
o Use explicit typecasts when interfacing with MRG data

Should fix port-mac68k/6839.  Patch supplied by
Frederick Bruckman <fb@enteract.com>
1999-02-11 06:41:07 +00:00
kleink f69591d12d Use of casts as lvalues is a GNU C extension; rearrange slightly. 1999-02-10 17:03:26 +00:00
mycroft be1af660c0 Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
scottr 7bc05635d3 Catch up with changes to MBR handling. From Erik Bertelsen in PR 6911. 1999-01-30 17:34:31 +00:00
thorpej af39050d19 Use MBR_MAGIC defintions in <sys/disklabel_mbr.h> 1999-01-27 21:20:18 +00:00
thorpej cb8268a3a5 Use <sys/disklabel_mbr.h>. 1999-01-27 21:00:05 +00:00
mycroft 082204fa3d Standardize format. 1999-01-22 14:12:07 +00:00
thorpej 2fb041ce0a No need for <sys/mtio.h> 1999-01-19 18:18:41 +00:00
scottr d51a8c71b9 Need bswap.h for the bswap32() prototype. From Steve Allen
in PR 6846.
1999-01-19 15:41:03 +00:00
scottr 2159f8a301 Add support for the Contour 3-button mouse, inadvertantly missed
in the ADB split a few months back.  Noticed by Takashi NAKAMURA.
1999-01-16 22:49:37 +00:00
chuck e6f055e44b MNN is no longer an option 1999-01-16 20:31:20 +00:00
thorpej 8922647c58 Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS. 1999-01-15 23:37:05 +00:00
thorpej c84a74b16b Don't define "mc68020". Nothing uses it. 1999-01-15 23:21:25 +00:00
bouyer dc306354b0 Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
scottr c6be16c55a Parenthesize a few expressions uncovered by -Wpointer-arith. 1999-01-10 22:52:55 +00:00
thorpej e598335d1c Garbage-collect `mbutl'. 1999-01-09 22:10:12 +00:00
augustss fc5f9ee81d Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C. 1999-01-08 19:26:12 +00:00
scottr faabac8cce Update video-related RBV constants to reflect reality. 1999-01-06 07:16:56 +00:00
scottr 46b2a0ebce Add RBV monitor sense code (formerly commented out in rbv_vidstatus())
to the match function, and print out more detailed information when
attaching RBV video.
1999-01-06 07:08:19 +00:00
scottr e91873be5f G/C rbv_vidstatus() and related constant. 1999-01-06 05:54:38 +00:00
briggs 1082c49b69 Fix PR port-mac68k/6665 from Paul Goyette with some minor mods.
Cast values is bus_space macros to the appropriate types so we end up
with valid assembly.
1999-01-06 03:06:45 +00:00
scottr 84af636530 vm_offset_t -> {paddr_t, vaddr_t} 1998-12-22 08:47:05 +00:00
scottr da48906a74 Update for present reality. 1998-12-22 08:25:34 +00:00
scottr 3de0336b7c Protect a keyup event for ADBK_3 in the mouse button emulation code with
ALTXBUTTONS, so as to not cause trouble with some non-US English
keyboards.  From SUNAGAWA Keiki, PR 6613.
1998-12-19 21:41:13 +00:00
itohy 36416d8500 Added options COMPAT_LINUX and EXEC_ELF32 as comments
to GENERIC configuration files.
1998-12-15 19:50:00 +00:00
itohy c05dadc113 Added COMPAT_LINUX support. 1998-12-15 19:36:36 +00:00
mjacob 74bc9f26d5 Update HBAs to incorporate the new max_lun property. 1998-12-05 19:43:33 +00:00
ender a5b3596bc4 Remember to recognize modifier key releases when the Option key is down.
Fixes art of PR 6444.  Tested by Frederick Bruckman <fb@enteract.com>.
1998-11-28 19:42:49 +00:00
hwr 59acb69be1 Add (commented out) 'gre' pseudo device line. Feedback is welcome.
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
ender 15f2f5d901 Take emulated button state into account before handing off mouse events.
Fixes part of PR 6444.  Tested by Frederick Bruckman (fb@enteract.com).
1998-11-24 08:34:37 +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
oster cf5710c839 Added a (commented out) configuration line for the RAIDframe device driver. 1998-11-16 16:44:55 +00:00
perry 0c20c72cf9 (mostly) fix kernel tags support. from Frederick Bruckman in pr-6445. 1998-11-15 20:36:30 +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
oster c74d32c5fc Updating of bdev's and cdev's to support RAIDframe. 1998-11-13 04:47:03 +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
scottr 610fe40379 Only allow access to physical RAM. 1998-11-10 07:29: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
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
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
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
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
scottr 5cb5f44921 Defopt ALTXBUTTONS, DISABLE_EXT_CACHE, and ZS_CONSOLE_ABORT. 1998-10-22 04:36:50 +00:00
tron b296275bb4 Defopt SYSVMSG, SYSVSEM and SYSVSHM. 1998-10-19 22:09:13 +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
chuck 8bef431273 remove unused share map code from UVM:
- update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
        has been removed)
1998-10-11 23:20:59 +00:00
thorpej 908cdfe4e3 Add scsibus entry points to the cdevsw[]. 1998-10-10 02:00:49 +00:00
thorpej 29d472f53d Garbage-collect the open_target_lu and close_target_lu entry points from
struct scsipi_adapter; they were not used.

Add a scsipi_ioctl entry point to struct scsipi_adapter.  This will be
used to issue ioctl commands to the host adapters.

Inspired by PR #6090, from Matt Jacob.
1998-10-10 00:28:28 +00:00
thorpej d681cf055a configure() prototype is in <sys/device.h> 1998-10-06 20:50:15 +00:00
thorpej c01f29bdf1 Sigh, we are going to have to burn a vector for Just Sigreturn again,
for now, until we have a more generic {get,set}context().  Update the
comment for trap #3 accordingly.
1998-10-04 23:38:55 +00:00
thorpej d15a64c38b Adapt to signal changes. 1998-10-01 02:53:53 +00:00
thorpej 8b220e1148 Define SYS_compat_13_sigreturn13. 1998-10-01 00:29:51 +00:00
thorpej bcf14a99e2 Garbage collect trap #1 and trap #2 handlers; they're moved to
trap_subr.s
1998-09-30 23:47:33 +00:00
thorpej 1e62485c23 If !COMPAT_13, make trap #1 produce an illegal instruction. Fix the comment
for trap #2 to reflect that it's the trace trap.
1998-09-30 23:13:58 +00:00
thorpej a11e6632a8 Pull in opt_compat_netbsd.h 1998-09-30 23:01:28 +00:00
thorpej 35d282c8d5 Make sure SYS_exit and SYS___sigreturn14 are defined. Garbage collect
SYS_sigreturn.
1998-09-30 22:23:13 +00:00
thorpej 38084c6615 Note that trap #1 is compat_13_sigreturn, and give trap #3 to syscalls
which require special handling, e.g. sigreturn on m68k.

This differs from the old sigreturn trap in that we require the syscall
number to be in register d0, just like the regular syscall entry point.
This will allow sigreturn to be versioned in the future without the need
to allocate another trap vector.
1998-09-30 22:14:11 +00:00
scottr ce9e4beacf Simplify the asm constraints in mrg_aline_super(), in order to
less thoroughly confuse the compiler when used without -O.  Fixes
PR 5496.
1998-09-29 05:24:08 +00:00
scottr a965fe73b1 Add support for the TFL LAN Inc. E410/E420 PDS cards. Based on code
from Ken Nakata in PR 6199, which was in turn derived from code from
Haru Maruyama <h-maru @ da2.so-net.ne.jp>.
1998-09-27 14:39:11 +00:00
scottr 7c4c19c768 First pass KNF. This probably needs more work. 1998-09-22 16:01:51 +00:00
scottr 9d640ee3ad Make this compile again, as pointed out by Paul Goyette. 1998-09-20 19:17:38 +00:00
scottr 45c0de8e37 Interrupt handling for the MicroConversions 2124NB II, from Paul Goyette. 1998-09-18 06:08:28 +00:00
scottr 573d1d344f Add the DrHw value for the MicroConversions 2124NB II display adapter,
from Paul Goyette.
1998-09-15 16:09:44 +00:00
scottr 2b636564b7 Don't add IOBase to sccA; it's an address, not an offset.
Pointed out by Paul Goyette.
1998-09-12 02:42:27 +00:00
scottr 9d1c9d8d38 Use correct devices for zs driver on AVs. From Dave Huang (PR 6107). 1998-09-10 21:40:42 +00:00
thorpej 70e641047c In cpu_coredump(), use MID_MACHINE rather than MID_* (whatever it expands
to).
1998-09-09 11:17:24 +00:00
thorpej 8abe0d6b1c Adjust for the new "reaper" kernel thread: do not free the vmspace and
u-area in machine-dependent code.  Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
pk 7e976967d2 Relinquish my copyright claims on this file. 1998-09-05 15:15:35 +00:00
lukem c9db84ecc9 distclean is a synonym for cleandir 1998-09-05 15:15:14 +00:00
scottr f8a4876874 Add on-board video information for the LC III, and a guess
at the LC II based on similar machines mentioned in the dev note.
1998-08-27 07:31:34 +00:00
scottr 2d981dac3b The return value from intr_dispatch() is no longer necessary. 1998-08-25 04:03:56 +00:00
scottr 2aa56b1c61 Implement splaudio(). 1998-08-25 03:59:01 +00:00
scottr 9237e1254f Take a stab at support for the PowerBook 190/190cs, based on comparison
with other PowerBook hardware.  They seem to be most closely related
to the PowerBook 500-series, but have an internal IDE disk instead.

NOTE:  only external SCSI disks have a chance of working, at this
point.  Nothing has officially changed with regard to IDE support
(yet).
1998-08-22 06:06:05 +00:00
scottr f234add115 Add gestalt machine type for the PowerBook 190/190cs. 1998-08-22 05:47:37 +00:00
scottr 33395d926e Remove an extraneous printf when attaching a Valkyrie. 1998-08-21 13:46:31 +00:00
scottr b27d106197 Match grf_obio devices correctly for the 58x/63x. 1998-08-20 13:58:04 +00:00
briggs 45bcd0fe79 Update comment after cut and paste. 1998-08-17 15:04:51 +00:00
scottr 19a5912587 Remove the 'fast' return from intrhand(). 1998-08-16 22:29:03 +00:00
scottr da5ce9387c Remove semicolons from the end of bus_space_*_multi_*(). From Ken Nakata
in PR 5965.
1998-08-16 05:36:17 +00:00
scottr 4b02e4134c Initialize and enable an interrupt handler, which currently doesn't
actually do anything.
1998-08-15 07:42:50 +00:00
scottr 18b4602fd5 Add a comment regarding the broken behavior of the DAFB v7. 1998-08-13 13:45:33 +00:00
scottr 53907fe5a1 Support Cabletron Ethernet card, from John Marohn in PR 5762. 1998-08-12 07:19:09 +00:00
scottr 5a94869995 New framework for handling processor interrupts, derived in part from
the hp300 port.

- Interrupts 3-6 use this immediately.  Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.

- Modify the zs front end to register with the appropriate interrupt
controller:  through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest.  Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.

- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard().  XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.

As a side effect, this should fix PR 5590.  Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.
1998-08-12 06:58:42 +00:00
scottr 3e40b6ff15 A simple, obvious optimization, now that the loop has been
removed from zshard().  Pointed out by Bill Studenmund.
1998-08-12 06:55:24 +00:00
scottr 7f2ca20fd9 New framework for handling processor interrupts, derived in part from
the hp300 port.

- Interrupts 3-6 use this immediately.  Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.

- Modify the zs front end to register with the appropriate interrupt
controller:  through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest.  Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.

- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard().  XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.

As a side effect, this should fix PR 5590.  Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.
1998-08-12 06:52:56 +00:00
scottr b2dc905572 The Performa/LC 58x have a Valkyrie, not the DAFB. 1998-08-12 06:50:37 +00:00
scottr 69c09f978c Be ever so slightly more careful when determining where and what size
the frame buffer is.
1998-08-12 06:48:05 +00:00
scottr 7d09ad09b4 New framework for handling processor interrupts, derived in part from
the hp300 port.

 - Interrupts 3-6 use this immediately.  Interrupt 7 is a special case,
   and the VIA interrupts (1 and 2) will be addressed when that code is
   rototilled.

 - Modify the zs front end to register with the appropriate interrupt
   controller:  through the PSC on the AV Quadras, and direct to
   interrupt 4 on the rest.  Arrange to have the appropriate zsc_softc
   supplied to us at interrupt time.

 - Modify the direct ADB driver (and its PowerManager cousin) to call
   intr_dispatch(), rather than zshard().  XXX This is a kludge, but at
   least limits the brokenness to the ADB drivers, now.

As a side effect, this should fix PR 5590.  Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.
1998-08-12 05:42:44 +00:00
scottr 63526c1ff1 New and improved console framebuffer initialization and autoconfig. This
resolves a great many issues, including Performa 58x interrupt handling
and offset displays on some models.

Programs that depend on the old (pre-NetBSD 1.1) grf interface may break.
That's actually a separate issue uncovered by this code, not caused by it.
1998-08-12 02:36:36 +00:00
briggs b3e5811a08 Patch from Takashi NAKAMURA <QZM00427@nifty.ne.jp> to support the
Contour 3-button mouse from the Contour Design Corp.
It looks like a Microspeed mouse.
1998-08-11 20:07:59 +00:00
briggs 64e4a1fa7d Support video interrupt for GrandVimage 17iL video card. 1998-08-09 18:19:09 +00:00
thorpej 3ff8e6493a Don't cast the null residual pointer passed to vn_rdwr(). 1998-07-28 18:34:52 +00:00
veego 1b46ebe1d9 Add elf_machdep.h to the INCS list. 1998-07-12 17:53:29 +00:00
thorpej 639cc899cf Basic elf_machdep.h for m68k; doesn't include relocations, yet. 1998-07-12 01:17:58 +00:00
scottr 7b68890c7f Fix a problem with the reworked reboot code on the IIci: don't try to
reference variables after the MMU is disabled.
1998-07-09 06:02:50 +00:00
thorpej 6fb9a8addf Define one page free list, and put all pages on it. 1998-07-08 04:39:34 +00:00
scottr 6e47b1c654 mac68k/obio/if_mc_obio.c needs hide/integrate defines, too. Moved back to
if_mcvar.h.
1998-07-08 04:18:53 +00:00
scottr d5b30c1cb1 Revert last change. 1998-07-08 04:16:05 +00:00
scottr 6d4420e5b2 Fix compile errors: #if DDB -> #ifdef DDB 1998-07-07 03:04:34 +00:00
scottr 6124345626 Account for an offset frame buffer address. This change is somewhat
different than the one supplied by Paul Goyette in PR 5702, but
has the same effect.
1998-07-07 00:33:39 +00:00
jonathan 9bf2ba0928 Garbage-collect ``needs-flag'' from attributes ether, fddi, arc:
NETHER, NFDDI, NARC are  not used anywhere. Remove #include "ether.h",
   which had no effect.
Removes clash with "options NATM" for native-ATM network protocol stack.
1998-07-05 22:29:51 +00:00
jonathan d275e56dee * defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 08:49:30 +00:00
jonathan 011f2bda08 defopt NS, NSIP. 1998-07-05 06:49:00 +00:00
jonathan 5c0c5dd0b4 defopt ISO TPIP. 1998-07-05 04:37:35 +00:00
jonathan fe484937cf defopt LLC 1998-07-05 03:14:41 +00:00
jonathan 8db0fcdbf7 defopt CCITT. 1998-07-05 02:12:22 +00:00
jonathan 3751946b97 defopt INET, NETATALK. 1998-07-05 00:51:04 +00:00
jonathan 466e784ee1 defopt DDB. 1998-07-04 22:18:13 +00:00
wrstuden 29f991cc2f Fixup last revision to zs.c. Keep a lot of the comment cleanup, and
keep the explicit clearing of interupts in zscnprobe.
1998-07-02 17:32:03 +00:00
wrstuden 4f500bad2e Another printf("%:"...) bites the dust (->vprintf(...)) 1998-07-02 00:47:30 +00:00
scottr 3733eac8e4 Undo a thinko in the various VIA2 isr loops: increment
bitnum inside the loop, not as part of the condition.
1998-07-01 18:57:36 +00:00
scottr 398759b74e Whoops, forgot to bracket struct grfinfo with #ifdef GRF_COMPAT. 1998-07-01 14:52:21 +00:00
scottr f170a53f0b Add a GRF_COMPAT option so that old-style grf ioctl() code can be
removed from the kernel.
1998-07-01 14:49:07 +00:00
wrstuden 67b0c87dc3 Overkill patches to make serial console work again. Should also make
serial echo work, but not sure. Tested by Paul Goyette.

A few of these changes can probably be backed out, but I'm not sure which.
This part should work for now, and get things going again. These fixes
should also get rid of the problem of things crashing just as zstty0 gets
configured.
1998-06-30 18:13:21 +00:00
scottr 3fec37df49 Fix warnings from recent ddb_init() change: handle end and esym
consistently.
1998-06-30 04:16:00 +00:00
lukem bd8d501f7e remove options FIFO; it's now the default 1998-06-26 01:53:43 +00:00
thorpej 8aee7782f5 defopt COMPAT_SUNOS 1998-06-25 23:40:33 +00:00
thorpej 971b8956ef defopt KTRACE 1998-06-25 21:18:11 +00:00
cgd 651b44e211 Rework the way kernel include files are installed. In the new method,
as with user-land programs, include files are installed by each directory
in the tree that has includes to install.  (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.)  The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change.  Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
scottr 5444e91249 The Performa 58x comm slot SONIC cards behave the same way as in
the LC/Performa 57x.  From Yasuhiro Endoh.
1998-06-09 03:39:50 +00:00
tv 00ede2160e Change ddb_init() for a.out to provision for kernels which are not booted by
the current 'bootblock' method, like the Shark, which preloads and preformats
the symbol table right in the boot code.
1998-06-09 01:57:41 +00:00
scottr 52da0e26c6 Kill unused variable that resulted from the last change. 1998-06-02 03:21:42 +00:00
scottr 910666949f An inability to map a slot's address space may be a normal condition --
for instance, on-board video may live here.  Make the complaint about
this a DEBUG rather than a DIAGNOSTIC message.
1998-06-02 02:24:03 +00:00
scottr da2f2cb79f Store the PA of the framebuffer in the softc. This eliminates the need
for the sc_phys callback; we can just store the PA in the grfbus attach
args, rather than a function pointer, which simplifies the code nicely.
1998-06-02 02:14:20 +00:00