luigi
78f32fa7e0
Bridging support. Wait for LINT to be updated before trying it.
1998-12-14 17:58:05 +00:00
dt
9c55aebaa4
(Hopefully) fix support for "large" files. Mostly cast block numbers to off_t
...
before they multiplied to block sizes.
1998-12-14 17:51:30 +00:00
luigi
ed7c1066e1
Bring dummynet+bridging in -current. Everything will be ready when
...
LINT is updated.
1998-12-14 17:46:15 +00:00
bde
746dcb079d
Fixed LINT breakage in previous commit. Option FDC_YE enabled a
...
syntax error. Options FDC_YE and DEVFS together enabled references
to a nonexistent variable and calls of a nonexistent function.
1998-12-14 16:29:58 +00:00
mckay
b1c84799bb
Fix tabs that should have been spaces. Some were in kernel error messages.
1998-12-14 13:30:29 +00:00
n_hibma
09cea3a47d
Removed probe for VIA 82C586B OHCI controller (is done in ohci_pci.c now)
1998-12-14 09:46:31 +00:00
n_hibma
bb7a814654
Added Id
1998-12-14 09:40:15 +00:00
n_hibma
b25219fcba
Added Id to all files
1998-12-14 09:32:25 +00:00
n_hibma
a9ce772c0c
Added Id
1998-12-14 09:31:41 +00:00
n_hibma
3d4b15f81a
Added comment
1998-12-14 09:15:19 +00:00
n_hibma
cccb885020
Added copyright and Id
1998-12-14 09:13:29 +00:00
kato
89c9c41887
Sync with sys/i386/isa/fd.c revision 1.128.
1998-12-14 09:06:23 +00:00
kato
7733b9192b
Sync with sys/i386/isa/pcaudio.c revision 1.44.
1998-12-14 08:58:56 +00:00
kato
4f218ba3ec
Sync with sys/i386/isa/if_ed.c revision 1.147.
1998-12-14 08:58:12 +00:00
kato
6fdd1bf255
Sync with sys/i386/i386/userconfig.c revision 1.118.
1998-12-14 08:53:32 +00:00
kato
f6ffb5f371
Sync with sys/i386/conf/options.i386 revision 1.95.
1998-12-14 08:52:20 +00:00
dillon
5b976b6d8d
Fixed problems with kernel config file overrides of sysv semaphore
...
parameters. Prior to this fix a kernel config override would effect
only some of the kernel files, resulting in panics.
PR: kern/9068
1998-12-14 08:34:55 +00:00
dillon
1b46557c21
probe function changed from returning char * to const char *.
1998-12-14 06:37:37 +00:00
dillon
2d9e52659c
Get rid of uninitialized variable warnings. No bugs found, just
...
preinitializing some locals to 0 to get rid of the compiler warnings.
1998-12-14 06:16:13 +00:00
dillon
9138a59988
Get rid of uninitialized warning for local variable 'c'. There was no
...
bug, but set it to 0 anyway to get rid of warning.
Get rid of uninitialized warning for local variable 'line' as well as
make a minor change to its scope. Again, no bug.
1998-12-14 06:13:41 +00:00
dillon
987bd366d4
Fix uninitialized variable warning by preinitializing 'class' to 0. This
...
wasn't a bug, just added to silence a warning.
1998-12-14 05:49:04 +00:00
dillon
5e557fc6bd
pci_device pd_probe function changed from returning char * to returning
...
const char *. Originally I was going to add casts from const char * to
char * in some of the pci device drivers, but the reality is that the
pci device probes return constant quoted strings.
1998-12-14 05:47:29 +00:00
dillon
6d407291a8
Fix -Wuninitialized warning regarding zero-length var-args ctl element.
...
( this isn't really an error, but I think it is important to fix the
warning ).
1998-12-14 05:37:37 +00:00
dillon
19dc264538
author was assuming that nextpaddr declared *inside* the do loop would
...
survive within the loop. This is not guarenteed by C. I have moved
the nextpaddr declaration to outside the do loop.
1998-12-14 05:35:56 +00:00
dillon
2d7053a5cc
Change local ddb_mode variable to volatile to handle GCC warning about
...
the variable possibly being clobbered by setjmp/longjmp.
1998-12-14 05:34:33 +00:00
dillon
31ea12c336
Cleanup uninitialized-possibly-used (but really not) warnings
1998-12-14 05:00:59 +00:00
dillon
14901c04b7
Reviewed by: freebsd-current
...
Add bounds checking to netbios NS packet resolving code. This should
prevent natd from crashing on badly formed netbios packets (as might be
heard when the machine is sitting on a cable modem or certain DSL
networks), and also closes potential security holes that might have
exploited the lack of bounds checking in the previous version of the
code.
1998-12-14 02:25:32 +00:00
eivind
90342ef5d9
Make the use of 'disc' vs 'ds' as prefix consistent by making all 'disc'.
...
This fix the conflict of having two functions called 'dsioctl()'.
1998-12-14 01:59:16 +00:00
n_hibma
db1a25dccb
small oops on previous bug fix, it's late...
1998-12-13 23:53:42 +00:00
eivind
a5951b43db
Fix 3-byte buffer overflow.
...
Also, while I'm here, fix up some more after those that haven't
noticed #endif isn't a comment introducer.
1998-12-13 23:36:16 +00:00
eivind
1c27a8c0e7
Fix typo - [0], [1], [2], not [0], [1], [3].
1998-12-13 23:32:44 +00:00
steve
c5ff6e3473
wcd_read_toc returns zero on success and EIO on failure, so change the
...
test in open to return EIO if non-zero.
PR: 8316
Submitted by: Masatoshi TAMURA <tamrin@shinzan.kuee.kyoto-u.ac.jp>
1998-12-13 23:30:15 +00:00
n_hibma
067b9d6ac9
small bug fix
1998-12-13 23:26:41 +00:00
eivind
544e5b8db6
Fix typo - sizeof(struct crtl *) -> sizeof(struct ctrl *).
...
XXX This still assume that bzero() over a field create null-pointers,
which seems a chancy proposition at best.
1998-12-13 23:25:29 +00:00
n_hibma
d6b94b79c0
Removed unneeded definition
1998-12-13 23:16:20 +00:00
n_hibma
77935f693b
Added uhid again, sorting seems to work now
1998-12-13 23:14:03 +00:00
steve
f8cec29a5c
Add support for another 3COM/USR PNP modem, USR3031.
1998-12-13 23:12:54 +00:00
n_hibma
42b911c298
Added all the options to LINT with descriptions. Haven't tried to compile
...
the LINT kernel yet however...
1998-12-13 23:06:16 +00:00
n_hibma
4f19f2cec5
dded the stubs for umodem and ucom (communications class driver). They are nothing other than
...
the ugen driver with different variable names.
1998-12-13 23:04:35 +00:00
eivind
8fdbb602f1
Remove warning introduced by the last committer.
1998-12-13 23:00:48 +00:00
eivind
df90d2d83b
Another extra pointer check.
1998-12-13 22:29:32 +00:00
n_hibma
7a761ba5fa
Updated USB kernel sources to NetBSD sources of 1998-12-09.
...
1 bug fix and several textual changes.
Preparing to feed back changes for port into NetBSD to create one source base.
1998-12-13 22:27:42 +00:00
truckman
cd7e13cf0f
Add a generic flag, CTLFLAG_SECURE, which can be used to mark a sysctl
...
variable unwriteable when securelevel > 0.
Reviewed by: jdp, eivind
1998-12-13 07:19:13 +00:00
truckman
40ad5890f9
getpgid() and getsid() were doing a comparision rather than an assignment,
...
which is fortunate, because otherwise another bug would allow them to be
used to stomp on the syscall return value of another process.
1998-12-13 07:07:51 +00:00
dillon
1d1d7ca777
PR: kern/8819
...
Trivial change of macro name from DEBUG to AWE_DEBUG to avoid conflict
with kernel DEBUG option.
1998-12-13 06:50:17 +00:00
gibbs
9bdc2c6395
Pull in fixes similar to those recently committed to the bt driver:
...
- For transactions of 0 length, us a non-residual checking CCB type.
- Preserve command status if our interrupt handler completes a command
while we are polling for completion in aha_cmd.
1998-12-13 00:05:04 +00:00
gibbs
2b1b554011
Return ENODEV instead of EINVAL when a particular exchange or move
...
operation exceeds the capabilities of the changer device.
1998-12-12 23:52:46 +00:00
dillon
21b42c731e
PR: kern/8990
...
If timer calculation results in degenerate value (0), force it to 1
to avoid divide-by-zero panic later on in calls to IGMP_RANDOM_DELAY().
I considered simply adding 1 to the timer calculation, but was unsure
if the calculation was part of the IGMP standard or not so did not want
to mess with it for all cases.
1998-12-12 21:45:49 +00:00
dillon
127655f6dd
PR: kern/8965
...
Obtained from: Stephen Clawson <sclawson@cs.utah.edu>
Wakeup anyone waiting on a mount point prior to returning from umount,
whether an error occurs or not. Fixes a stat/NFS-umount race and other
potential future problems. Fix taken from bug/pr which also indicated
that the same fix has already been applied to OpenBSD and NetBSD.
1998-12-12 21:07:09 +00:00
n_hibma
fb03cef48c
Fixed warning in usr.sbin/usbd
1998-12-12 11:57:59 +00:00