Warner Losh
ac0f7daa5e
Sync to pccarddevs 1.9
2001-01-20 02:04:26 +00:00
Warner Losh
e7c584e06b
Sync with NetBSD (again, after I got the most up to date file):
...
o 1.111 imp Sync with FreeBSD.
o 1.110 nonaka Add Roland SCP-55
o 1.109 ichiro add NANOSPEED ROOT-RZ2000 WLAN Card
o 1.108 ichiro add EMTAC A2424i 11Mbps WLAN Card
2001-01-20 02:03:53 +00:00
Warner Losh
d7abc1d83d
sync with pccarddevs 1.8.
2001-01-20 01:49:17 +00:00
Warner Losh
464c9a2316
Correct entry for RATOC REX_R280 to comply with style used in the rest
...
of the file.
2001-01-20 01:48:55 +00:00
Warner Losh
4dff132fa5
Sync with pccarddevs.
2001-01-20 01:42:22 +00:00
Warner Losh
8c4587fd4a
Sync with NetBSD. v1.98->1.107:
...
o 1.107 haya Add IO Data CBIDE2 ata interface card.
o 1.106 jhawk s/NULL}/NULL }/
o 1.105 thorpej " " -> "&sp" in two entries, per Rafal Boni.
o 1.104 thorpej Add SMC 2632W. From Rafal Boni, kern/11775.
o 1.103 drochner add IBM microdrive
o 1.102 soren Typo.
o 1.101 hubertf Add ELSA WaveLAN card & a noname clone(?)
o 1.100 toddpw Socket Comm. PC Card Ethernet, and tidy up naming.
o 1.99 msaitoh MELCO LPC2-TX, Telecom Device TCD-HPC100,
MACNICA ME1-JEIDA
o 1.98 imp Sort BAY into numerical order. (already in FreeBSD)
2001-01-20 01:41:25 +00:00
Chris D. Faulhaber
3fca54b652
Limit commands that can be issued when not logged in:
...
TYPE, STRU, MODE, ALLO, STAT, ABOR, SITE IDLE, SYST, REST
Reviewed by: kris, sheldon
2001-01-20 01:34:22 +00:00
Chris D. Faulhaber
aecdf0ebbf
Check strdup() return values
...
Reviewed by: kris
2001-01-20 01:22:31 +00:00
Bill Paul
89689ecb7c
Check the return value of sf_encap() and handle errors accordingly.
2001-01-20 00:50:51 +00:00
Bill Paul
db13b7118e
Set the OACTIVE flag if vr_encap() fails.
2001-01-20 00:47:55 +00:00
Chris D. Faulhaber
b27e228ca9
Check malloc() and strdup() return values
...
Reviewed by: kris
2001-01-20 00:29:31 +00:00
Chris D. Faulhaber
8728c621a0
Check strdup() return values
...
Reviewed by: kris
2001-01-20 00:26:32 +00:00
Bill Paul
c85c46678d
Silence compiler warnings.
2001-01-20 00:07:49 +00:00
Bill Paul
419146d944
Bug fixes that I've put together while working on a project in the office:
...
if_vr: handle the case where vr_encap() returns failure: bust out of the
packet sending loop instead of panicking. Also add some missing
newlines to some printf()s.
if_dc: The miibus_read and miibus_write methods keep swapping in and
out of MII mode by fiddling with CSR6 for cards with MII PHYs.
This is a hack to support the original Macronix 98713 card which
has built-in NWAY that uses an MII-like management interface
even though it uses serial transceivers. Conditionalize this
so that we only do this on 98713 chips, since it does bad things
to genuine tulip chips (and maybe other clones).
2001-01-19 23:55:07 +00:00
Kris Kennaway
4dedca9fd7
Prevent overflow in -d argument by replacing hand-rolled
...
strcat+strcpy+perror with err()
Submitted by: Mike Heffner <mheffner@vt.edu>
2001-01-19 23:11:18 +00:00
Matt Jacob
b94ec3184f
Make some attempt to accomodate kern/24221- propate residual to mt_resid
...
even if it might overflow.
If we do a read or set of hardware or logical block position, we also
clear Tape Frozen status.
2001-01-19 21:08:15 +00:00
John Baldwin
dfea516de2
Change the reinstall.debug target to depend on
...
{kernel,modules}-reinstall.debug rather than {kernel,modules}-reinstall.
Otherwise, the '.debug' portion of the target is lost, and you end up
reinstalling the non debug version instead of the debug version.
2001-01-19 19:43:45 +00:00
Peter Wemm
fac01606cc
Sync with GENERIC - drop I386_CPU
2001-01-19 14:23:51 +00:00
Ruslan Ermilov
c5083414f8
mdoc(7) police: removed leading whitespaces that are not inside
...
Bd/Ed; these hardly degrade the quality of the produced output.
2001-01-19 14:15:40 +00:00
Peter Wemm
1467a651ab
Convert apm from a bogus 'count' into a plain option. Clean out some
...
other cruft from the files.alpha and files.ia64 that were related to this.
2001-01-19 14:09:54 +00:00
Peter Wemm
aaa69bf4d0
Zap unused #include "apm.h"
2001-01-19 13:56:31 +00:00
Peter Wemm
11580d3723
Zap some cut-paste code that isn't used. It #included "apm.h" and
...
an apm include file but had no other apm references.
2001-01-19 13:55:08 +00:00
Peter Wemm
c90137a386
Zap #include "apm.h" - it was not used.
2001-01-19 13:53:54 +00:00
Peter Wemm
3fac4a6263
Stop turning 'mandatory' into an implicit 'count' line. i386/npx was the
...
only consumer of this and it is no longer needed.
2001-01-19 13:20:50 +00:00
Peter Wemm
558226eae7
Use #ifdef DEV_NPX from opt_npx.h instead of #if NNPX > 0 from npx.h
2001-01-19 13:19:02 +00:00
Peter Wemm
2c170dd2dd
EEK! vm86bios.s has got #if NNPX > 0 code without a corresponding
...
#include "npx.h" - the code has been dead for a while and vm86 calls
have not been saving FPU context it seems.
2001-01-19 13:14:09 +00:00
Peter Wemm
d008d67eff
At great personal risk to my sanity, turn off COMPAT_OLDISA and the
...
two drivers that depend on it - ie and le. The compat code has not been
disabled.
2001-01-19 13:06:37 +00:00
Peter Wemm
90d3341e09
Add missing twe (3ware) and ahb (adaptec 174x) devices (!)
2001-01-19 13:04:58 +00:00
Peter Wemm
80d739b4ec
This conf file seems to have rotted quite a bit..
2001-01-19 13:03:41 +00:00
Peter Wemm
5ae7f4d746
Corresponding version bump for config with the DEV_FOO replacement for
...
the NFOO count option.
2001-01-19 12:50:16 +00:00
Peter Wemm
10ca19cf93
Implement option strings that we can use in #ifdefs (where unavoidable)
...
as a replacement for the evil #define NFOO. If 'device npx' is in the
static kernel, a synthetic option '#define DEV_NPX 1' will be available
to stick in an opt_xxx.h file. "#if NNPX > 0" can be replaced with
"#ifdef DEV_NPX" and we can get rid of the overloaded meaning of the
device count mechanism.
2001-01-19 12:49:21 +00:00
Peter Wemm
bb9dcfee8e
This driver needs COMPAT_OLDISA too. Sigh.
2001-01-19 11:46:57 +00:00
John Baldwin
8339bca6db
Add in a space that got lost in the previous commit in some debugging code
...
so that '&' becomes a binary operator and not a unary operator.
2001-01-19 11:43:13 +00:00
Peter Wemm
95bca00f46
EEK! I missed a couple of places with the 24->32 interrupt change.
2001-01-19 10:55:13 +00:00
Peter Wemm
9ba0ad9495
Remove #defines for the old lock function names and spl0/splz
2001-01-19 10:52:47 +00:00
Peter Wemm
031b6a102e
Remove reference to splz_unpend - it is long gone.
2001-01-19 10:51:13 +00:00
Peter Wemm
07a79932e3
Catch a few alternative names for the syscall entry frame, eg: post-ELF
...
and int $0x80 entry methods.
2001-01-19 10:49:20 +00:00
Peter Wemm
f7b6e45d5b
apic_itrace_splz[] is unused
2001-01-19 10:48:35 +00:00
Peter Wemm
248d941a07
Remove unused splsoftcambio(), splsoftcamnet(), splq() and splz() inlines.
2001-01-19 10:46:58 +00:00
Peter Wemm
a496358e30
Remove the now-empty ipl_funcs.c file on all platforms.
2001-01-19 09:59:56 +00:00
Peter Wemm
198c5b0891
Remove the static splXXX functions and replace them by static __inline
...
stubs. Remove the xxx_imask variables which have been all but gone for
a while.
2001-01-19 09:57:29 +00:00
John Baldwin
79bd95a632
- Remove an unused write_ivars function that didn't do anything anyway.
...
- Return NULL from mca_alloc_resource() instead of ENOENT if we are
passed in an empty resource list.
2001-01-19 09:29:34 +00:00
Peter Wemm
26379603c0
Create a build-tools target for sysinstall and rtermcap. This is still
...
not right because rtermcap would be reading the *host* termcap, not
from the termcap in the src tree. Besides, /usr/sbin/sysinstall
(not the crunched one in /stand) should use the runtime termcap
not the precompiled set.
2001-01-19 09:24:00 +00:00
Peter Wemm
47c6b72621
Fix a warning due to missing prototype.
2001-01-19 09:10:14 +00:00
Peter Wemm
dfb1071f3c
Fix a warning (the prototypes probably shouldn't be so over-zealously
...
#ifdef'ed though)
2001-01-19 09:07:16 +00:00
John Baldwin
1d33852a18
Warning police:
...
- Share the ex_stop() prototype in if_exvar.h
- Remove an unused local variable.
2001-01-19 09:04:56 +00:00
Peter Wemm
dc57d7c6dc
Fix a maybe-not-so-harmless warning.
2001-01-19 09:02:40 +00:00
John Baldwin
5e878a541c
Add in an interrupt type for this driver. I have no idea how this could
...
have ever worked without this.
Reviewed by: peter
2001-01-19 08:55:14 +00:00
John Baldwin
568ae39fd5
Revert revision 1.102. I don't think p_nice needs to be protected with
...
sched_lock, and I'm fairly certain P_TRACED will be protected with the
proc lock instead.
Pointed out indirectly by: bde
2001-01-19 08:23:22 +00:00
Jun-ichiro itojun Hagino
cf2e52f3de
BSD/OS was called BSD/386 prior to 2.0.
2001-01-19 07:36:36 +00:00