christos
7d49bb5f04
Avoid buffer overflow in ioctl (from Karl Janmar)
2006-01-13 19:30:06 +00:00
chs
67a406aaae
increase NKMEMPAGES_MAX_DEFAULT to 32 MB. this is needed on sun4m machines
...
with 512 MB of RAM, and it doesn't seem to cause any problems on sun4c.
2006-01-13 15:45:56 +00:00
chs
da9fe512b2
the esp driver has been working well with tagged queuing for
...
quite some time, remove the flags that disable it by default.
add a comment describing those flags. ok'd by martin and andrey.
2006-01-13 15:15:19 +00:00
skrll
e68bcb6987
KNF a comment.
2006-01-13 08:43:11 +00:00
yamt
6af60103dc
FSFMT: whitespace.
2006-01-13 00:50:58 +00:00
yamt
eaebcf6b5b
ufsdirhash_build: yield cpu when looping on directory entries.
2006-01-13 00:50:25 +00:00
cdi
caa16c2316
Fix 'memsize' value. pmap_bootstrap() calculates it as a PROM property
...
length but it is expected to contain a number of available memory regions
(e.g. in pmap_dumpsize() and pmap_dumpmmu()).
2006-01-12 18:04:09 +00:00
cdi
1fbddee764
Fix a typo: %g0 should be used instead of %o0 when initializing FPU in dostart:
...
and cpu_mp_startup:, %o0 is not even initialized at this point.
2006-01-12 17:58:39 +00:00
gdt
6fbdb2adf5
In coda_lookup, add LK_RETRY to locking of child vnode. The previous
...
code paniced if the first attempt to lock the vnode failed, and such
failures are not errors - just cause to wait. gdt was regularly
hitting this panic.
Correct one of two identical panic messages.
Add XXX comments about
ISDOTDOT locking rules not being followed
questioning the practice of unlocking parent before locking child.
(But, given that the vnode is referenced, it can't be deleted, so
maybe this is fine.)
Why is failured to unlock not a panic but failure to lock is?
2006-01-12 14:57:06 +00:00
yamt
403fb83166
smbfs: use curlwp rather than uio->uio_lwp.
...
the latter is a garbage in the case of UIO_SYSSPACE.
PR/32499 from Juan RP.
2006-01-12 13:36:17 +00:00
tron
2d28ebdc06
Add commented out entries for BRIDGE_IPF, pf(4) and pflog(4) matching
...
the entries in "GENERIC".
2006-01-12 11:45:25 +00:00
simonb
b4dfc6efa2
Use EINVAL for an invalid interval instead of EOPNOTSUPP.
...
Pointed out by Allen Briggs.
2006-01-12 04:40:50 +00:00
christos
a26b31d72e
PR/32502: Anders Hjalmarsson: profiling (ticks) is broken on alpha
2006-01-12 00:30:59 +00:00
christos
e35d1933fb
Add SanDisk pcmcia memory card adapter. Works like an IDE drive.
...
XXX: Linux driver has a hack not to probe the slave drive. We just
create a phantom drive:
wdc0 at pcmcia0 function 0: < , Memory Card Adapter II, V1.00>
wdc0: i/o mapped mode
atabus2 at wdc0 channel 0
wd1 at atabus2 drive 0: <Memory Card Adapter II>
wd1: drive supports 1-sector PIO transfers, LBA addressing
wd1: 241 MB, 965 cyl, 16 head, 32 sec, 512 bytes/sect x 494080 sectors
wd2 at atabus2 drive 1: <>
wd2: drive supports 1-sector PIO transfers, chs addressing
wd2: 0, 0 cyl, 0 head, 0 sec, 512 bytes/sect x 0 sectors
wd2: 32-bit data port
wd2: disk label read failed
wd2: disk label read failed
2006-01-11 13:34:33 +00:00
cube
0ea99faebc
Add support for VM_TOPDOWN, and use it unconditionally (just like i386).
...
For COMPAT_NETBSD32 binaries, use VM_TOPDOWN layout too, and sync some
parameters with their i386 counterpart.
OK'd by fvdl@.
2006-01-11 09:30:45 +00:00
yamt
432eec05f5
use nestiobuf api for vnd.
2006-01-11 00:50:29 +00:00
yamt
e86cc25701
don't set b_rawblkno unnecessarily.
...
it will be set by device strategy routine.
2006-01-11 00:49:59 +00:00
yamt
58d3c6b6cd
use nestiobuf api for genfs.
2006-01-11 00:46:54 +00:00
yamt
db2c8f4e34
add nestiobuf api for convenience when splitting a request to several pieces.
2006-01-11 00:44:41 +00:00
xtraeme
8173ef37e7
AMD PowerNow LKM contributed by Olaf 'Rhialto' Seibert.
2006-01-11 00:18:28 +00:00
christos
82f14002cb
Regen
2006-01-10 20:33:31 +00:00
christos
eec1348ff2
PR/32494: Dennis Chernoivanov: Intel PRO/100 VE (LOM) not detected on Sony Vaio
2006-01-10 20:31:36 +00:00
cdi
bcaee69819
PR/32494: Add ID 0x1068 for Intel PRO/100 VE (LOM) found on Sony Vaio
...
S4HRP laptops.
2006-01-10 20:30:47 +00:00
xtraeme
036d1576c2
* Fix powernow_sysctl_helper() prototype, the argument must be
...
SYSCTLFN_PROTO.
* Cosmetics.
2006-01-10 15:31:11 +00:00
christos
1482d7ce1c
Make sure we initialize all structs to 0; from Xin LI
2006-01-09 13:04:38 +00:00
tsutsui
05394b9c36
- Shrink more functions.
...
- Adjust MEMORY_DISK_ROOT_SIZE.
2006-01-09 09:57:42 +00:00
oster
4476a2943b
rf_DiskUnlockFunc and rf_DiskUnlockFuncForThreads are never used. Punt them.
...
rf_DiskUnlockUndoFunc is in the same boat. Punt it too.
2006-01-09 01:33:27 +00:00
oster
0d6d84878e
Really move all of the bp initalization bits into InitBP().
2006-01-08 22:26:30 +00:00
dsl
a6d7f81261
Save console baud rate as both the input and output rates.
...
This is what I thought I'd done in rev 1.237
2006-01-08 22:19:59 +00:00
oster
96c9402704
For the normal (read/write) case, do all the buffer initialization
...
inside of InitBP().
2006-01-08 22:06:26 +00:00
oster
aad92944f5
Cleanup the initialization of buffers a bit, and remove some old code
...
that works around a bug that no longer exists. From yamt. Thanks!
(a bit more cleanup to follow)
2006-01-08 21:53:26 +00:00
bouyer
3c69e23dad
ctrl_if.h isn't needed here.
2006-01-08 19:00:59 +00:00
kent
225ba2620d
add some trace messages in azalia_mixer_init().
2006-01-08 16:52:42 +00:00
tsutsui
5bbcbabedf
Build and install the following bootloader binaries:
...
boot: ELF bootloader binary
boot.coff: COFF bootloader binary (for old firmware)
boot_kernel.gz: ELF bootloader binary which can include kernel binary
by mdsetimage(8) (for netboot)
2006-01-08 15:34:18 +00:00
bouyer
56b1a39e10
Move if_xennet private functions and structures from if_xennetvar.h
...
to if_xennet.c
2006-01-08 14:45:41 +00:00
tsutsui
00115740d2
Shrink RAMDISK kernel by disabling some functions.
2006-01-08 14:35:39 +00:00
tsutsui
c252c802fd
Remove duplicated veriexec options.
2006-01-08 13:13:36 +00:00
yamt
37dd42949a
clean up uvm_map evcnt code. no functional changes.
2006-01-08 09:18:27 +00:00
yamt
5bb3912ab6
raidstrategy: fix weird ENOSPC when reading from/writing to a raw partition.
2006-01-08 09:11:21 +00:00
yamt
5bca923bc4
raidioctl:
...
- don't ignore raidread_component_label error.
- remove an unnessesary memset.
2006-01-08 09:09:53 +00:00
yamt
fe3aca751f
do b_blkno -> b_rawblkno translation earlier so that bufq can use it.
2006-01-08 09:09:00 +00:00
dsl
58e614b1ca
De __P
...
Add some 'struct xxx' definitions in the else part of a '#if 0' so that
the function prototypes later down the file don't define the structure
within the argument list.
2006-01-07 18:22:25 +00:00
oster
55da57e0c1
Remove the component buffer bits, now that I know there is a
...
"private" structure in struct buf that can be used to keep track of
the request associated with this buffer (the buffer used here is one
allocated from rf_CreateDiskQueueData(), so it's ours to do with what
we please). Shrinks code a little, reduces the run-time memory
footprint a bit, and simplifies both rf_DispatchKernelIO() and
KernelWakeupFunc().
Thanks to yamt for his "why is rf_DispatchKernelIO using another buf"
question which prompted me to revisit this code.
2006-01-07 16:08:44 +00:00
peter
11addaed46
Include net/pfil.c when pf is set.
2006-01-07 14:19:51 +00:00
yamt
9c0e5c0db7
- do disk_busy/unbusy for requested i/o, rather than ones that we reuqest.
...
- on error, be conservative about b_resid.
- make vndthread static.
2006-01-07 13:25:50 +00:00
christos
a6c7e45e28
fix typo.
2006-01-07 07:18:06 +00:00
yamt
ea494c18a9
fss_cluster_iodone: don't call brelvp on non-buffercache buf.
2006-01-07 01:11:42 +00:00
yamt
2addc3084c
remove B_EINTR as it isn't used anymore.
2006-01-07 00:26:58 +00:00
uwe
24ce06fd0d
Provide PIC_EPILOGUE_SLOT that is safe to use in delay slot.
2006-01-06 22:27:53 +00:00
yamt
2fc5e44a62
remove an obsolete prototype.
2006-01-06 09:27:55 +00:00