he
27bc436921
Swap neighboring lines of callout_init() and bzero() of container
...
struct in syn_cache_add(); the bzero() invalidates whatever
callout_init() has done (which might matter, but presently doesn't).
2003-02-25 22:12:24 +00:00
thorpej
3ea6b8be93
Add missing splbio() protecting of bufpool access. Add a clarifying
...
comment to <sys/buf.h> reminding everyone of the need for splbio().
2003-02-25 21:25:40 +00:00
jrf
a2d850baf8
This addresses PR kerm/19989. Thanks to hamajima@nagoya.ydc.co.jp for submitting this patch which enables /proc/uptime for linux emul. Patch reviewed by atatat@netbsd.org and tron@netbsd.org, approved by tron@netbsd.org.
2003-02-25 21:00:31 +00:00
thorpej
eb14e86676
Add a new BUF_INIT() macro which initializes b_dep and b_interlock, and
...
use it. This fixes a few places where either b_dep or b_interlock were
not properly initialized.
2003-02-25 20:35:31 +00:00
matt
cc005c66db
Switch back to generic bzero/memset until new one is shown to work.
2003-02-25 20:15:02 +00:00
ragge
e8d062d58b
Remove bogus check for bogus netmask.
2003-02-25 14:42:30 +00:00
yamt
2bad134129
fix simplelocks
2003-02-25 13:47:44 +00:00
wiz
e04df3a3d6
Add support for '-j' to create (and extract, but -z already did that)
...
bzip2 compressed tar files, for GNU tar compatibility.
Patch from Soren Jacobsen in PR 19467, okayed by christos.
Sync usage with options while here.
2003-02-25 13:36:59 +00:00
wiz
43c2fa4e77
New sentence, new line.
2003-02-25 13:30:07 +00:00
wiz
105ad9fd29
Add libpcap.
2003-02-25 12:53:03 +00:00
dsl
9474297c7f
Clear 'big' bit of segment registers before returning to real mode.
2003-02-25 11:17:36 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
jdolecek
68f0f8227e
sprinkle VN_KNOTE()s
2003-02-25 10:33:19 +00:00
jdolecek
d423ea284d
make 'dosdirtemplate' static const
2003-02-25 10:29:12 +00:00
jdolecek
049525126a
remove the XXX comment about holes again - it appears to work fine
2003-02-25 10:14:29 +00:00
wiz
db1bc7420c
Make .Nm without arguments, but with punctuation, work.
...
Patch from Christian Limpach (chris at pin lu) on tech-userlevel.
2003-02-25 10:08:44 +00:00
pk
f82deea4bf
Fix a simple_lock() mismatch in unp_internalize().
...
We may need to merge the passes over the files contained in the message
as noted by enami tsugutomo on tech-smp.
2003-02-25 09:56:15 +00:00
jdolecek
e1ea74dfac
add __KERNEL_RCSID
2003-02-25 09:12:11 +00:00
jdolecek
f9d42ade36
add __KERNEL_RCSID()
2003-02-25 09:09:31 +00:00
toshii
6cc1deb5ca
Add recording support for emuxki(4). The patch is basically the same
...
as I submitted in PR kern/18093. Some of the patch needs refinement.
Also, only the ADC recording source is supported, because the other
sources are probably much less useful and the implementation isn't
trivial.
2003-02-25 08:48:24 +00:00
pk
b69aef5f3e
* Use fdloadfile() to avoid opening the the underlying device twice.
...
* Cleanup old stuff.
2003-02-25 08:09:30 +00:00
pk
dd87308a05
Note which network boot protocol we're trying.
2003-02-25 08:06:29 +00:00
wiz
a9f7f104b6
Split .Nm with other macro arguments on two lines.
2003-02-25 07:53:39 +00:00
atatat
524df47498
Tweak some comments so that they match the other comments more properly.
2003-02-25 05:27:35 +00:00
dyoung
595c6d88b2
Add support for Prism monitor mode. From Kevin Lahey
...
<kml@patheticgeek.net>.
This patch does NOT add monitor mode support for the Lucent radios.
awi(4) was only modified for compatibility with the new mediaopt.
It does NOT support monitor mode.
Tested by Kevin, Daniel Carosone, and I.
2003-02-25 01:57:35 +00:00
dyoung
9b203bb525
Step 0 of adding Prism monitor mode: name the firmware command for
...
setting up manufacturing test modes. Name the sub-command for
turning on monitor mode.
2003-02-25 00:56:35 +00:00
dyoung
eb7810a127
Disable interrupts before ACKing them to avoid the obvious race.
2003-02-25 00:51:14 +00:00
fvdl
e3a92065e8
Fix another off-by-one, this time in the current KVA limited as maintained
...
by pmap_growkernel.
2003-02-25 00:48:00 +00:00
dyoung
0691446706
Following implementation for other RIDs, read the driver's notion
...
of the fragmentation threshold instead of the hardware's notion.
2003-02-25 00:47:11 +00:00
simonb
a2bdcc915e
Cast result of pgo_put() to (void) as is the style with other calls to
...
pgo_put() in UVM.
Pointed out by Andrew Brown.
2003-02-25 00:22:20 +00:00
dsl
4552b31f45
Clear 'big' bit of descriptors (%ss in particular) before switching to
...
16bit mode. Otherwise the 32bit %esp and (probably) %ebp are used for
stack accesses. (stupid cpu design!)
(approved by christos)
2003-02-24 23:23:14 +00:00
thorpej
73fe03a9d6
Comment out the inclusion of <uvm/uvm_extern.h> -- the header is not
...
necessary.
2003-02-24 22:12:57 +00:00
tron
b554323473
From FreeBSD: Fix an off-by-bit error in the AGP_MODE_[GS]ET_RATE() macros.
...
This fixes PR kern/20480 by Quentin Garnier.
2003-02-24 21:59:52 +00:00
tron
e583f5d9f4
Don't match a PCI graphics card in a system which supports an AGP.
...
Patch supplied by Quentin Garnier in PR kern/19256.
2003-02-24 21:56:00 +00:00
jdolecek
4f6180461f
switch to hash32_strn() from <sys/hash.h> as the hash function -
...
former smbfs_hash() may have accessed memory past buffer (ouch!), and accessed
memory in alignment-unsafe way
as an added bonus, hash32_strn() appears to have better distribution
2003-02-24 21:52:53 +00:00
jdolecek
b0c6be8be5
add XXX comment regarding holes - they are not handled properly
...
in write, this needs to be fixed eventually (unless it would work
by luck)
2003-02-24 21:29:48 +00:00
jdolecek
968351dd0d
g/c smbfs_hashprint()
2003-02-24 21:27:55 +00:00
jdolecek
c672cc0379
make sure sr_bcount, sr_rqtid and sr_rquid are wrote in alignment-safe way
...
problem pointed out by Martin Husemann
while here, turn some checks/SMBERROR()s to #ifdef DIAGNOSTIC panic()s
2003-02-24 21:13:13 +00:00
christos
580397c542
back-out previous; it was wrong.
2003-02-24 20:03:02 +00:00
christos
29cd3b6180
fix memory leaks.
2003-02-24 19:58:09 +00:00
jdolecek
695a1f63b5
const-poison a bit
2003-02-24 19:32:16 +00:00
jdolecek
9a9493a698
make M_SMBRQ static
2003-02-24 19:31:45 +00:00
erh
dadb4ce1cf
Fix uninitialized variable "notglob" in send_file_list() that was causing
...
transfers to fail due to an abort in free().
2003-02-24 19:26:49 +00:00
erh
6697099535
Fix uninitialized variable in mlsname()
2003-02-24 19:25:25 +00:00
jdolecek
0c3d39c642
enable mmap and seek vnode ops - this makes mmap(2), lseek(2),
...
p{read,write}{,v}(2) work
2003-02-24 19:09:02 +00:00
briggs
899f04df9b
Bump rescuetiny's ramdisk to match tiny's.
2003-02-24 18:59:26 +00:00
jdolecek
26d1332b7c
since smbfs_fctx.f_fname is always used as 'char', may as well define it
...
that way rather than u_char
2003-02-24 18:45:35 +00:00
jdolecek
b5a66cd65b
use pool to allocate memory for smbfs nodes
...
rename smbfs_uninit() to smbfs_done()
some whitespace fixes + use FREE() (not free()) for MALLOC()ed memory
2003-02-24 18:41:04 +00:00
jdolecek
6d0edf1d1b
smbfs_lookup():
...
* make sure islastcn and lockparent is set before used when the entry is cached
* add VWRITE check for nameiop == RENAME, add necessary unlock/relock for
ISDOTDOT case
adjust smbfs_print() to have slightly nicer output
enable vnode locking
2003-02-24 16:19:05 +00:00
briggs
9a152e34ad
Define smb_co_lockstatus iff DEBUG || DIAGNOSTIC.
2003-02-24 16:12:08 +00:00