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