mycroft
42c80a3779
Oops. Add patterns for PCI BusLogic cards.
1996-08-31 20:43:53 +00:00
mycroft
06349d0f45
Update for BusLogic and UltraStor changes.
1996-08-31 20:39:14 +00:00
mycroft
0947abc4ec
Oops; fix typo.
1996-08-31 05:10:03 +00:00
mycroft
fbfd18b011
Make sure b_resid is always set before biodone().
1996-08-30 19:59:07 +00:00
mycroft
ecde95b64d
clock >= tty | net | bio
1996-08-30 15:39:31 +00:00
jtk
f6fa8f12a6
change to use consistent APM_ constant names
1996-08-30 02:37:04 +00:00
jtk
f613796771
make all constants use APM_ prefix, and some other minor cleanup so that
...
this can be the sole APM include file
1996-08-30 02:36:00 +00:00
jtk
dbeeead15d
clean up includes and uses of constants so that we use one include file,
...
<i386/include/apmvar.h>
remove some files we don't need anymore
1996-08-30 02:32:13 +00:00
thorpej
9fd32a826d
Fix name conflict with boot() prototype in <sys/reboot.h>
1996-08-30 01:34:01 +00:00
thorpej
c4366945e5
Quiet the ahc driver down a bit by only enabling some of less useful
...
messages #if defined(DEBUG) in the NetBSD case.
1996-08-28 23:39:40 +00:00
thorpej
33dec3a69a
Correct a comment.
1996-08-28 23:02:22 +00:00
thorpej
1a5971cc12
Renate this file; I guess I should have taken a vote :-)
1996-08-28 23:00:46 +00:00
thorpej
4deb6e56b8
Kernel configuration for "NetBSD1", NetBSD.ORG's new mail server.
...
(This would be a good reference kernel for others setting up network
server systems...)
1996-08-28 07:17:58 +00:00
cgd
2a73ef60b7
change cfprint_t type definition to take a const char *, rather than
...
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
mrg
b8e9f36083
add COMPAT_12.
1996-08-26 23:39:36 +00:00
jtk
b86b695240
add Advanced Power Management driver
...
Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
1996-08-25 23:38:57 +00:00
mycroft
312e49bad1
After processing an AST, check for another one. Pointed out by ws.
1996-08-15 15:34:03 +00:00
mycroft
558d72128e
Put into . Remove hooks for `config-dependent' and
...
`device-driver' flags.
1996-08-12 00:51:24 +00:00
mycroft
cdfce2d74f
Theres no microcode/Makefile.inc now.
1996-08-10 08:40:53 +00:00
mycroft
cf67f29afe
* Add a HOSTED_C_C variable, which strips `-p', `-pg', and
...
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
1996-08-10 06:07:57 +00:00
mycroft
f94052ed3a
* Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
...
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
1996-08-10 05:29:24 +00:00
mrg
5abbf990f3
Change reboot(2) to take two arguments: bootopt like normal and also
...
a boot string for firmware that can do this, such as the SPARC and
the sun3 models. It is currently silently ignored on all other
hardware now, however. The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00
soda
9e413208a9
adding AHA-284x VL front-end to ahc driver by Jason Thorpe.
1996-08-05 21:15:58 +00:00
soda
d2bb4c7a65
AHA-284x VL front-end to ahc driver by Jason Thorpe.
...
This is tested under both netbsd-1-2 branch and main trunk.
1996-08-05 21:14:29 +00:00
jtk
517f2ace37
One more fix as pointed out by enami tsugutomo <enami@ba2.so-net.or.jp>:
...
check slen before accessing cp[1] in GETNUM macro.
1996-07-21 04:01:01 +00:00
jtk
a6c08ef5e8
fix PRs 219, 2295, 2612: speaker bugs on i386 port: remove overruns due to
...
faulty bounds checking; repair faulty octave limiting.
1996-07-14 01:03:13 +00:00
explorer
41239f1024
Suggestion from Noriyuki Soda <soda@sra.co.jp> to update the comments for
...
these files, since the driver was updated to deal with more devices.
1996-07-14 00:10:11 +00:00
fvdl
8e6a25cd1d
Make this compile with PCVT_SCANSET == 2 (PR #2622 )
1996-07-13 23:26:03 +00:00
mycroft
353cfc3523
Oops; remove something that shouldn't be here.
1996-07-09 09:23:03 +00:00
chuck
59896583e3
add softnet interrupt for native mode atm
1996-07-04 03:17:53 +00:00
mycroft
de867628ce
Migrate m->m_data and m->m_len into Q regs to enable 10% code size reduction.
1996-07-03 18:20:38 +00:00
mycroft
7217b32126
Eliminate an instruction.
1996-07-03 14:05:16 +00:00
mycroft
b056ddef2a
Add a few mbuf fields.
1996-07-03 13:10:46 +00:00
mycroft
8663d62627
Minor cleanup.
1996-07-03 13:07:17 +00:00
mycroft
5f51da7a03
Translate in_cksum() to assembler, and speed it up a bit.
1996-07-03 13:01:40 +00:00
thorpej
698844254e
A few simple changes:
...
- Use an extent map to manage the ISA memory "hole", much like
how i/o port space is manged with an extent map. Do the actual
accounting in bus_mem_{,un}map().
- When creating the ioport and iomem extent maps, pass the
EX_NOBLOB flag, which tells the extent map code to disallow
fragmenting of regions. This will make it easier to catch
simple i/o and memory mapping bugs (like the if_ed.c bug I just
fixed) in the future.
- In bus_mem_map(), a chunk of code was indented using spaces.
Make the indentation use tabs.
- In bus_io_unmap(), fix the format passed to printf().
1996-06-25 21:22:48 +00:00
thorpej
9b69016c08
Now that we have i/o port accounting, change the mainbus attach
...
order back to the (correct) pci -> eisa -> isa ordering.
1996-06-23 20:11:27 +00:00
thorpej
8c2f15c6fc
New implementation of bus_io_{,un}map() for the i386. Details:
...
- A fixed extent map (statically allocated descriptor storage) is
created in init386(), just before the call to consinit(). The
fixed descriptor storage has enough room for 8 region entires,
which is plenty for early initialization, but doesn't chew up
that much memory.
This extent map (ioport_ex) manages the i386 i/o port
space (0x0 - 0xffff).
- Just before the call to configure() in cpu_startup(), a
flag is set which notifies the bus_io functions that it is
safe to use malloc() to allocate descriptor storage, in the
event that more than 8 regions are needed.
- bus_io_map() attempts to allocate the specified region from
ioport_ex. If the allocation succeeds, the io handle is
filled in. If the allocation fails, it is implied that
something else is already using that io space, and an
error condition is returned.
- bus_io_unmap() frees a region previously allocated from
ioport_ex in bus_io_map(). If the free fails, a warning
is printed on the conole.
These changes implement "port accounting". This is required for
proper autoconfiguration on the i386 port, and makes dealing with,
among other things, PCMCIA io mappings _much_ easier.
1996-06-23 19:59:06 +00:00
mycroft
60f46fb10b
Increment the boot block version.
1996-06-18 07:51:26 +00:00
mycroft
584f242944
Don't advance to the next default name if the user typed something.
...
Make gets() return void.
1996-06-18 07:47:02 +00:00
mycroft
398b638fbb
Add comments on #else and #endif. Move #ifndefs outside of comment blocks.
1996-06-18 07:17:47 +00:00
mycroft
b360b90a92
Save %esi and %edi around BIOS calls. Also, reference arguments through
...
%esp rather than %ebp, to avoid needing to change %ebp on entry.
1996-06-18 07:03:44 +00:00
mycroft
f2d34a2c9a
Compare device types with strcmp(). Remove special case for `wt'.
1996-06-18 06:10:33 +00:00
mycroft
8a706cd17f
Add a ONEDISK option to elide the getc().
1996-06-18 06:06:38 +00:00
mycroft
0ca0eeec5f
Clean up the install target.
1996-06-18 06:05:44 +00:00
mycroft
36720c448c
Use the BIOS memory sizes passed in by the boot program, to preserve the BIOS
...
data area.
1996-06-18 01:53:07 +00:00
cgd
78937ab274
change > to >= in #endif comment, too.
1996-06-04 20:01:58 +00:00
cgd
6110ea9366
#ifdef tty_attach() with PCVT_NETBSD >= 120 (rather than just >),
...
since tty_attach() is now in the 1.2 release.
1996-06-04 19:53:28 +00:00
cgd
abc294c9d9
don't tty_attach() the mouse emulator tty.
1996-06-04 19:47:51 +00:00
cgd
d4b462666e
if PCVT_NETBSD > 120, do tty_attach() calls so that pstat -t will work.
...
If these changes are pulled up to the 1.2 release branch, they should
be changed so that they are included if PCVT_NETBSD >= 120.
1996-05-31 00:03:59 +00:00
cgd
311886cbbe
add call to tty_attach() so pstat -t will work with pccons ttys.
1996-05-30 23:59:11 +00:00
cgd
a6539cd434
add options LKM, INSECURE
1996-05-30 22:36:49 +00:00
cgd
00a630739d
don't use pcvt any longer
1996-05-30 22:35:46 +00:00
fvdl
b7a6989848
NetBSD1_1 -> NetBSD1_2, so use it properly (PR 2475)
1996-05-28 12:28:45 +00:00
christos
be8ad0bbb0
Recognize MFII keyboard ids for BIM ThinkPad 76X's. Closes PR/2468
1996-05-25 18:19:07 +00:00
christos
0bc76ac7c3
make this compile again; remove CONF_SLOW_INTERRUPT
1996-05-21 20:46:45 +00:00
mrg
1af2be6068
document PORTAL
1996-05-20 18:15:11 +00:00
thorpej
59865f3154
Remove references to the "ahe" device, and add ahc at eisa. Lingering
...
junk pointed out by Greg Earle <earle@isolar.Tujunga.CA.US>.
1996-05-20 03:32:16 +00:00
thorpej
4564027c48
Add the DEFEA EISA FDDI controller to the catch-all kernels.
1996-05-20 00:50:33 +00:00
christos
15ac7da805
- remove cpu_exec_aout_prep_oldzmagic and use exec_aout_prep_oldzmagic
...
- add exec_aout_prep_oldnmagic and exec_aout_prep_oldomagic. Now we support
all BSDI executable formats.
1996-05-18 15:54:59 +00:00
thorpej
5179f14567
This hasn't been kept up to date.
1996-05-15 23:52:44 +00:00
mycroft
b3d8a261b9
Make imask[] larger, to match other changes.
1996-05-13 06:11:28 +00:00
mycroft
635c72115c
Add multiple-inclusion protection.
1996-05-13 01:35:06 +00:00
mycroft
417bb90896
Move spl*() and soft interrupt definitions into intr.h. For now, include it
...
from psl.h. XXX Will change after release.
1996-05-13 01:28:01 +00:00
mycroft
db4ceee7f8
Remove the PCVT_SLOW_INTERRUPT option. It is required.
1996-05-12 23:33:32 +00:00
mycroft
f7624a5fd1
Use intr.h.
1996-05-12 23:24:47 +00:00
mycroft
eda98d375d
Use intr.h.
1996-05-12 23:11:54 +00:00
mycroft
a8e2ce97e4
Implement IPL_HIGH.
1996-05-12 23:06:06 +00:00
mycroft
9f8f77f8f6
Move IPL_* and IST_* constants into intr.h.
1996-05-12 22:52:23 +00:00
thorpej
645664c6f1
In bus_mem_unmap(), pass kernel_map to kmem_free(), rather than
...
kmem_map (the VA space is allocated from kernel_map).
In both bus_mem_map() and bus_mem_unmap(), adjust some arithmetic to
avoid wasting a page of VA space per call to bus_mem_map().
1996-05-12 19:02:19 +00:00
thorpej
ea8aad3319
Use <machine/bus.h> ... on the right track to making this an MI driver.
1996-05-12 01:37:02 +00:00
mycroft
540f9550c0
Make `make depend' work for libraries.
1996-05-11 16:11:30 +00:00
jtc
0edf3579f4
Revert last change.
...
Changing types from unsigned {long,short} to u_int{32,16}_t causes problems
in a lot of userlevel code because those types aren't defined when machine/
endian.h is included. And IMO including sys/types.h in machine/endian.h
is clearly wrong.
XPG4.2 defines new types in_addr_t and in_port_t for the {h,n}to{n,h}{l,s}
functions. But we don't have time to figure out the implementation issues
given the current release schedule.
1996-05-08 20:00:38 +00:00
thorpej
3fd8e58e67
Add the DEC DEFPA FDDI interface to the catch-all kernel configs.
1996-05-07 00:59:53 +00:00
thorpej
a331638311
Make the MI LANCE driver standalone, and use cfattach to resolve
...
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 00:58:36 +00:00
christos
cd2b07ab7c
We have our own prototype now for fillw()
1996-05-05 22:20:51 +00:00
christos
079631f59d
Remove unneeded casts to fillw() since now it takes a void * argument.
1996-05-05 19:48:15 +00:00
christos
db7563a62d
Fix gcc -Wall warnings
1996-05-05 19:46:15 +00:00
christos
f8f10e569e
Make this compile again.
...
- use the abs function from libkern
- fix prototypes
1996-05-05 19:31:25 +00:00
christos
59fdcbc7ad
Change the prototype of fillw from (int, caddr_t, size_t) to
...
(short, void *, size_t).
1996-05-05 19:29:26 +00:00
christos
573f5e0cd6
Add the joystick
1996-05-05 19:28:34 +00:00
mycroft
62c8d3c70c
Fix obvious bug introduced in last change.
1996-05-05 06:50:02 +00:00
christos
8571e85c28
fix gcc -Wall warnings
1996-05-03 20:16:56 +00:00
christos
3464a4032b
Prototype fixes.
1996-05-03 20:11:57 +00:00
christos
5503f7b749
Prototype and gcc -Wall cleanups
1996-05-03 19:41:56 +00:00
christos
ffdbd55cb2
savectx comment about altreturn was not true.
1996-05-03 19:41:19 +00:00
christos
df8b4512f0
cleanup fdopen->Fdopen and prototypes
1996-05-03 19:40:20 +00:00
christos
b927d7be11
Fwd declarations for MD drivers.
1996-05-03 19:34:11 +00:00
christos
8fd0f1f8b3
Add missing prototypes.
1996-05-03 19:26:28 +00:00
christos
391a4ddc7c
use u_int32_t instead of unsigned long
...
and u_int16_t instead of short in the {h,n}to{n,h}{l,s} inline routines
and macros.
1996-05-03 19:25:23 +00:00
christos
0b3580eb25
Comment out unused routines; add prototype for kdb_trap
1996-05-03 19:23:59 +00:00
christos
dc3ce37d53
Add prototypes from other files.
1996-05-03 19:22:49 +00:00
christos
1044435088
Avoid unused variable warnings, by using the first argument to the bus
...
functions.
1996-05-03 19:22:18 +00:00
christos
f77d0368e6
- add missing prototypes
...
- add missing braces in array and struct declarations.
- fix gcc warnings.
1996-05-03 19:17:28 +00:00
christos
099b45aa2a
- Add missing prototypes.
...
- Fix gcc warnings
1996-05-03 19:14:50 +00:00
mycroft
7511a5540e
Remove BIOSSEG.
...
Don't mess with the flags when entering a software interrupt.
Use IF, not VIF.
NOTE: These changes break dosemu, but are required for proper emulation.
1996-04-30 10:35:25 +00:00
scottr
5282131d76
Add ie1, appropriate for EtherExpress support
1996-04-25 20:14:13 +00:00
thorpej
09407a4201
Document the VM86 option by adding it to the GENERIC* kernel config
...
files. Note, the option is disabled by default (comment out). This
is meant as an example for others.
1996-04-25 18:59:14 +00:00
mycroft
f1f45fae7c
Emulate the INTO instruction.
1996-04-25 13:50:21 +00:00
thorpej
aff40e2a72
Break up the ep driver into isa, eisa, and pci front-ends and a
...
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>
1996-04-25 02:15:42 +00:00