simonb
ad2a80f193
Move a brace that is in the wrong position when changes from FreeBSD
...
were added in rev 1.51. This may fix the "N lost blocks" problem some
people have noticed.
Reviewed by fvdl.
2002-09-26 21:35:27 +00:00
thorpej
eaaed308cf
Compare driver name, don't check against zstty_cd.
2002-09-26 20:51:44 +00:00
thorpej
c75e60ed75
Get the pointer to the driver name early, rather than constantly
...
deferencing the cfdriver pointer.
2002-09-26 20:45:42 +00:00
bouyer
992abe6e5b
In nfsrv_create(), kill an extra PNBUF_PUT() in the NFSv2 mknod case. The
...
pnbuf has already been freed by VOP_MKNOD. This should have been removed in
rev 1.60.
Should fix PR 18013, OK'd by fvdl.
2002-09-26 20:41:25 +00:00
bouyer
7005ca7253
nfsrv_commit(): Properly handle the case cnt == 0, which means "flush to
...
end of file". Calling VOP_FSYNC with start == end triggers a DIAGNOSTIC
check. Noticed with NFSv3 Linux clients. OK'd by fvdl.
2002-09-26 20:38:04 +00:00
thorpej
e40e3c96cf
G/c extern reference to ioasic_cd.
2002-09-26 20:37:42 +00:00
thorpej
6c87786450
G/c external reference to ibus_cd.
2002-09-26 20:36:51 +00:00
thorpej
958db4d3b7
No need to check that parent's cfdriver is ioasic_cd.
2002-09-26 20:36:14 +00:00
thorpej
98f612ef11
No need to check that that parent's cfdriver is ibus_cd.
2002-09-26 20:33:25 +00:00
thorpej
7f33c64040
Get the pointer to the driver name early, rather than constantly
...
deferencing the cfdriver pointer.
2002-09-26 20:30:50 +00:00
thorpej
c12a2960bb
In sysfpgamatch(), the expression "cf->cf_driver == &sysfpga_cd" is
...
always true, so just return the constant 1.
2002-09-26 20:25:41 +00:00
thorpej
3280b330bb
Get the pointer to the driver name early, rather than constantly
...
deferencing the cfdriver pointer.
2002-09-26 20:18:24 +00:00
thorpej
88b0700853
Const poison.
2002-09-26 20:02:47 +00:00
thorpej
89dd8c023c
Get the pointer to the driver name early, rather than always dereferencing
...
the cfdriver pointer.
2002-09-26 19:04:59 +00:00
thorpej
274c086b22
Remove <sys/map.h>
2002-09-26 18:54:30 +00:00
thorpej
69de06f36a
No need to make sure parent's cfdriver == &ioasic_cd.
2002-09-26 18:30:54 +00:00
onoe
e8bc592172
Oops. forgot to delete old line in previous commit:
...
| Changed the name for resource id 0xfd45 to match the reality.
| WI_RID_OWN_BEACON_INT -> WI_RID_CUR_BEACON_INT
2002-09-26 16:58:44 +00:00
onoe
55ef0eb8b9
Changed the name for resource id 0xfd45 to match the reality.
...
WI_RID_OWN_BEACON_INT -> WI_RID_CUR_BEACON_INT
2002-09-26 16:52:44 +00:00
darrenr
aa1492743a
Fix a case where M_COPY_PKTHDR() wasn't being used prior to calling bpf_mtap
2002-09-26 16:07:03 +00:00
wiz
079c182094
Kilo abbreviation is a small k (PR 18408).
2002-09-26 15:06:47 +00:00
onoe
e3261bdc94
initialize pkthdr for dummy mbuf before calling bpf_mtap().
2002-09-26 13:06:56 +00:00
jdolecek
a120eaa3ea
use ufs_balloc_range() rather than local (mostly identical, but with some
...
bugs) ext2fs variant
2002-09-26 11:06:36 +00:00
martin
8b125f54cb
Remove include of <sys/map.h>, since it's gone now (and wasn't used
...
here anyway).
2002-09-26 08:49:34 +00:00
grant
8dca22997c
ep0 at isa? -> ep* (ala GENERIC), so ep instances during install are
...
consistent with GENERIC.
2002-09-26 07:30:17 +00:00
ad
989a076f27
Update for dzattach() change.
2002-09-26 05:54:07 +00:00
thorpej
19eeb8d563
Bump version to 1.6I -- device parent spec change.
2002-09-26 04:12:27 +00:00
thorpej
fc0fe0347d
Overhaul the way parent attachments are specified; instead of using
...
a vector of indices into the cfdata table to specify potential parents,
record the interface attributes that devices have and add a new "parent
spec" structure which lists the iattr, as well as optionally listing
specific parent device instances.
See:
http://mail-index.netbsd.org/tech-kern/2002/09/25/0014.html
...for a detailed description.
While here, const poison some things, as suggested by Matt Thomas.
2002-09-26 04:07:35 +00:00
matt
b6b04cb00c
In mftb(), make sure we say we are clobbering cr0.
2002-09-26 01:13:32 +00:00
augustss
7656699497
Remove unused variable so the file compiles again.
2002-09-25 23:24:37 +00:00
augustss
0c65ba2386
Don't install map.h now that it's gone.
2002-09-25 22:47:34 +00:00
thorpej
ca5fd3bd46
Garbage-collect the old rmap code.
2002-09-25 22:27:38 +00:00
thorpej
71404bb533
Don't include <sys/map.h>.
2002-09-25 22:21:01 +00:00
thorpej
dc5c7db69d
Don't use rmaps; use extent maps.
2002-09-25 21:58:39 +00:00
thorpej
d3f6afbf48
Don't use rmaps; use extent maps instead.
2002-09-25 21:25:39 +00:00
thorpej
233188a90d
Set extio_ex_malloc_safe at the end of cpu_startup().
2002-09-25 20:05:26 +00:00
manu
deca50b66c
Fill BADVADDR and CAUSE in sigcontext. We still don't restore them, but
...
it actually fixes a problem:
When /bin/sh gets a SIGSEGV, its signal handler calls brk and the offending
instruction is retried. Usually it gets another SIGSEGV, and things loops
until it pases without the SIGSEGV. This is the normal mode of operation, and
it can be reproduced on IRIX by a 10kB shell script starting by echo /*
However... the signal handler checks for BADVADDR in the saved registers
in struct sigcontext. If it does not find it, it gives up and exit instead
of retrying. Filling the field enables us to carry on normal operation
(which is to get dozens of SIGSEGV) instead of getting a failure at the
first SIGSEGV.
2002-09-25 19:39:16 +00:00
thorpej
da13a0afc7
Replace resource map usage with extent maps.
2002-09-25 19:30:22 +00:00
manu
7216eba62a
We now fill the struct siginfo when requested (SA_SIGINFO flag to sigaction)
2002-09-25 19:09:50 +00:00
cgd
e4cb5327e8
For ISA intrs 0-15, use string of the form "isa intr NN", rather than
...
just "isa intr". Having vmstat -i show multiple "isa intr" lines w/
different counts is less than desirable. Reviewed by thorpej.
2002-09-25 17:05:26 +00:00
darrenr
4c314b9a9f
Keep m_pkthdr.len updated correctly and use it rather than a loop to find
...
out the total length of the packet.
2002-09-25 16:10:15 +00:00
reinoud
360e94d0c9
Fix some small unclear documentation and cleanup a bit...
2002-09-25 14:21:07 +00:00
martti
81e8d78cd4
Add one space between "#option" and "<tab>IPFILTER_DEFAULT_BLOCK"
2002-09-25 11:49:48 +00:00
itojun
167b0b8ebd
minor KNF
2002-09-25 11:19:23 +00:00
itojun
9d27b7540e
one too many whitespace
2002-09-25 07:37:12 +00:00
itojun
c40ace5ea0
KNF
2002-09-25 07:24:06 +00:00
martti
15e6ca78da
Fix ipmon problems on 64-bit platforms (PR#17403 and PR#17404).
2002-09-25 06:43:17 +00:00
mycroft
5031fe3837
Update copyright.
2002-09-25 06:23:29 +00:00
mycroft
04f09a4b0c
Additional fixes to make 16 targets work on FAS366.
2002-09-25 05:19:20 +00:00
pooka
d623a21172
iwic@pci
2002-09-24 22:07:46 +00:00
pooka
218f60746c
Driver for Winbond W6692 passive ISDN cards.
...
Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.
2002-09-24 22:05:19 +00:00