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
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
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
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
jdolecek
ba728ab921
smbfs_node_alloc():
...
* use LK_RETRY for the vget()
* turn the check for dead parent vnode to #ifdef DIAGNOSTIC panic
* reformat the hash walk code a little, and only assign vp if entries match
* add some comments
2003-02-24 15:55:08 +00:00
pk
a8bd073e6f
pv_unlink4m(): don't forget to link in a new PV entry after alias checking.
2003-02-24 15:14:51 +00:00
nakayama
3fd1afa7af
Add quirk to probe I-O DATA USB-SC2 as umass.
...
(tested on sparc64 and i386)
2003-02-24 13:11:55 +00:00
nakayama
b818704815
Regen.
2003-02-24 13:07:52 +00:00
nakayama
89f39fecfa
Add I-O DATA USB2-SC (USB2.0-SCSI Bridge)
2003-02-24 13:06:45 +00:00
jdolecek
70c11e3518
one #include <sys/lock.h> is enough; keep the #ifdef _KERNEL one
2003-02-24 11:18:03 +00:00
pk
d71686ab26
Introduce fdloadfile() to load an image from an open file descriptor;
...
implement loadfile() in terms of it.
This allows clients to open a file once and "load" it multiple times (e.g.
first with COUNT_KERNEL, then with LOAD_KERNEL) without the side-effects
of multiple open calls.
2003-02-24 10:51:05 +00:00
jdolecek
d82babe73c
include <sys/lock.h> to get struct simplelock
2003-02-24 10:18:38 +00:00
jdolecek
a7a5a493b5
SMBERROR() purge - turn into #ifdef DIAGNOSTIC panics
2003-02-24 10:01:02 +00:00
jdolecek
38b6d81ba3
update for changed locking requirements for smb_share_put()
2003-02-24 09:57:31 +00:00
jdolecek
31a056fdaf
clarify locking requirements for smb_{share,vc,co}_{rele,put}() - the lock
...
must be held on entry
drain the lock in smb_co_gone(), so that it's done always
turn some SMBERROR()s to #ifdef DIAGNOSTIC/DEBUG panics
2003-02-24 09:55:37 +00:00
jdolecek
da9a088d46
SMBERROR() purge - replace with KASSERT()s, panic or remove altogether
...
as appropriate
2003-02-24 09:30:42 +00:00
jdolecek
d8ab9af5e5
need <sys/mount.h> now
2003-02-24 09:18:56 +00:00
perseant
95137c8477
Add lfs_ioctl vnode op, with ioctls to take over cleaner system call
...
functionality (not including segment clean, since that is now done
automatically as checkpoints happen).
2003-02-24 08:42:49 +00:00
perseant
bd6cf7e127
Allow filesystems' VOP_IOCTL to catch ioctl calls on directories and
...
regular files. Approved thorpej, fvdl.
2003-02-24 08:34:30 +00:00
matt
4f493fc42d
Zero bss in start, not in initppc.
2003-02-24 08:06:42 +00:00
matt
8609ed56b8
Only define KERN_AS= object if IDENT has -DLKM.
2003-02-24 07:15:40 +00:00
matt
97d38cdec2
Actually use bzero.S. Also fix bzero to use GET_CPUINFO
2003-02-24 07:14:17 +00:00
matt
05a4c83a70
Don't make memset.c since bzero.o has memset in addition to bzero.
2003-02-24 07:09:18 +00:00
matt
8c1eaadb7a
automatic aggregates are evil. make it static const.
2003-02-24 03:01:03 +00:00
atatat
83642bd3a6
Cast VM_DEFAULT_ADDRESS() to a caddr_t.
2003-02-24 00:49:43 +00:00
thorpej
20c4b7b844
Change pcb32_pagedir to a paddr_t (after all, it's used as a paddr_t
...
everywhere in the code).
2003-02-23 23:40:01 +00:00
enami
37d7d10857
Remember the allocated ptimer object so that it won't leak.
2003-02-23 23:36:35 +00:00
simonb
a5781fdcdf
Add LFS support for i386. Tested with a "newfs_lfs -A -O 256" root
...
filesystem.
2003-02-23 23:25:50 +00:00