veego
2d11975bbd
Include <bsd.subdir.mk> to build SUBDIRS.
1997-10-27 00:24:54 +00:00
lukem
2793a8e02a
use CPPFLAGS instead of CFLAGS
1997-10-26 22:09:43 +00:00
is
a16fd7d74e
Make these compile after m68k/m68k.h 1.4->1.5.
1997-10-26 21:41:34 +00:00
jonathan
2025270865
Fixes for sysinst and installing diskimage:
...
* Check for a disklabel matching the known values in an install diskimage.
If found, update incore disklabel's RAW_PART with the size reported
by the disk, clobbering the size used by vnd(4).*
* If geometry info is bogus or /missing, supply a fake geometry
(as in sd.c). Saves readdisklabel() and sysinst from divide-by-zero errors.
* lint: RAWPART -> RAW_PART.
1997-10-26 10:47:14 +00:00
jonathan
64a7794048
<machine/intr.h> is required. Supply an empty one.
...
VS: ----------------------------------------------------------------------
1997-10-26 10:41:32 +00:00
briggs
7d0ee36fdb
The 16- and 32-bit Apple card types got reversed somehow.
1997-10-26 03:17:15 +00:00
briggs
b7321b3d4f
Handle interrupts on E-Machines Futura-SX. From Paul Goyette, PR 4348.
1997-10-25 23:17:58 +00:00
jonathan
75e6c24f72
Don't turn off RZF_WLABEL flag on last close of raw partition.
...
It breaks disklabel -W, turning label writes back off again when
disklabel -W closes its open fd on the raw disk.
1997-10-25 22:28:52 +00:00
gwr
5770fa53f1
I had the memory map wrong for the SCSI/Ethernet board.
...
Fixes from Michael Thompson.
1997-10-25 18:20:09 +00:00
gwr
1182affa8f
I had the memory map wrong for the SCSI/Ethernet board.
...
Fixes from Michael Thompson.
1997-10-25 18:04:20 +00:00
thorpej
611012d836
Make the copy_region methods do overlapping copies properly. Fixes
...
port-alpha/4216 (Chris Demetriou).
1997-10-25 01:21:57 +00:00
thorpej
19c77efe96
In vga_erasecols(), fix botched count and reversed arguments to
...
bus_space_set_region_2(). From Chris Demetriou <cgd@pa.dec.com>.
1997-10-24 23:03:02 +00:00
mhitch
5b2fd76fd3
Don't rely on fixed padding to longword align the buffer used for non-aligned
...
transfers - compute aligned address when interface is attached. Fixes PR#4258.
1997-10-24 01:50:03 +00:00
mhitch
9bec32eefe
Check manufacturer and product codes correctly. The Blizzard 2060 driver
...
was trying to configure on a Cyberstorm MKI SCSI.
1997-10-24 01:43:49 +00:00
briggs
54770f54b4
Scan more than MAXPARTITIONS Mac partitions when loading the fake disklabel.
...
This allows us to use a root and/or user partition that's not one of the
first 8 partitions in the table, and it allows us to fill the fake disklabel.
1997-10-23 14:58:49 +00:00
leo
e1adcbe609
Do not relocate the kernel to TT-Ram by default. Some TT's choke on this. You
...
can now opt for relocation by either setting the RELOC_KERNEL config option
or patching 'reloc_kernel' to something other than zero.
1997-10-23 11:26:19 +00:00
mikel
135737c189
fix some typos and other misfeatures in comments; no functional change
...
note that bha driver supports BT44x cards as well
1997-10-23 05:49:42 +00:00
gwr
9420004b46
Remove the for-loop that wants to map multiple msgbuf pages.
...
Multiple msgbuf pages will not work without a redesign of
the kernel VM layout, so let's not pretend we can do it.
1997-10-23 02:24:41 +00:00
gwr
1060564fdc
Make this generate the same output as kern/genassym.awk
1997-10-23 02:06:28 +00:00
gwr
737748a765
Generate assym.h into assym.h.tmp first, then move it. (safety)
...
Add a dependency for stub.o:Makefile
1997-10-23 01:39:20 +00:00
sommerfe
73e508c64a
Fix pr4316: doesn't build on 1.3..
1997-10-22 19:11:45 +00:00
briggs
a2594d0b33
Lost changes from 1.168 somewhere along the line.
1997-10-22 18:54:24 +00:00
sommerfe
c83f212654
Fix PR4316: pcvt busted in 1.3..
1997-10-22 18:24:30 +00:00
gwr
aa67eda78f
Correct zs_unit in zs_kgdb_init().
...
Similar problem as zs.c:consinit().
1997-10-22 17:03:35 +00:00
gwr
9053a6f401
Correct the values of zs_unit in consinit(),
...
so ddb will work on the keyboard/display.
1997-10-22 14:39:38 +00:00
leo
c289655641
Make this compile again by including <vm/vm.h> and moving sysctl.h below
...
that include.
1997-10-22 08:04:07 +00:00
thorpej
665f7d1a6e
Implement __RENAME() in <machine/cdefs.h>
1997-10-22 05:20:32 +00:00
phil
49977a64e5
include <vm/vm.h> at proper points.
1997-10-22 03:40:17 +00:00
phil
b34ae4f929
Get TRUE and FALSE defined again.
1997-10-22 03:35:56 +00:00
gwr
2476c3a858
Fix a warning
1997-10-21 22:14:08 +00:00
scw
6eb98e720f
Finally nobble the last MACHINE_NONCONTIG gremlins. Needed to add
...
<machine/vmparam.h> to pmap.c and locore.s. Plus, genassym.sh needed
to have USRSTACK removed due to conflict with vmparam.h
1997-10-21 19:25:08 +00:00
gwr
5665df7a14
comments
1997-10-21 19:15:33 +00:00
gwr
0e5142a525
Move the (boiled down) interface declarations into m68k.h
...
Too late for the release, unfortunately...
1997-10-21 18:03:56 +00:00
gwr
10f5adfd00
Fix warnings on the sun3 caused by the fact that sun3/include/cpu.h
...
does not (and should not) declare stuff like getsfc(). Instead,
include <m68k/m68k.h> for those declarations.
1997-10-21 17:30:15 +00:00
gwr
9215c4253e
Declarations for things exported by sources in this directory.
...
(i.e. stuff that does not belong in <machine/cpu.h>)
1997-10-21 17:23:23 +00:00
is
6c04d467ec
Make l different from |.
...
Downgrades PR 1998 from software bug to change request.
1997-10-21 12:29:30 +00:00
bouyer
d29eab51f1
Correct spelling of 'ThunderLAN'
1997-10-21 06:01:16 +00:00
scottr
ca99a37396
Enable ipfilter, and add a commented-out rnd pseudo-device line.
1997-10-20 22:52:48 +00:00
thorpej
5ea9d818ae
Update for new location of i82365.c
1997-10-20 20:26:25 +00:00
thorpej
1d1fd17f73
Don't panic if we fail to remap i/o or mem space in the attach function.
...
Instead, print a diagnostic and return. (Some drivers do this already.)
Also, normalize the diagnostic message, and fix some places where the
printfs were getting ugly.
1997-10-20 20:07:57 +00:00
perry
75473a6379
we don't need FDESC
1997-10-20 20:03:04 +00:00
mjacob
5bd8e6eccc
MSS3 needs full SYSV stuff.
1997-10-20 19:48:30 +00:00
jonathan
4d29dd99dd
Put back duplicate <XXX>_ENDIAN definitions. Defining them as _<XXX>_ENDIAN
...
loses on non-POSIX source that re-defines <XXX>_ENDIAN itself (e.g., gdb.)
1997-10-20 19:15:40 +00:00
explorer
f29df68cd4
comment out rnd, mark as experimental
1997-10-20 18:47:08 +00:00
explorer
32b7029647
Mark options RND_COM as broken on i386 port
1997-10-20 18:45:09 +00:00
pk
332129fdf1
Enable `reselect' and `synch negotiation' by default.
1997-10-20 18:05:21 +00:00
explorer
9d0579d2fb
Comment out pseudo-device rnd, mention options RND_COM, and mark experiemntal
1997-10-20 15:19:51 +00:00
ragge
e603ff5aa3
Fix vers.c dependency; PR#4090.
1997-10-20 11:54:26 +00:00
ws
8e311daf58
Fix spelling of my name
1997-10-20 10:07:56 +00:00
jonathan
a03a434f1b
* Use ANSI-clean names for host-specific byte-order definition
...
(_BYTE_ORDER, _BIG_ENDIAN, _LITTLE_ENDIAN).
Define old names from the ANSI ones if not _POSIX_SOURCE.
* Define _QUAD_HIGHWORD and _QUAD_LOWWORD properly when
_BYTE_ORDER == _BIG_ENDIAN.
1997-10-20 09:57:05 +00:00
ws
0bb56df5a7
Fix spelling of my name
1997-10-20 09:54:50 +00:00
fvdl
d41883c9ac
Fix typo in VM_MAX_ADDRESS.
1997-10-20 09:02:21 +00:00
scottr
8630149cba
Convert to MI 8530 SCC driver, from Bill Studenmund. The new front end
...
also supports DTR/CTS flow control.
1997-10-20 08:13:26 +00:00
jonathan
b29ce8697c
Comment out PT_STEP for 1.3. Defining it causes gdb 4.16 to break.
...
(inferior debugee children die immediately with SIGTRAP.)
1997-10-20 07:29:23 +00:00
jonathan
bf4f202e7c
Merge MINIROOT and NFSINSTALL into a single INSTALL config file,
...
with config lines for both root-on-disk and root-on-NFS.
1997-10-20 03:50:05 +00:00
jonathan
8061da06c9
Add "options COMPAT_12".
1997-10-20 03:45:08 +00:00
perry
83a4427110
Sync with GENERIC; comment out a few more unneeded things.
1997-10-20 03:42:43 +00:00
phil
e0b89dfe15
Comment out aic driver to remove conflict with mi driver.
1997-10-20 03:19:16 +00:00
sakamoto
cd83f6a454
sys/sysctl.h depend on vm/vm.h
1997-10-20 02:46:20 +00:00
fvdl
74f97b28cc
Change various constants that depend on the kernel VM base address. Lower
...
it to 0xf0000000 to give it more breathing space.
1997-10-20 00:45:03 +00:00
fvdl
30c7fa3e36
Move kernel entry address down to f0100000
1997-10-20 00:43:21 +00:00
pk
004f196dcf
Nuke 5.25 inch formats.
1997-10-19 23:29:47 +00:00
jtk
0ad10a1970
change name in comment from apmregs to bioscallregs
1997-10-19 22:59:50 +00:00
pk
a0d6bae726
Add an odd-ball japanese floppy format (PR#2903).
...
A good time to get rid of the hard-coded floppy sector size.
1997-10-19 22:29:21 +00:00
jonathan
04c45d466a
Define PT_STEP.
1997-10-19 21:49:50 +00:00
is
25d10d4369
zbus.c
1997-10-19 21:22:19 +00:00
jonathan
ed413accab
Add PT_GETFPREGS, PT_SETFPREGS and process_{read,write}_fpregs.
1997-10-19 21:02:00 +00:00
ragge
efa4c7c48e
MSGBUFSIZE must be in CLBYTES, not NBPG. Also expand it to 4 * CLBYTES.
1997-10-19 20:48:47 +00:00
oki
a6dfd800c9
Test device is configured in interrput handler.
1997-10-19 20:45:11 +00:00
oki
3e2d17592a
add support for MK-HA2 Mach-2 SCSI host adaptor.
1997-10-19 20:41:02 +00:00
ragge
2260651129
Add match code to detect more than one SCSI adapter on 3100.
...
Provided by Bertram Barth.
1997-10-19 20:35:15 +00:00
christos
7507e6a5e9
Make this compile again.
1997-10-19 20:34:54 +00:00
mycroft
87b7a8ba91
Minor changes to make these more similar again.
1997-10-19 20:31:29 +00:00
perry
838ebc1be2
Yet Another Massive Reorganization. I took the last reorg even
...
further. Devices are grouped by types and within the types segregated
by bus. Lots of comments fixed up, lots of nits cleaned. Extensive
comments from Jason and Charles incorporated.
We also really need an automatic way to generate INSTALL from GENERIC,
but that's a project for another day...
1997-10-19 20:14:21 +00:00
veego
f08eca2b03
Add CyberVision 64/3D support.
1997-10-19 19:20:30 +00:00
thorpej
3135cf9ecc
Use bus.h
1997-10-19 19:17:07 +00:00
veego
7017046979
New unit number for the CyberVision 64/3D.
1997-10-19 19:08:00 +00:00
veego
09b9eff341
Add an entry for the CyberVison 64/3D to the aconftab and to the
...
preconftab list.
1997-10-19 19:07:08 +00:00
thorpej
29500b20c0
Make sure the i/o and/or mem addresses aren't wildcarded (i.e. -1) before
...
using the address in a bus_space_map() call.
1997-10-19 18:56:39 +00:00
veego
c9252fa879
First version of the CyberVision 3D driver. This driver is based on
...
the CyberVision64 driver. Modified by Tobias Abt with some bugfixes
from Bernd Ernesti.
ZorroII is at the moment not supported and there is a small problem
with the Console driver where you just get a black screen, but the
system boots and you can use X11 without a problem.
1997-10-19 18:55:21 +00:00
oki
968a155917
Add options M68060, mha driver.
1997-10-19 16:04:57 +00:00
oki
742eb9d713
new bootfloppy kernel configuration file.
1997-10-19 16:03:11 +00:00
oki
ad0f2e276a
pretty message.
1997-10-19 15:32:57 +00:00
oki
9e3da87164
Use common m68k/sig_machdep.c.
1997-10-19 15:17:24 +00:00
ragge
d379f24df5
#include <vm/vm.h>. Fix some erroneous declarations.
1997-10-19 14:33:48 +00:00
ragge
e0bc9f61d7
Add a sometimes needed round_page().
...
Always flush TLB when messing around with system mapping.
1997-10-19 14:32:42 +00:00
ragge
a9510ace16
Only check for process switch if we are coming in from userspace.
...
Make ERESTART work for syscalls >63.
While we're here; clean up a little bit.
1997-10-19 12:32:52 +00:00
oki
624322fb6a
Make this compile new bootblock code.
1997-10-19 11:03:38 +00:00
oki
3f9967ed1d
New bootblock code (compressed kernel support).
...
mostly written by ITOH Yasufumi.
1997-10-19 11:00:51 +00:00
oki
bbe9571856
Make this compile again.
1997-10-19 10:59:55 +00:00
scw
3c1ce11613
Fix includes. (Make sure <vm/vm.h> gets pulled in before <sys/sysctl.h>)
1997-10-19 10:53:14 +00:00
jonathan
4b537fb807
Warn user if we fail over from framebuffer console to serial console
...
when no supported framebuffer is found.
1997-10-19 10:25:52 +00:00
oki
cfe6621afa
Support of MK-HA1 Mach-2 SCSI adaptor.
1997-10-19 09:29:25 +00:00
mark
c1e2e66225
Handle a delay of zero in delay().
1997-10-19 08:55:07 +00:00
oki
73c0b0f2a6
for ramdisk kernel
1997-10-19 08:16:40 +00:00
augustss
e7029fc0da
Make the audio API (almost) SunOS compatible.
...
The changes is to allow some limited mixer manipulation through
the audio device (instead of the mixer device).
This rendered 4 methods in audio_hw_if unused so garbage collect these.
1997-10-19 07:41:33 +00:00
cjs
1a546804ed
First go at an INSTALL kernel (add ramdisk, remove unnecessary stuff).
1997-10-19 01:31:49 +00:00
perry
b07dc2077e
typo: that -> than
1997-10-19 00:00:18 +00:00
ragge
038cd08cce
Make UBA adapter selection work on 8600 again.
1997-10-18 23:39:18 +00:00
is
fa78c4ba06
Driver for the VMC HyperCom3/zbus and the VMC HyperCom4.
...
lpt on HyperCom3 isn't supported yet.
1997-10-18 23:31:32 +00:00
is
84a59e77b2
Stopgap measure to handle EXTER interupts for the DraCo. Maybe this should
...
be handled by the locore.s code like for Amigas, but DraCos dont have
necessarily a CIA B.
1997-10-18 23:18:40 +00:00
jonathan
0fa286f23d
Note non-inclusion of up-to-date bootblock source for 1.3, as
...
suggested by release engineers.
1997-10-18 22:33:28 +00:00
jonathan
92ed4b0f7f
Make the __mcount entrypoint non-static for kernels, to avoid any
...
chance of gprof mis-report profile ticks in __mcount to the following
function in libkern (currently _qdivrem).
1997-10-18 22:31:33 +00:00
cjs
bcced1d9be
Check return values from lseek; use SEEK_SET instead of 0.
1997-10-18 22:27:46 +00:00
hubertf
59b0f424db
Prevent error if machine-symlink isn't already there (rm -> rm -f)
1997-10-18 21:46:27 +00:00
mhitch
20c5359658
If DDB and the boot loader has loaded the kernel symbol tables, save the
...
symbols and let ddb know about them.
1997-10-18 19:48:02 +00:00
is
61f82620c4
Part of this is voodoo from the sparc/machdep.c, part guesswork.
1997-10-18 10:50:50 +00:00
mikel
4c46c2bcc3
cosmetic cleanup (newlines, comments)
1997-10-18 04:51:03 +00:00
mark
dd5b814bb5
Don't try and support serial consoles for the riscpc.
1997-10-18 04:47:57 +00:00
mark
441bad5ec5
Updated for a couple of changes to the arm32 dp8390 driver brought
...
upto date with respect to the MI one.
1997-10-18 04:39:12 +00:00
mark
35286a1259
arm32 specific version of the dp8390 driver from dev/ic. Really the
...
MI dp8390 and ne2000 drivers from dev/ic could / should be used but this
version has a few changes and has been well tested and thus should be
used for 1.3.
Hopefully this driver will be short lived.
1997-10-18 04:38:19 +00:00
mark
469dddc61d
Updated to include atapibus as standard.
1997-10-18 04:23:32 +00:00
mark
7ee02db44d
Link address is 0xf0000000 now we use the NetBSD ld.
...
Don't build makemodes etc. for configs that don't require it.
1997-10-18 04:20:17 +00:00
mark
ea1c03acd8
Fix bug in last commit that only worked with cpp -traditional.
1997-10-18 02:46:09 +00:00
jonathan
82526d56fd
Prototype __flt_rounds().
1997-10-18 02:43:06 +00:00
jonathan
d385e0e57e
Prototype ANSI-safe gcc trampoline entrypoint.
1997-10-18 02:25:14 +00:00
thorpej
1adb3a7a9d
Sync with GENERIC.
1997-10-18 02:01:36 +00:00
thorpej
2f26438522
Major cleanup of the GENERIC config file. The devices are laid out in
...
a more readable manner now, and sorted by bus type.
1997-10-18 01:42:22 +00:00
gwr
c5b23be7bf
Make sure vunmapbuf will kmem_free_wakeup() the same VA range
...
that came from kmem_alloc_wait(). (Same problem as PR#4120).
1997-10-18 00:17:21 +00:00
gwr
0308bf1ac6
Use common zs code.
1997-10-17 23:59:44 +00:00
gwr
f246430dba
Nuke same-unit hack in match.
1997-10-17 21:49:07 +00:00
oki
ea023e3b94
Use rnd.h and #if NRND > 0.
1997-10-17 20:28:06 +00:00
oki
e8b2ab848c
Make this compile again.
1997-10-17 20:24:35 +00:00
is
d3baeaf812
Stopgap for splaudio(), needed by the Melody driver.
...
This will be replaced soon by something similar to the spltty stuff.
1997-10-17 19:39:34 +00:00
bouyer
10e68aaed1
Add tl and mii devices.
1997-10-17 19:25:36 +00:00
mjacob
c3f84c257a
more compile foo
1997-10-17 18:59:48 +00:00
mjacob
c8fce5460c
more compile foo.
1997-10-17 18:58:16 +00:00
mjacob
eb249946d0
Recover from some include file foo.
1997-10-17 18:47:30 +00:00
scottr
d383eb0134
Make this compile again. From Dave Carrel.
1997-10-17 18:45:55 +00:00
bouyer
d3cfd58b6c
Add mii.
1997-10-17 18:45:53 +00:00
mark
1cc95a3df0
Fix .type directives to use #function rather than @function.
...
This is due to the problem of the @ character being a single character
comment in the asm assembler. The '#' character has now been chosen
instead for future versions of GCC and GAS so lets conform now.
1997-10-17 18:27:30 +00:00
mjacob
d13d5783e4
Add in missing includes.
1997-10-17 18:25:32 +00:00
bouyer
9cba1f94e1
Add detection of cyrix/ibm 6x86 cpu: these CPU pass the 486 test, but
...
fail the cyrix486 one. Add a test which succeed for all cyrix CPUs (from
FreeBSD).
1997-10-17 18:05:44 +00:00
thorpej
c8c33b5e87
Make pcvt compile with the new dev_t definition.
1997-10-17 15:24:17 +00:00
jonathan
dd7290db41
Add explicit #include <vm/vm.h> before mips/pte.h is included.
1997-10-17 09:34:43 +00:00
thorpej
4c970b2547
Add "ne" and "com" isapnp attachments. Move the fe0 declaration to a
...
more logical location.
1997-10-17 07:27:02 +00:00
enami
80d6b2fb22
Use lowercase for hexdigit.
1997-10-17 07:08:55 +00:00
enami
113f376554
Use TAB to separate `cd*' and `at'.
1997-10-17 07:07:26 +00:00
mark
65295639f5
Updated for the new wd.c and wdc.c files in arm32/dev/
1997-10-17 07:00:34 +00:00
mark
0b03e20959
Include <vm/vm.h>
1997-10-17 06:59:25 +00:00
mark
6886eff3c5
Updated for recent changes to the wd driver. Use wdlink.h instead
...
of wdcvar.h
1997-10-17 06:52:26 +00:00
mark
74c3a08d8d
Updated for recent wd driver changes. Include wdlink.h instead of wdcvar.h
1997-10-17 06:49:17 +00:00
mark
c004efb65e
Remove redundant .req statements.
...
Use the ENTRY() macro from machine/asm.h for function declarations.
1997-10-17 06:46:27 +00:00
mark
e9b9aedd51
Synchronise with recent changes to the ISA wd driver.
...
Remove the remaining ISA dependencies, busify and support 32 bit PIO.
1997-10-17 06:41:35 +00:00
mark
2e4ccc80c0
Include vm/vm.h
1997-10-17 06:33:57 +00:00
jonathan
84d8ac7355
* Performance improvements from July 1997:
...
Avoid unecessary cache writebacks on mips3. 10% win on kernel builds.
* _KERNEL_RCSID.
1997-10-17 05:57:20 +00:00
mark
7df23bd595
Remove some redundant .req statements.
1997-10-17 05:46:16 +00:00
mark
18a35528c5
Don't include sys/sysctl.h as it is not needed.
1997-10-17 05:45:40 +00:00
jonathan
22b3f9ebd8
Add bi-endian support to mips locore, <mips/endian.h>, and mips_opcode.h.
...
Derived from a change request (PR port-mips/4277) from
Tsubai Masanari, (tsubai@iri.co.jp ).
1997-10-17 04:43:57 +00:00
gwr
cfe268b782
Sync with GENERIC
1997-10-17 04:29:59 +00:00