mycroft
02b3e8d73e
Add ss, uk. Minor touchups.
1996-09-09 16:30:47 +00:00
mycroft
97c4dc0c80
Remove old comment about rd, and add to chrtoblk[].
1996-09-09 15:51:34 +00:00
jtk
4b9b2da0f5
I meant to depend on apm.h, not Makefile
1996-09-09 11:34:01 +00:00
jtk
ec11419661
fix compilation problems when APM not configured
1996-09-09 11:31:40 +00:00
mycroft
a32047fa0c
Add cdev_decl(rd), for previous.
1996-09-08 15:59:56 +00:00
jtk
3b509ead1a
whoops, forgot to include flags details in bioscall() comments
1996-09-08 15:51:39 +00:00
jtk
1a1feb3827
change APM to use new almost-generalized BIOS trampoline:
...
/*
* void bioscall(int function, struct apmregs *regs):
* call the BIOS interrupt "function" from real mode with
* registers as specified in "regs"
* (for the flags, though, only these flags are passed to the BIOS;
* the remainder come from the flags register at the time of the call:
* (PSL_C|PSL_PF|PSL_AF|PSL_Z|PSL_N|PSL_D|PSL_V)
*
* Fills in *regs with registers as returned by BIOS.
*/
Thanks to Charles Hannum for complaining and inspiring me to hack this
together.
1996-09-08 15:43:37 +00:00
jtk
fda7345c98
re-implement BIOS trampoline as a more general-purpose, reusable trampoline.
...
calling interface (via a grapple in locore.s) is:
/*
* void bioscall(int function, struct apmregs *regs):
* call the BIOS interrupt "function" from real mode with
* registers as specified in "regs"
* (for the flags, though, only these flags are passed to the BIOS;
* the remainder come from the flags register at the time of the call:
* (PSL_C|PSL_PF|PSL_AF|PSL_Z|PSL_N|PSL_D|PSL_V)
*
* Fills in *regs with registers as returned by BIOS.
*/
still some generalization to do (moving this to a better named location,
cleaning up #if tests from NAPM > 0 to something else to allow easy
sharing by other drivers)
Thanks to Charles Hannum for complaining about the previous BIOS grapple
and inspiring me to hack this one together.
1996-09-08 15:36:51 +00:00
mycroft
1dce8ddb7f
Add char device for `rd'.
1996-09-08 03:31:39 +00:00
mycroft
9110bcca3a
Add uk device.
1996-09-08 00:46:57 +00:00
mycroft
e6dd44f034
Use SIGBUS iff we get a legitimate bus fault. Use SIGSEGV for page protection
...
violations (per Solaris, SVR4, AIX, Linux, Irix, and SunOS).
1996-09-07 22:26:41 +00:00
mycroft
f14cece0ae
Turn off DEBUG by default now.
1996-09-07 20:26:09 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
mycroft
fc3def4096
Remove duplicate declarations of LKM functions and macros.
1996-09-05 15:46:22 +00:00
thorpej
d1384a9b2a
Don't include the FDDI drivers in the install kernels. It's highly
...
unlikely that these will be needed in an install situation, and
we need the space.
1996-09-04 07:35:07 +00:00
mycroft
b3eac79b64
tty stop functions really should return void, not int, and certainly not both.
1996-09-02 06:43:16 +00:00
mycroft
30a617c634
Wrap the default definition of S' in
.ifndef'.
1996-08-31 21:40:47 +00:00
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