thorpej
67b94a13ed
Add the Intel 82443BX PCI host bus adapter. From Soren S. Jorvang, PR #6250 .
1998-10-08 20:04:32 +00:00
ws
3e28defef4
No point in making the fake partition that large.
...
This smaller one will (hopefully) make 0-start
installations work on more machines.
1998-10-08 14:25:42 +00:00
thorpej
010b1e5215
Erg, frame -> trapframe in last. (thanks to john kohl)
1998-10-07 21:25:35 +00:00
thorpej
b38544d99e
Oops, back out a buglet I didn't intend to commit in the last change.
1998-10-07 18:29:26 +00:00
thorpej
d374462dfc
Move the code that does the deferred (post-autoconfiguration) buffer
...
cache allocation to its own function, and call it at the end of configure().
1998-10-06 21:42:08 +00:00
thorpej
d681cf055a
configure() prototype is in <sys/device.h>
1998-10-06 20:50:15 +00:00
perry
e7340f0ed3
Fix a potential Y2K bug on some clock chips: we were loading invalid
...
BCD into the year field of the RTC in years > 1999. It seems to have
worked just fine on my old broken down test machine, but apparently
some others actually get hurt. Suckage. We now make sure that we load
valid BCD.
Other ports should check for variations on this theme.
1998-10-06 05:52:23 +00:00
rvb
71a653d388
Add Coda
1998-10-06 01:44:11 +00:00
fvdl
e6145e36a2
Correct Linux compat include file names.
1998-10-03 23:38:32 +00:00
fvdl
2b727ad9e9
The linux compat i386 "files" file moved into arch/
1998-10-03 23:17:03 +00:00
thorpej
49a45fed9b
If the memory range of the machine is such that no bouncing is necessary,
...
or if the device is capable of 32-bit DMA (specified by ISABUS_DMA_32BIT),
clear the map's bounce threshold at map creation time.
1998-10-03 21:53:04 +00:00
thorpej
01a1588265
Initialize the DMA map's bounce threshold to the tag's at map creation time,
...
and use the map's threshold when loading the map.
1998-10-03 21:38:48 +00:00
thorpej
10557b15d7
Add a private bounce threshold to the DMA map, initialized in a bus-dependent
...
fashion.
1998-10-03 21:24:00 +00:00
christos
e24d09740e
call gate for solaris-2.6 syscalls [from frank]
1998-10-03 18:08:39 +00:00
christos
36f308f4cc
Add an LDT for Solaris-2.6 syscalls [from Frank]
1998-10-03 18:05:25 +00:00
jtk
787fcfeac7
copyright has been assigned to TNF, update notice
1998-10-03 02:14:30 +00:00
erh
33dacac36e
linux_machdep.h has moved.
1998-10-01 18:32:33 +00:00
erh
d954a84b41
Linux emul_* structures chahged names.
1998-10-01 15:53:33 +00:00
frueauf
ce58a65013
Sync comments for REALBASEMEM/REALEXTMEM with GENERIC.
1998-10-01 10:01:20 +00:00
erh
502a65c40d
Add linux real-time signal trampoline.
1998-10-01 04:37:15 +00:00
erh
8ada127535
Path to linux_machdep.h changed.
1998-10-01 04:36:05 +00:00
erh
6a0907d521
linux_machdep.c has been moved. It is now included from compat/linux/i386/files.linux_i386.
1998-10-01 04:34:54 +00:00
erh
ccea47d790
Moved to compat/linux/i386/linux_machdep.h.
1998-10-01 02:20:52 +00:00
erh
3466d00034
Moved to compat/linux/i386/linux_machdep.c.
1998-10-01 02:15:50 +00:00
jtk
358521eba1
add prototype for bioscall()
1998-10-01 02:00:37 +00:00
matt
cf95587273
Sync with GENERIC.
1998-09-29 23:18:57 +00:00
thorpej
55df520938
Can't use -traditional; __RENAME() breaks due to a limitation in the
...
"traditional" C preprocessor.
1998-09-29 08:28:20 +00:00
thorpej
5a5380b92b
This program is icky, and will die soon. So, don't put a whole lot of
...
effort into it, but make it build again by casting the second arg to signal().
1998-09-29 08:27:36 +00:00
thorpej
005af97f9e
Use "print-objdir".
1998-09-29 08:16:11 +00:00
christos
029ab07a4d
delint
1998-09-26 19:21:19 +00:00
dante
d208510692
Add support for AdvanSys Ultra Wide boards
1998-09-26 16:38:43 +00:00
thorpej
feb1d22dcc
NCPU > 1 -> MULTIPROCESSOR
1998-09-24 23:00:43 +00:00
mycroft
2ebc36c0fd
Slight edit to previous.
1998-09-22 01:16:48 +00:00
thorpej
2671c2fa42
Make bus_dmamap_load_uio() work, from Kevin Lahey <kml@nas.nasa.gov>.
1998-09-21 22:51:56 +00:00
drochner
a0ccc06ec5
Note which units memory sizes are counted in.
...
Fixes half of PR port-i386/6159 ("Heiko W.Rupp" <hwr@pilhuhn.de>).
1998-09-18 12:22:54 +00:00
drochner
06753678d5
Remove the chips which are known to identify properly out of the
...
old "match" function - more or less for documentation.
Proposed by "Soren S. Jorvang" <soren@t.dk>.
1998-09-18 11:57:57 +00:00
drochner
1d34097b60
Take the Intel SIO into the special case list - it identifies itself
...
as "prehistoric". From John Kohl.
1998-09-18 11:13:10 +00:00
thorpej
dbebd9b148
Need 13 longs for jmp_buf; signal mask is 128 bits now.
...
XXX Actually, libc appears to use only 7 of the previous 10, so increasing
the size isn't actually necessary! But there was a gap at the end before,
so we'll keep it.
1998-09-14 21:31:52 +00:00
thorpej
27f3588d7b
oops, missed one.
1998-09-14 02:50:12 +00:00
thorpej
cbfc257eda
sigset13_t -> int.
1998-09-14 02:48:33 +00:00
tron
7010f82942
Sync with "GENERIC".
1998-09-13 23:15:46 +00:00
hwr
43c45ee409
Enable gre(4) device
1998-09-13 21:02:02 +00:00
mycroft
ef7c8ebbe7
Oops; forgot to commit this.
1998-09-13 11:26:58 +00:00
thorpej
35c106630e
__LIBCxx_SOURCE__ refers to the library major number, not the NetBSD release
...
number.
1998-09-13 02:18:38 +00:00
thorpej
6351312ff7
Fix thinko in last thinko fix. We always have to store an old style
...
signal mask since a 1.3 binary may attempt to invoke sigreturn(2) directly
for an alternate exit from the signal handler. If we don't do this, it will
get a garbage signal mask if it tries to do that.
1998-09-13 01:45:04 +00:00
thorpej
7f361cc70c
Prototypes for native_sigset13_to_sigset() and native_sigset_to_sigset13()
...
are in sys/signalvar.h
1998-09-13 01:43:17 +00:00
thorpej
a0494141c5
Prototype for native_sigset13_to_sigset() is in sys/signalvar.h
1998-09-13 01:42:45 +00:00
rvb
0aa47cd025
Change cfs/CFS in symbols, strings and constants to coda/CODA
...
to avoid fs conflicts.
1998-09-12 15:05:47 +00:00
mycroft
3f2c7263b1
Fix thinko in previous.
1998-09-12 10:48:27 +00:00
mycroft
89ea1fcbdd
Version sys_sigreturn, to avoid breaking programs that use it explicitly.
1998-09-12 00:47:12 +00:00
mycroft
a2d9c7ed82
Use the context flag bits.
1998-09-11 13:22:45 +00:00
mycroft
fb526e055c
Substantial signal handling changes:
...
* Increase the size of sigset_t to accomodate 128 signals -- adding new
versions of sys_setprocmask(), sys_sigaction(), sys_sigpending() and
sys_sigsuspend() to handle the changed arguments.
* Abstract the guts of sys_sigaltstack(), sys_setprocmask(), sys_sigaction(),
sys_sigpending() and sys_sigsuspend() into separate functions, and call them
from all the emulations rather than hard-coding everything. (Avoids uses
the stackgap crap for these system calls.)
* Add a new flag (p_checksig) to indicate that a process may have signals
pending and userret() needs to do the full (slow) check.
* Eliminate SAS_ALTSTACK; it's exactly the inverse of SS_DISABLE.
* Correct emulation bugs with restoring SS_ONSTACK.
* Make the signal mask in the sigcontext always use the emulated mask format.
* Store signals internally in sigaction structures, rather than maintaining a
bunch of little sigsets for each SA_* bit.
* Keep track of where we put the signal trampoline, rather than figuring it out
in *_sendsig().
* Issue a warning when a non-emulated sigaction bit is observed.
* Add missing emulated signals, and a native SIGPWR (currently not used).
* Implement the `not reset when caught' semantics for relevant signals.
Note: Only code touched by the i386 port has been modified. Other ports and
emulations need to be updated.
1998-09-11 12:50:05 +00:00
mycroft
932a812de4
Speed up syscall() slightly in a few cases.
1998-09-11 12:23:44 +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
rvb
ba78af57df
Get ready to add Coda
1998-09-08 20:56:08 +00:00
christos
50909bd6d9
Assign copyright to TNF.
1998-09-05 15:28:08 +00:00
christos
2d876282c2
Assign copyright to TNF.
1998-09-05 15:28:06 +00:00
christos
449820f2ea
Assign copyright to TNF.
1998-09-05 15:28:04 +00:00
lukem
c9db84ecc9
distclean is a synonym for cleandir
1998-09-05 15:15:14 +00:00
mycroft
f887061852
Disable recent additions, which are gratuitously annoying and *crash my
...
machine* at boot time (with a divide by 0 fault).
1998-09-05 04:54:23 +00:00
drochner
5e4c58a7d0
Fix incomplete variable renaming in the last commit.
...
Found by taca@sky.yamashina.kyoto.jp (Takahiro Kambe) - PR port-i386/6087.
1998-09-02 08:24:51 +00:00
jtk
663e79e90a
add 32-bit register support and beginnings of APM V1.2 support
1998-08-31 23:54:32 +00:00
jtk
6ab2c0f7d4
config file for BIOSCALL assym.h
1998-08-31 23:53:30 +00:00
jtk
a5026bf4e2
regen
1998-08-31 23:52:58 +00:00
jtk
10ec6359b5
add 32-bit register support to BIOSCALL interface
1998-08-31 23:52:40 +00:00
thorpej
29a84ea0ac
UVM+PMAP_NEW is standard now; don't need it in individual config files.
1998-08-31 17:58:44 +00:00
thorpej
4e705c4d21
Switch the i386 port to UVM+PMAP_NEW.
1998-08-31 17:55:26 +00:00
thorpej
667635aebb
Add (commented out for now) UVM/PMAP_NEW, enable KMEMSTATS, comment
...
out the PHY drivers.
1998-08-31 03:54:33 +00:00
cgd
5fa7eee1ff
don't define __BUS_SPACE_COMPAT_OLDDEFS by default. As stated in
...
bus_space(9), if drivers want it (they shouldn't; easy to convert) they
can define it right before including bus.h. There's been a release since
the interfaces were (slightly) changed, and no code in the source tree
uses the old interfaces as far as I can tell.
1998-08-30 23:40:14 +00:00
lukem
cdf68a7fa3
a minor hack i've had locally for ages: if PCVT_CAPS_IS_CTRL is
...
defined, make the capslock key act like another control key.
1998-08-30 09:59:47 +00:00
thorpej
d1f73558ff
Use the "nointr" pool page allocator for pmap_pmap_pool.
1998-08-28 21:58:29 +00:00
dante
df94d3f4f5
Add AdvanSys SCSI controller
1998-08-26 14:27:44 +00:00
augustss
c5b4ddc051
Add more opl attachments.
1998-08-26 13:37:49 +00:00
thorpej
daa8ad1747
Add some braces to make egcs happy.
1998-08-25 04:56:01 +00:00
thorpej
9c3e900094
Use the pool allocator for pmap structures.
1998-08-25 01:46:01 +00:00
drochner
103b7e7b17
The Intel 82371MX identifies itself erroneously as a miscellaneous bridge.
...
(from "Johnny C. Lam" <lamj@stat.cmu.edu> per PR kern/6021)
1998-08-24 19:27:05 +00:00
veego
ff2c3adddc
Add some braces to stop the new egcs warnings.
1998-08-20 19:55:06 +00:00
thorpej
ff266f0937
Add some braces to make egcs happy.
1998-08-18 18:23:07 +00:00
mycroft
a76eb95be9
Tab vs. space, and turn *off* XSERVER_DDB by default.
1998-08-18 17:03:42 +00:00
thorpej
cf3457cb9d
Add some braces to make egcs happy (ambiguous else warning).
1998-08-18 07:53:47 +00:00
thorpej
5e04cc8bb7
Internal bus_dma cleanup.
1998-08-17 22:33:09 +00:00
augustss
cd09067eb4
* Redo the way the way the MIDI driver attaches to audio devices.
...
* Improve the midisyn layer a little.
* Add a driver for the Yamaha OPL[23] FM synths.
The opl driver is not finished yet; it sounds pretty awful.
For some strange reason I cannot get any FM sound from my SB64 cards,
but a regular SB16 works fine.
1998-08-17 21:16:09 +00:00
rvb
8e5a13f5f0
Avoid double fault on errors during probes
1998-08-16 00:42:51 +00:00
mycroft
129cbf95ee
Minor edit.
1998-08-15 05:16:41 +00:00
mycroft
c9a799adf6
Assign my copyrights to TNF.
1998-08-15 04:57:50 +00:00
mycroft
cc8a78e783
Assign my copyrights to TNF.
1998-08-15 04:42:42 +00:00
mycroft
df9baf2311
Assign copyrights to TNF.
1998-08-15 03:51:30 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
rvb
4283228f33
Make message less confusing
1998-08-14 02:20:07 +00:00
thorpej
f41c00629b
Garbage-collect vm_offset_t and vm_size_t.
1998-08-13 21:36:27 +00:00
thorpej
330d142f16
vm_offset_t -> {vaddr_t,paddr_t}, vm_size_t -> vsize_t
1998-08-13 21:36:02 +00:00
rvb
e829016cba
Keep d_ncylinders correct
1998-08-13 18:18:54 +00:00
rvb
d0153a96fe
The sense of the pccons_is_console test is backwards
1998-08-13 18:00:05 +00:00
rvb
0430a2cf75
Include db_dbgregs.s for ddb
1998-08-13 17:55:41 +00:00
rvb
1ae4d7da86
Allow inb/outb and friends to be called from debugger.
...
Crude access to x86 hdw "debug" registers.
1998-08-13 17:54:15 +00:00
rvb
67390e1ee2
Make serial line debugging easier to enable and use
1998-08-13 17:41:10 +00:00
eeh
a2dd74ed79
Merge paddr_t changes into the main branch.
1998-08-13 02:10:37 +00:00
mycroft
f903600948
Add audio at ess.
1998-08-12 18:32:18 +00:00
augustss
8415989ddf
Add the PC speaker MIDI attachment.
1998-08-12 18:17:55 +00:00
thorpej
cf231bf251
Adapt to MII changes.
1998-08-11 00:28:53 +00:00
mycroft
86fe068843
Add ess at isapnp.
1998-08-10 01:54:59 +00:00
drochner
026fbbe2db
Match PCI-ISA bridges on class/subclass instead of vendor/device.
...
2 reasons:
-no need to keep a list of all known parts
-there is at least 1 bridge (ACC micro 2051) which reports the same
device ID for its various subfunctions; this would require an additional
check in the match function
(keep the old list inside #if 0 in case one of the historical bridges
doesn't report the right class/subclass - I can't check them all)
1998-08-07 10:15:32 +00:00
augustss
48bae9ee88
Add MIDI support. The MIDI devices can be accessed as ``raw'' through
...
the /dev/rmidiN devices, or with a sequencer interface via /dev/music.
So far the only supported MIDI device is the MPU401 port on SoundBlaster
(and only on SB on isapnp, since we do not have locators with multiple
values yet).
1998-08-07 00:00:55 +00:00
kleink
546365a27e
_POSIX_SOURCE -> _POSIX_C_SOURCE
1998-08-06 11:25:04 +00:00
augustss
d8582601c5
Make panic message a little more explicit.
1998-08-05 16:34:36 +00:00
perry
c3579ce3f5
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-05 02:45:08 +00:00
perry
54f97ab9d1
bzero->memset, bcopy->memcpy
1998-08-05 02:28:26 +00:00
perry
584757c02b
bzero->memset
1998-08-05 02:11:00 +00:00
perry
bf0943278c
Fix a problem first noticed by a user with a screwed up real time
...
clock past the End of Time.
If time_t is 32 bits, then the "End of Time" is Jan 18/19 2038
(depending on time zone).
This code copes with RTC's past the end of time if time_t is an int32
or less. It just forces the time back to 2037. This will let users
with screwed up clocks to at least boot and function long enough to
set their clocks to something sane.
This kludge is conditioned on an
if (sizeof(time_t) <= sizeof(int32_t))
which will automatically optimize the code out once we switch time_t
to a 64 bit quantity, which should happen well before 2037.
Patch based on code from Michael C. Richardson, with help from
Allen Briggs who pointed out a fencepost error.
1998-08-05 01:21:54 +00:00
thorpej
a138b68143
Don't include files.isapnp here.
1998-07-31 04:39:23 +00:00
augustss
33a72d432a
Add wss on isapnp.
1998-07-29 12:36:47 +00:00
drochner
5788941588
document "Intelli"mouse support
1998-07-28 20:22:29 +00:00
drochner
fa0aee147e
Use the new mkdtemp() instead of mktemp();mkdir().
...
Various cleanups (and typecasts) to get lint quiet.
Add remaining prototypes, enable -Wmissing-prototypes -Wstrict-prototypes.
1998-07-28 20:10:53 +00:00
thorpej
3ff8e6493a
Don't cast the null residual pointer passed to vn_rdwr().
1998-07-28 18:34:52 +00:00
perry
f150e8645e
NORVEGIAN -> NORWEGIAN
1998-07-27 23:55:23 +00:00
perry
c4fae2a286
NORVEGIAN -> NORWEGIAN
1998-07-27 23:52:49 +00:00
augustss
c720383eb3
Nuke USB mouse device.
1998-07-27 18:50:42 +00:00
bouyer
7c050065fd
Correct indent.
1998-07-27 18:42:27 +00:00
bouyer
11245c76f7
Ops, forgot FINNISH_KBD.
1998-07-27 18:38:07 +00:00
mycroft
da2e61d160
Delint.
1998-07-27 13:55:32 +00:00
bouyer
82370f62b3
Document FRENCH_KBD,GERMAN_KBD,NORVEGIAN_KBD options.
1998-07-27 13:39:51 +00:00
thorpej
fca2dc28ac
Add cs0 at isa? port 0x300, wildcard IRQ and memory address, to pull
...
them from the EEPROM. Wildcard DRQ to force memory-mode operation; this
value is not available in the EEPROM and must be configured manually.
1998-07-27 01:51:29 +00:00
augustss
80104fac9f
Use wscons attachments for USB keyboard and mouse.
1998-07-26 17:45:53 +00:00
augustss
50f955ff49
Nuke ukbd (USB keyboard) device, we use wskbd now.
1998-07-25 15:39:28 +00:00
rvb
d33dfcd7dc
Coda glue
1998-07-24 15:40:42 +00:00
christos
1253bfdf46
Utilize the centralized probe function.
1998-07-23 19:32:42 +00:00
drochner
7cdf5d9a77
retry disk accesses (for shaky floppy drives)
1998-07-23 09:59:44 +00:00
is
6054d626f9
Switching dev/ic/lpt.c to use spllpt() instead of spltty(). It doesn't use
...
tty structures, and on some machines (namely the DraCo internal lpt, and some
multi-i/o boards for Amigas and DraCos), tying spltty to the pretty high printer
interupt level would hurt serial performance.
On all affected ports but Amiga, spllpt() has been defined in machine/intr.h
to be spltty(), thus preserving old behaviour. Portmasters are encouraged to
change is, if they feel something else is better (e.g., one of its own were
possible).
1998-07-18 21:27:25 +00:00
thorpej
2fc1260cc0
Implement bus_dmamap_load_uio().
1998-07-17 21:09:59 +00:00
fair
86574cd4f8
patch to add "vi/ve" per PR#4583
1998-07-14 20:29:11 +00:00
mark
0756290d3f
Recognise the ALI M1543 in order to support ALI Aladdin V chipset
...
motherboards.
1998-07-13 03:31:57 +00:00
mark
7778b00444
Recognise the ALI M1541 in order to support motherboards with the
...
ALI Aladdin V chipset.
1998-07-13 03:30:52 +00:00
augustss
deb00272b9
Add USB support. Supported so far:
...
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
1998-07-12 19:51:55 +00:00
thorpej
5f59f7e15a
Add i386 relocations.
1998-07-12 17:09:43 +00:00
perry
9ca2a54c6d
Set soundblaster irq to 5 by default.
1998-07-09 20:59:38 +00:00
drochner
d1da31d671
redo the PCI configuration mode detection - should make some less
...
standard compliant PCI chipsets work (Compaq, Connectix emulated Triton)
fix the bug reported in PR port-i386/5727 (soda@sra.co.jp )
1998-07-09 20:19:52 +00:00
drochner
acea5c2e79
add dependency to get the version number right
1998-07-08 17:47:42 +00:00
drochner
13b329cdd2
bump version number to reflect the partition ID change
...
(should have been done long ago)
1998-07-08 17:46:21 +00:00
thorpej
48abe1f910
From pmap.new.c (UVM case only):
...
Put the first 16M of RAM onto the "first16" free list, and everthing
else onto the default free list.
1998-07-08 05:41:59 +00:00
thorpej
1bd007d54b
Define 2 free lists: a default, and a "first16", which is where the first
...
16M of RAM goes (in an effort to protect ISA DMA-safe memory).
1998-07-08 04:38:33 +00:00
thorpej
26287d01ec
Put the first 16M of RAM onto the "first16" free list, and everthing
...
else onto the default free list.
1998-07-08 04:37:43 +00:00
thorpej
a5dd574b12
Attempt to pull buffer cache pages out of the "first16" free list, in
...
an effort to avoid bouncing file system buffers (it's not clear how much
of a win this is, and it'll be pointless w/ a unified buffer cache, but
what the heck).
1998-07-08 04:36:39 +00:00
drochner
cbb7aa93f0
from FreeBSD:
...
wpaul 1998/07/02 08:36:36 PDT
Modified files:
sys/i386/boot/biosboot start.S
Log:
Add workaround to allow the FreeBSD boot block to work on
Kapok Computer Co. notebook with AMI 'WinBIOS' which seems to insist
on having a short jump and nop as the first instructions in the
boot sector code. The prevailing theory is that the BIOS is doing
some sort of boot sector virus detection and refusing to run any
boot block that doesn't start with the same instruction sequence as
MS-DOG boot sector code. If this is the case, it would be nice if it
actually printed an error message to this effect instead of just
saying 'FAILED.'
This workaround has no effect on the boot sector code other than to
increase its size by three bytes.
1998-07-07 13:58:59 +00:00
thorpej
8f2575ec87
Use fixed-size types.
1998-07-07 04:29:42 +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
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
mjacob
20f9998e6f
allow a config file to redefine MAXPHYS
1998-07-01 00:51:15 +00:00
perry
04b3a6bd4a
Tweak more.
1998-06-27 02:55:10 +00:00
perry
9209250625
Oops. fix typo.
1998-06-27 02:51:56 +00:00
perry
39b77211e9
Boost base year to 1995. 1985 was over 12 years ago.
1998-06-27 02:51:18 +00:00
drochner
64bf50c49a
add VT100 emulation option, make it default
1998-06-26 22:45:38 +00:00
cgd
75da3d4eaa
add device declarations for 'puc'-related devices. Add lpt attaching
...
to puc to the files file, because it can't go in files.pci (see comments
here or there).
1998-06-26 18:58:38 +00:00
cgd
d2ed6f63d6
sync with reality
1998-06-26 18:20:13 +00:00
thorpej
3f90953b05
Include COMPAT_* option headers I forgot earlier, pointed out by
...
Nathan Williams.
1998-06-26 06:54:08 +00:00
lukem
bd8d501f7e
remove options FIFO; it's now the default
1998-06-26 01:53:43 +00:00
thorpej
816e12eac2
defopt COMPAT_SVR4
1998-06-26 00:07:06 +00:00
thorpej
311bac3348
defopt COMPAT_IBCS2
1998-06-25 23:22:37 +00:00
thorpej
c466f11939
defopt COMPAT_LINUX
1998-06-25 23:18:23 +00:00
thorpej
1a2cb1b9d4
defopt COMPAT_FREEBSD
1998-06-25 22:49:18 +00:00
thorpej
971b8956ef
defopt KTRACE
1998-06-25 21:18:11 +00:00
sommerfe
7ba7fbbb23
Always include fifos; "not an option any more".
1998-06-24 20:58:44 +00:00
bouyer
05bc8c6a36
Update comment regarding conflict between wt driver and SMC ethernet boards.
...
Closes PR 4481 by Erik Bertelsen.
1998-06-24 05:38:09 +00:00
sommerfe
446beb9dc4
defopt COMPAT_386BSD_MBRPART into opt_mbr.h
1998-06-22 21:12:51 +00:00
drochner
fd1c99c7a3
prepare for integration of i4b (ISDN) - reserve 5 cdevsw[] entries
1998-06-16 11:03:28 +00:00
bouyer
9a862172cb
PCI_PRODUCT_VIATECH_VT82C586 is now PCI_PRODUCT_VIATECH_VT82C586_ISA.
1998-06-15 20:10:31 +00:00
drochner
64839bcf9d
document PCKBD_LAYOUT
1998-06-15 13:10:18 +00:00
kleink
1fbd0b3749
GC the unused `physadr' type, which was not able to hold a complete physical
...
address on 2 architectures anyhow. Also, move the definition of the `label_t'
type inside _KERNEL protection, since it is specific to the in-kernel
setjmp()/longjmp() implementations.
1998-06-14 20:09:22 +00:00
billc
3f29603abd
delete WARPED
1998-06-14 12:50:26 +00:00
billc
fcbc3ab14f
moved WARPED to updated NBFTP
1998-06-14 12:47:31 +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
drochner
684086c4c7
copy of GENERIC, but with wscons console
1998-06-12 15:42:02 +00:00
drochner
81fd096b37
Since wscons can support VT_xxx ioctl()s, enable them if NWSDISPLAY > 0.
...
Implement KDGKBTYPE and KDGKBENT, this will make X servers happy.
1998-06-11 22:26:13 +00:00
thorpej
f8e69a4627
Don't enable BUS_SPACE_DEBUG automatically if DEBUG is defined.
1998-06-09 22:53:57 +00:00
thorpej
02182100df
Use config_defer().
1998-06-09 18:49:33 +00:00
chs
a5550009e6
correct counting for uvmexp.wired:
...
only pages explicitly wired by a user process should be counted.
1998-06-09 05:18:52 +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
thorpej
680a3d77f4
Add isa_dma{freeze,thaw}(), used to temporarily stop and then restart
...
all ISA DMA. Needed by e.g. the SmartCard reader for Sharks.
1998-06-09 01:04:17 +00:00
thorpej
e333272393
Change the ISA DMA API to take an isa_chipset_tag_t rather than
...
a struct device * corresponding to the ISA bus device. The ISA DMA
controller driver functions have been renamed and now take a struct
isa_dma_state *, and are called indirectly by machine-dependent code
which provides the DMA state.
These changes allow e.g. `ofisa' (the OpenFirmware configuration
mechanism for the ISA bus, used by e.g. Sharks) to use the MI ISA
DMA controller code.
1998-06-09 00:12:18 +00:00
thorpej
98d02e5c94
Provide an isa_chipset_tag_t to the ISA bus device.
1998-06-09 00:12:00 +00:00
thorpej
dde710c6f9
Adjust for changes to the ISA DMA API.
1998-06-09 00:11:34 +00:00
thorpej
ec7941bba2
Nuke __BROKEN_INDIRECT_CONFIG.
1998-06-08 06:45:55 +00:00
sommerfe
94de2146a9
Add ISA Plug and Play attachment for PCIC PCMCIA controller (pcic* at isapnp?).
...
Slightly modify ISA attachment to let the two share code.
1998-06-07 18:34:38 +00:00
thorpej
528bbb95ed
Add debugging support to the bus_space macros. If BUS_SPACE_DEBUG (or DEBUG)
...
is defined, the bus_space macros will check to ensure that the bus address
and the target buffer (if applicable) are aligned properly for the size
of the type being used. If they are not, a message will be displayed on
the console.
While strict alignment is not strictly necessary on the x86, ensuring
proper alignment can aid performance, and help make drivers more portable
to architectures (like the Alpha and StrongARM) which _do_ require strict
alignment.
1998-06-07 03:32:32 +00:00
enami
c0c7384dde
Also, remove space at the end of line.
1998-06-07 03:01:05 +00:00
enami
207a6dcab6
Use TAB instead of two space to indent.
1998-06-07 02:36:53 +00:00
enami
e33ef0027d
Remove TAB after `options I686_CPU'.
1998-06-07 02:34:41 +00:00
thorpej
9553573381
If we have APM, only power down if RB_POWERDOWN was specified (fall into
...
RB_HALT case if it fails).
1998-06-06 21:27:31 +00:00
augustss
db50fa53b8
Add Aria driver.
1998-06-06 10:14:21 +00:00
thorpej
6d29690288
Implement bounce buffers for mbufs.
1998-06-03 21:50:48 +00:00
mjacob
23a5420f99
turn on Essential HIPPI for this configuration
1998-06-03 21:17:52 +00:00
frueauf
554cce1e94
Remove double "options GATEWAY" entry.
1998-06-03 10:03:25 +00:00
thorpej
051c391187
Optimize the ISA DMA map load somewhat; don't traverse the buffer twice.
...
Instead, just attempt to do a normal load first. If we exceed the bounce
threshold or the number of segments, then we bounce the transfer.
1998-06-03 06:37:54 +00:00
thorpej
66f9322f5f
EISA and PCI do not require bouncing; specify a bounce threshold of 0.
1998-06-03 06:35:49 +00:00
thorpej
7b2ef456f0
When loading a DMA map, if the page's physical address exceeds the bounce
...
threshold, return an error to the caller (the caller will attempt to
bounce the transfer).
1998-06-03 06:35:04 +00:00
thorpej
f018f866d7
Add a `bounce threshold' to the i386 DMA tag.
1998-06-03 06:33:02 +00:00
thorpej
50be447da3
Sync the bus_dmamap_load back-end functions between alpha and i386. (only
...
slight, unnecessary differences)
1998-06-03 04:15:05 +00:00
thorpej
7022024d4a
Add epic* at pci?
1998-06-02 01:43:33 +00:00
kleink
e6be56ae0b
Need <stdlib.h> for mktemp() prototype.
1998-06-01 14:05:35 +00:00
thorpej
a7f360c6c9
Specify a non-profiling C rule.
1998-05-31 23:25:41 +00:00
veego
4519b25f6c
Add options COMPAT_386BSD_MBRPART.
1998-05-31 13:53:42 +00:00
bouyer
94d805aff1
Add handling of DMA boundary barrier in _bus_dmamap_load_buffer(). This
...
affects all bus_dmamap_load* functions of bus_dma(9).
While I'm there fix a bug where the dm_segs array could be overflowded by one.
1998-05-29 16:48:09 +00:00
drochner
dd457b5369
pull in new PC display headers
...
support "pcdisplay" console device
1998-05-28 16:56:26 +00:00
drochner
dc8a7077ed
Handle the i386/PMAP_NEW copyout() differently:
...
Don't try to avoid faults when the PTEs are checked. Set pcb_onfault
instead so that trapwrite() is called as if the PTE were RO.
This is faster than explicitely ckecking the PDEs - at least in the
majority of calls where the PT is already present.
Thanks to Stefan Grefen for input and testing.
1998-05-27 15:53:30 +00:00
kleink
a97fc2f180
If any of _ANSI_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined, don't
...
provide any identifiers other than sig_atomic_t.
1998-05-25 20:59:01 +00:00
drochner
480294be7d
remove assumption about code aligment after "jmp"
...
(is not worth the possible confusion)
1998-05-24 12:04:23 +00:00
fvdl
27fea992a8
Add the newer PII (model 5) and newer AMD K6 (model 6,7) plus the
...
AMD K6-3D (model 8) to the cpu type table.
1998-05-21 23:34:40 +00:00
thorpej
2352dfea2b
Make this compile with LOCKDEBUG.
1998-05-20 17:32:13 +00:00
drochner
6de27a7083
Make copyout() and Co. work with PMAP_NEW on real i386 processors.
...
PMAP_NEW doesn't fault in page table pages automatically on access to
PTmap[], so we have to check the PTD explicitely.
If a PTP is needed, call uvm_fault(). pmap_enter() will DTRT.
Move calculation of the index into PTmap[] inside the loop in copyoutstr()
(non-PMAP_NEW case). Page boundary crosses are rare, so this should save
some cycles in average.
1998-05-20 16:30:54 +00:00
augustss
796e91b2a7
Add ym (Yamaha OPL3-SA3) driver.
1998-05-20 16:25:06 +00:00
thorpej
89835ce0fd
Correct a typo in some code that isn't yet used.
1998-05-19 22:09:00 +00:00
thorpej
6626878e7b
It is no longer necessary for pmap_pinit() and pmap_release() to be
...
pmap interface functions, as NetBSD no longer uses statically allocated
pmaps (except for the kernel pmap, which is special-cased anyhow).
1998-05-19 19:00:11 +00:00
drochner
4153971158
Framework to test standalone code in a friedly user environment.
1998-05-15 17:07:14 +00:00
drochner
a8857f05e8
Allow to use the code in user land test programs.
1998-05-15 16:38:53 +00:00
drochner
12d352b2f9
minor corrections
1998-05-14 18:34:11 +00:00
drochner
04682788a9
misc improvements:
...
-initialize errno to 0 before receiving
-minimal allowed packet size is 4 (empty data packet)
-Be nice to the TFTP server - tell it that the transfer is finished
(additinal ACK at EOF, ERROR otherwise). Otherwise, it will linger
around and retransmit. This can be left out (TFTP_NOTERMINATE) if we
are really short on space.
1998-05-14 18:26:47 +00:00
drochner
2e9a412d43
allow to use from user space test programs
1998-05-14 18:17:44 +00:00
drochner
26d2f5e3b6
allow to access from user space test programs
1998-05-14 18:15:02 +00:00
kleink
687ea7404c
Fix some arithmetics lossage on typeless pointers.
1998-05-08 16:55:15 +00:00
mycroft
c85dd6f9e1
Fix botch in i386 copyoutstr() case. The index into the page table was
...
corrupted after the first page. From Matthias Drochner.
1998-05-08 10:05:47 +00:00
drochner
2a3fff85f0
add RCS ID
1998-05-06 13:32:18 +00:00
chuck
7704d6d342
correct some addresses in the comment that i missed when
...
KERNBASE changed a while back (from Matthias Drochner)
1998-05-05 01:36:46 +00:00
thorpej
88e3ea0922
Use pci_bus_flags().
1998-05-04 18:49:33 +00:00
thorpej
c099eb3a4a
Add a function, pci_bus_flags(), that determines which flags (for memory
...
and i/o enabled) should be passed to the primary PCI bus's autconfiguration
node. Use this function to detect broken PCI-Host bridges, which have
problems with memory-mapped access. Add the SIS 85C496 to this list.
1998-05-04 18:49:07 +00:00
thorpej
627388689b
Whitespace.
1998-05-04 06:09:35 +00:00
drochner
8b49b1c0b1
Set console to polling mode before calling cngetc().
1998-05-03 10:14:19 +00:00
augustss
7458164379
Add Ensoniq AudioPCI driver.
1998-05-01 22:00:37 +00:00
thorpej
1686aca01d
Pull in opt_gateway.h as appropriate.
1998-04-29 23:11:00 +00:00
thorpej
a6084492d9
Fix some whitespace.
1998-04-28 02:04:13 +00:00
kleink
a53c1863fe
Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
...
types large enough to hold any pointer.
1998-04-27 17:39:10 +00:00
thorpej
aefae6b463
Eliminate some needless indirection through ISA DMA front-end functions.
1998-04-27 00:21:57 +00:00
thorpej
ff701f8abb
Garbage-collect the DMA tag's "_cookie" member; it's not used for anything.
1998-04-26 22:37:20 +00:00
drochner
92b545d880
There are NE2100 compatible cards which cannot IRQ 10.
...
Use IRQ 9 in the default configuration.
(Thanks to Rick Byers <rickb@iaw.on.ca>.)
1998-04-20 10:58:01 +00:00
drochner
543407f7ee
use the mi header (dev/pckbc/pckbdreg.h)
1998-04-17 13:09:23 +00:00
drochner
fa82ea6398
it's mi now (dev/isa)
1998-04-17 13:06:48 +00:00
drochner
6af8040a5c
-"spkr" now attaches to "pcppi"
...
-"le at isa" is split into "depca", "nele" and "bicc"
1998-04-16 22:01:41 +00:00
drochner
bf23ba7b87
add a device node for "sysbeep at pcppi"
1998-04-16 20:16:28 +00:00
drochner
46f77d75da
Make sysbeep() use dev/isa/pcppi. (sysbeep0 at pcppi?)
...
Remove findcpuspeed() - it's useless and was commented out for a while.
1998-04-16 20:15:10 +00:00
drochner
3ae87f413f
"spkr" is now mi. Keep this file for compatibility.
1998-04-15 21:40:27 +00:00
drochner
7689c5d866
remove unneeded stuff
1998-04-15 21:39:01 +00:00
drochner
816be100e0
Remove initialization macros for wsdisplay / spkr - they are in mi
...
sys/conf.h now.
1998-04-15 21:31:40 +00:00
drochner
2aa1ce8196
VGA and spkr are now MI.
1998-04-15 21:27:47 +00:00
frueauf
f7a146be7b
Add isa/pcvt to SUBDIR, this will install /usr/include/machine/pcvt_ioctl.h
...
which is needed by our default xsrc on i386. Closes pr 1391.
1998-04-13 21:54:30 +00:00
tv
b21bfbde11
Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
...
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
tv
482063559a
.y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
...
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
thorpej
8e115c7176
Fill in pmap_collect(), doing what the Alpha port's pmap does - forget
...
the physical mappings for the entire address space, thus freeing up
the page tables held by the pmap.
1998-04-07 18:32:10 +00:00