christos
efff5f0097
PR/22849: Sean Boudreau: rtrequest() w/ RTM_DELETE not honouring netmask
...
as it does w/ RTM_ADD.
2004-09-29 21:19:33 +00:00
yamt
77b63b73b8
g/c NFSMINOFF, which is unused and identical with MRESETDATA.
2004-09-29 11:24:28 +00:00
yamt
81378f8ab8
- mbuf external storage is of (caddr_t), not (caddr_t *).
...
- remove a needless cast.
2004-09-29 11:22:03 +00:00
soren
8d969498b4
Correct the names of a few system types.
2004-09-29 07:37:02 +00:00
sekiya
d66ecfb68e
Allow arguments to as/ld to be specified in the kernel config file. Provide
...
a mechanism to override ranlib.
2004-09-29 06:03:03 +00:00
sekiya
faa2f31603
Abbreviate identification message to fit in 80 columns.
2004-09-29 05:13:39 +00:00
sekiya
0603553bbb
Compile the 64-bit bootloader.
2004-09-29 04:57:31 +00:00
sekiya
77aa58c5b4
Use 64-bit-clean addition/subtraction opcodes for pointer arithmetic iff
...
_LP64 is defined.
2004-09-29 04:45:26 +00:00
mrg
7f549a8679
allow the LED blinker to be disabled via do_blink.
2004-09-29 04:45:05 +00:00
sekiya
d12d5dc3e0
Add a table mapping IPxy to ABI and load address.
2004-09-29 04:27:41 +00:00
sekiya
551d2b9aa9
Use ANSI function declarations.
2004-09-29 04:06:51 +00:00
sekiya
6f2cb625f4
Use C-style comments.
2004-09-29 03:21:14 +00:00
sekiya
8c64b0776c
Various fixes:
...
* clean up EISA detection logic,
* really fix config_found_ia() usage (from drochner@),
* sprinkle a bit of KNF.
2004-09-29 03:11:28 +00:00
sekiya
6a4c72d1af
Add COMPAT_20
2004-09-29 02:50:42 +00:00
reinoud
a64c647b71
Cleanup of main config file:
...
1) Fix small indenting issues
2) Removal of audio* at ... and midi* at ... entries and replace all them with
audio* at audiobus?
midi* at minibus?
3) Adding of USB audio/midi and IrDa entries
2004-09-28 23:39:37 +00:00
reinoud
8faf51b906
Note that point 32 (ddb output to msgbuf) is Work In Progress and is about
...
to be committed after more testing and cleanup/review.
2004-09-28 23:02:58 +00:00
reinoud
7f6b7d1a06
wdc shadow registers need to be initialised later.
...
Request pullup for 2-0 nessisary?
2004-09-28 22:12:06 +00:00
reinoud
ce5f43b0de
Add an item to help developers without serial consoles.
2004-09-28 19:54:27 +00:00
jdolecek
decdc3f95c
regen - now using wrapper for shmget(2)
2004-09-28 19:05:58 +00:00
jdolecek
f64366a240
add flag for shmget(2) to specify that later shmat(2) for the shared memory
...
segment should succeed even if the segment would be marked removed; use this
to implement the Linux-compatible semantics of shmat(2)
this fixes the old Linux VMware3 graphics problem with local display,
and possibly other local Linux X clients using MIT-SHM
2004-09-28 19:05:19 +00:00
bouyer
b31a120195
Add a WD_QUIRK_FORCE_LBA48 quirck, which forces all access to use LBA48.
...
Use it for ST3200822A, which has a broken firmware and return an error
when accessing sector 0xfffffff with a LBA command.
Patch tested by David Brownlee.
2004-09-28 18:22:33 +00:00
jdolecek
68ee548306
fold shmat1() back into sys_shmat(), the change in rev 1.64 is not sufficient
...
for Linux-compatible shmat() behaviour - shmat() for the removed shared memory
segment must work from all callers, the shared memory id could be passed e.g.
to native X server via MIT-SHM
temporarily remove the functionality, the Linux-compatible semantics
will be reimplemented differently
2004-09-28 17:26:25 +00:00
yamt
5735ef17ab
ex_add_rxbuf: use MRESETDATA macro.
2004-09-28 11:35:21 +00:00
yamt
478d44cb16
ath_getmbuf: check MCLGET failure.
2004-09-28 11:34:37 +00:00
jdolecek
3254cd78d8
adjust the change of rev. 1.190 so that trap signals not matching
...
the reset condition are processed properly; this fixes PR#26687 by
Jan Schaumann
many thanks to Mark Davies, who tracked the offending change down
and helped test patches
while here, g/c unused sigtrapmask and rearrange some code to pre-r1.190 form
for better readability
2004-09-28 08:59:20 +00:00
itojun
b637834754
m->m_next check here is not needed, since we make no assumption on m_len below,
...
and key_align() may chop mbuf into multiple mbufs.
from freebsd via kame
2004-09-28 04:24:54 +00:00
dyoung
e2727a9d0b
Add several new DLTs. From tcpdump.org.
2004-09-28 03:34:21 +00:00
dyoung
1b319e72be
Simplify the BSSID synchronization code.
2004-09-28 00:42:11 +00:00
dyoung
34a3fbf64e
"RB_PROTOTYPE();" does not lint because you end up with two
...
consecutive semicolons, so let's use RB_PROTOTYPE() alone.
2004-09-28 00:14:02 +00:00
martin
d297b5849e
Fix $NetBSD$ tag typo. From Sean Davis in private mail.
2004-09-27 15:22:42 +00:00
christos
d7f20abdc1
Disable autonicetime. As discusses in tech-kern.
2004-09-27 14:08:13 +00:00
martin
8be55501e5
Use PRId64 and PRIu64 to print 64 bit integers. Problem noticed by Sean Davis.
2004-09-27 07:56:14 +00:00
yamt
a47bee9f77
don't expose cpu_info to userland.
2004-09-26 21:44:26 +00:00
skd
25b218cbd7
Fix Yukon ram sizing.
...
Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap.
Lower interrupt moderation timer to (improves performance).
Improve chip identification. (from linux sk98lin driver).
Keep tx queue running by kicking the tx bmu repeatedly.
2004-09-26 14:23:58 +00:00
chris
906b93ef09
Fix for cd disklabel issues on arm machines.
...
Because we no longer return an error message when no disklabel was found
the scsipi/cd.c code took the label we generated. The problem is that the
readdisklabel code was clearing the partition information, which included
the default partition information setup by the cd.c code. Previously when
no disklabel was found we returned an error, which caused the cd.c code to
generate a new default label which included an a partition.
According to the man page for readdisklabel:
Unspecified fields in lp should be set to zero
Therefore we have no reason to clear the partition info, as it's already
clear or contains useful default partition info.
This means if we don't find a label on disk, the default label is left as
is. I would expect the driver to have setup a much more sensible default
label than we could fake at this level.
Also don't hard code the number of partitions to the maximum. This better
matches other platforms (i386)
2004-09-26 11:57:53 +00:00
dogcow
f3084b1ba9
Fix debug message output args to match yamt's src/sys/sys/buf.h changes.
2004-09-26 09:00:37 +00:00
dyoung
f5fc723f2b
Add rtw(4).
2004-09-26 03:03:17 +00:00
dyoung
517a54fd17
Add Cardbus, PCI bus front-ends for RTL8180 802.11b MAC/baseband.
2004-09-26 02:33:36 +00:00
dyoung
3e9bdb9662
Add work-in-progress driver rtw(4) for Realtek RTL8180 MAC/baseband.
...
Add register definitions for Maxim MAX2820 and Philips SA2400 radio
front-ends.
2004-09-26 02:29:15 +00:00
yamt
6c61c34a27
remove an unneeded #include.
2004-09-26 00:26:14 +00:00
yamt
857913deac
include sys/cpu_data.h only if defined(_KERNEL)
2004-09-25 22:08:48 +00:00
chris
223a229a7a
Following a discussion with dsl, revert the last change.
...
A better fix will be forth coming.
2004-09-25 18:54:36 +00:00
chris
c0ffe8e4d5
When reading the disklabel if we fail to find one, return an error.
...
This should fix PR's 26564 and 26809.
This allows CD installs on cats to work, as a cdxa partition is now
faked, so sysinst can mount it.
This does go against changes made for PR 21408, as it will cause the error
cd0: no disk label
to appear when running disklabel cd0.
Really readdisklabel's API should be updated to allow better error returns,
such that the driver can choose to fake the label, if readdisklabel didn't
find one.
2004-09-25 18:24:55 +00:00
thorpej
aae3f1ca07
Add wedges support to the MSCP disk driver.
2004-09-25 16:44:30 +00:00
chris
47ccffe876
Fix compile if DKWEDGE_AUTODISCOVER isn't defined.
...
(only tested with GENERIC cats kernel)
2004-09-25 16:42:15 +00:00
thorpej
ecb2cb3112
Add support for wedges to the RL01/RL02 disk driver.
...
XXX Can't do autodiscovery here, since we can't do I/O in rlattach().
2004-09-25 16:27:38 +00:00
thorpej
dbb3225d5b
Can't actually auto-discover wedges here yet, because ed drives are
...
not attached with interrupts enabled, meaning we can't do the required
I/O. Add a comment to this effect.
2004-09-25 16:13:42 +00:00
tsutsui
2e988c7c99
- spc is now MI.
...
- Remove obsolete hp300 devices.
2004-09-25 12:31:19 +00:00
he
48936f8f33
Add another set of braces in initialization to track factoring out
...
of MI cpu_data.
2004-09-25 12:24:53 +00:00
tsutsui
036acd9295
Use ANSI function decls.
2004-09-25 11:58:19 +00:00
yamt
7c63ceab48
don't expose cpu_info and friends to userland.
2004-09-25 11:08:47 +00:00
tsutsui
a5c60861e8
Sprinkle DELAY(1)'s in several busy loops to avoid excessive bus access.
...
Inspired by OpenBSD.
2004-09-25 10:47:29 +00:00
tsutsui
30e4125256
On manual xfer via TEMP register, set PCTL_BFINT_ENAB and check
...
bus free by INTS register. spc_intr() also checks the INTS_DISCON bit.
2004-09-25 10:36:15 +00:00
tsutsui
45d871e0fb
In spc_intr(), return 0 if the interrupt is not for spc(4).
2004-09-25 10:32:15 +00:00
tsutsui
dc28263470
Use manual xfer via TEMP register in status phase even on x68k.
...
Some devices do not transfer data with proper way on status phase
and it causes bus error in spc_datain_pio() which uses auto xfer
via DREG register on weird x68k hardware.
2004-09-25 10:15:36 +00:00
tsutsui
ae6239f109
Use ANSI function decls.
2004-09-25 09:46:17 +00:00
heas
afe3b1d559
Add TWE_OP_PROBE, which probes (and attaches) a port/drive. It's argument
...
is bytes 9 & 10 of the twe_cmd where the bit set corresponds to the port to
probe + 1 (ie: port 0 == 0x1).
2004-09-25 08:27:47 +00:00
thorpej
281037afd6
Add support for wedges to the OpenFirmware disk driver.
2004-09-25 05:21:03 +00:00
thorpej
2a671cfd0e
Add support for wedges to the MCA ESDI disk driver.
2004-09-25 04:47:02 +00:00
thorpej
46cfcf0eb8
Add support for wedges to the logical disk driver.
2004-09-25 04:28:08 +00:00
yamt
49fe2034a3
uvm_map_printit:
...
- print wired_count if available.
- fix a printf format.
2004-09-25 04:19:38 +00:00
thorpej
72b84bf041
Add support for wedges to the SCSI disk driver.
2004-09-25 04:11:23 +00:00
thorpej
cc79c7aeb0
Add support for wedges to the ATA disk driver.
2004-09-25 03:34:02 +00:00
thorpej
baefaf4422
Work-in-progress implementation of "wedges", a new way to represent
...
partitions in the NetBSD kernel. See discussion on tech-kern for details.
2004-09-25 03:30:44 +00:00
thorpej
f9684c51b5
Definitions for the EFI GUID Partition Table partition table format.
...
From FreeBSD.
2004-09-25 03:29:32 +00:00
yamt
17dfcbf73e
fix a typo in a comment.
2004-09-25 03:05:23 +00:00
nathanw
3a5631a0b6
PXA255 has 85 GPIO pins, not 81.
...
(The first revision of the manual listed the wrong number, although it had
all 85 in the table).
2004-09-24 17:30:22 +00:00
he
9f596d4761
Since the implementation of bsd_to_linux_statfs64() is conditional,
...
also make the forward declaration conditional. Fixes compile
problem for m68k ports.
2004-09-24 13:10:46 +00:00
yamt
43a9ac14d6
__UNCONST: add parens around a macro argument.
2004-09-23 22:13:40 +00:00
tron
ce2c46e673
Because "paddr_t" is not a pointer type initialize "pa" to 0 and not NULL.
2004-09-23 21:30:36 +00:00
tron
bcb61538fb
Initialize variable "pa" to NULL in pmap_extract() to fix a compiler
...
error while building a debug kernel. Problem pointed out by S.P.Zeidler
on "port-amiga" mailing list.
2004-09-23 21:10:31 +00:00
yamt
139aa9db9e
a little safer impl of __UNCONST, using __typeof__ if __GNUC__.
2004-09-23 17:40:16 +00:00
tsutsui
ef820af6db
Rename if_mec_mace.c -> if_mec.c.
...
This file contains not only an attachment but whole driver functions.
2004-09-23 14:45:20 +00:00
yamt
ac65f2420a
nfs_readdirplusrpc: fix spurious EBUSYs.
2004-09-23 10:46:44 +00:00
yamt
832a9b868e
release kernel lock in uiomove().
2004-09-23 10:45:08 +00:00
he
f42ec45764
Install the new cpu_info.h and cc_microtime.h headers to allow
...
lib/libkvm to build.
2004-09-23 10:06:21 +00:00
tls
849c42925b
Changes from Christian Limpach to improve timekeeping on NetBSD/xen by
...
actually adjusting the time correctly (calling hardclock as needed, not
just blindly every time Xen schedules us) based on Xen's idea of the
time in the shared page.
Xen source repo change info:
ChangeSet
2004/09/22 13:47:22+01:00 cl349@freefall.cl.cam.ac.uk
Fix time.
netbsd-2.0-xen-sparse/sys/arch/xen/xen/clock.c
2004/09/22 13:47:21+01:00 cl349@freefall.cl.cam.ac.uk +28 -3
Don't call hardclock on spurious timer interrupt and call hardclock
for missed interrupts.
netbsd-2.0-xen-sparse/sys/arch/xen/conf/XEN
2004/09/22 13:47:21+01:00 cl349@freefall.cl.cam.ac.uk +0 -1
Don't need custom HZ value any longer.
: ----------------------------------------------------------------------
2004-09-23 02:24:22 +00:00
heas
9d64f3ebc8
Take the modulus of the AEN queue tail number rather than the mask of. Now
...
the tail pointer advances properly.
2004-09-23 01:16:34 +00:00
heas
ad8109e2b5
Typo in define; PhysSectorNym -> PhysSectorNum
2004-09-23 01:14:50 +00:00
enami
633ef38973
Create kernel thread and let it to issue the write request. We can't
...
do this from trace target process since we can't sleep at certain
trace point (otherwise system may hang). Address PR#23155.
2004-09-22 22:15:03 +00:00
kent
54cf6460d6
ac97_host_if::reset() returns non-zero value if codec reset fails, and
...
ac97 is not attached in that case.
PR: kern/26973
2004-09-22 12:20:24 +00:00
lukem
e0c9340497
Add "unmounting disks..." [unmount] " done" to vfs_unmountall(),
...
so the user has some idea what's occurring after "syncing disks... done"
2004-09-22 11:47:23 +00:00
yamt
d2fe4b34bb
move some per-cpu data definitions to MI place so that they can be modified
...
without touching all ports. discussed on tech-kern@.
2004-09-22 11:32:02 +00:00
yamt
96d1da145d
fix printf formats to match with sys/buf.h 1.75.
2004-09-22 09:56:18 +00:00
yamt
52f0c217f7
introduce M_EXT_RW to allow mbuf external storage R/W.
...
discussed on tech-net@.
2004-09-21 21:57:30 +00:00
thorpej
d01a5a57e8
Regenerate for VNODE_LOCKDEBUG changes.
2004-09-21 03:11:53 +00:00
thorpej
11afd11faa
Add a new VNODE_LOCKDEBUG option, which enables checks in the VOP_*()
...
calls to ensure that the vnode lock state is as expected when the VOP
call is made. Modify vnode_if.src to set the expected state according
to the documenting lock table for each VOP. Modify vnode_if.sh to emit
the checks.
Notes:
- The checks are only performed if the vnode has the VLOCKSWORK bit
set. Some file systems (e.g. specfs) don't even bother with vnode
locks, so of course the checks will fail.
- We can't actually run with VNODE_LOCKDEBUG because there are so many
vnode locking problems, not the least of which is the "use SHARED for
VOP_READ()" issue, which screws things up for the entire call chain.
Inspired by similar changes in OpenBSD, but implemented differently.
2004-09-21 03:10:35 +00:00
thorpej
14a961d318
Fix a mis-placed wdc_init_shadow_regs().
2004-09-21 02:46:46 +00:00
jdolecek
81ed8f7972
move definition of linux_fsid_t to common/linux_types.h - it's identical
...
across all Linux archs
2004-09-20 18:51:55 +00:00
jdolecek
43b3feff28
regen:
...
implement support for Linux statfs64() syscall - 64bit variant of statfs()
2004-09-20 18:42:23 +00:00
jdolecek
110cc1cc61
implement support for Linux statfs64() syscall - 64bit variant of statfs()
2004-09-20 18:41:07 +00:00
jdolecek
845beacce3
add 'mounts' file for -o linux, which lists all currently mounted
...
filesystems; Linux glibc statvfs() uses this to get some of mount flags,
and this file is also useful as /emul/linux/etc/mtab (via symlink)
2004-09-20 17:53:08 +00:00
drochner
a8f458743f
Replace the last spurious ISACF_IRQ_DEFAULT.
2004-09-20 17:31:57 +00:00
drochner
231121a8df
another pointless ISACF_IRQ_DEFAULT - that's just
...
a -1
2004-09-20 17:00:39 +00:00
drochner
96f4400c0c
remove an occurence of ISACF_DRQ_DEFAULT where it doesn't
...
belong
(I didn't find where this piece of code is made use of,
likely stale stuff.)
found by Havard Eidnes
2004-09-20 16:57:27 +00:00
scw
ac3ac35ecb
MPC8xx DC_CST is SPR 0x238, not 0x230.
...
Reported by Jared Momose in private email.
2004-09-20 11:29:19 +00:00
simonb
74b1235f26
Fix a typo in a comment.
2004-09-20 07:32:02 +00:00
christos
dbac2396e8
Add a linux_fsid_t typedef for the ports that don't have architecture dependent
...
linux_types.h. Fixes sparc build.
2004-09-20 03:21:40 +00:00
chs
b242249052
add driver for harmony audio. from openbsd, adapted for netbsd by me.
2004-09-19 23:03:34 +00:00
chs
b42337cb2a
fix optimized compilation.
2004-09-19 23:00:29 +00:00
he
cf6b002f48
Fix build problem -- track the change to <sys/buf.h>.
2004-09-19 19:09:24 +00:00
jdolecek
48373456d4
Adjust struct statfs content to flag that the newer Linux kernel do
...
provide f_frsize. It cannot be actually used to GNU C statvfs() bug
in f_frsize != f_bsize case, so just keep pretending we don't support it.
Update comments and explain the situation in detail there.
2004-09-19 16:50:11 +00:00
jdolecek
2580579147
move definition of struct linux_stafs to common/linux_types.h, and use
...
explicit size types - the structure definition is actually identical
on currently support COMPAT_LINUX archs, so no point to have 6 copies of it
in the tree
2004-09-19 15:06:32 +00:00
yamt
ec18670e28
fix printf formats to match with sys/buf.h rev.1.75.
...
PR/26994 from Andreas Wiese.
2004-09-19 12:22:22 +00:00
yamt
cc047d3821
um_maxfilesize should be set after
...
ffs_oldfscompat_read adjusted fs_maxfilesize.
2004-09-19 11:58:29 +00:00
mycroft
7ef0686963
If our enqueue failed -- because we're polling and there is already something
...
in the queue -- do not attempt to requeue it. We only poll in two cases:
1) We have a non-interrupting controller. In this case, execution of the
previous command should have left the queue empty. (Perhaps there should be
a KASSERT() to this effect.)
2) We're in the shutdown path, either doing a cache sync or a dump. In these
cases, the retry behavior is useless, because we will no longer get
interrupts to notify us that the earlier commands completed. Instead we
just spin for a few seconds and fail anyway. (XXX We should probably clear
the queue explicitly so that the shutdown/dump will succeed.)
2004-09-18 18:49:50 +00:00
mycroft
b89029809c
Since we always defer probing SCSI and ATAPI devices now, we can never be
...
"cold" -- so change the check for this to a KASSERT().
2004-09-18 18:29:00 +00:00
mycroft
007ffe47ec
Oops; eliminate the EJUSTRETURN return value from scsipi_execute_xs(). Don't
...
know how this worked when I tested it.
2004-09-18 18:00:05 +00:00
yamt
22399b45d0
change some members of struct buf from long to int.
...
ride on 2.0H.
2004-09-18 16:40:11 +00:00
yamt
3362d4ed5b
fix allocbuf() O(n**2) behaviour where n is number of AGE buffers
...
by always tracking amount of buffers on a queue.
bump to 2.0H.
2004-09-18 16:37:12 +00:00
yamt
0a9623de9c
call PFIL_IFADDR hooks where appropriate.
2004-09-18 16:04:41 +00:00
yamt
2bf1a4ef17
- add missing function prototypes.
...
- fix prototype mismatches.
2004-09-18 16:01:03 +00:00
martin
06e56dc6b2
Add support for PCI-X version of LSI FC929; from Bert Kiers in PR kern/26836.
2004-09-18 08:52:50 +00:00
martin
9d347457c2
Regen (FC929X added)
2004-09-18 08:48:29 +00:00
martin
7a56ae33d2
Add LSI FC929 (aka FC929X); from PR kern/26836.
2004-09-18 08:47:46 +00:00
jdolecek
3e385f3b90
vinumioctl():
...
actually, those return statements were reachable, so put them back to the
appropriate case statements, and add some break statements for readability
2004-09-18 07:38:26 +00:00
itohy
05d92b70c7
Make sure the string dollar NetBSD doller is stored literally.
2004-09-18 03:32:30 +00:00
mycroft
18f4edd320
We don't need to handle the "cold" flag here.
2004-09-18 02:21:33 +00:00
mycroft
7e54a3ad57
If we need to poll, set SCSIPI_ADAPT_POLL_ONLY rather than a homegrown flag.
2004-09-18 02:18:39 +00:00
mycroft
a7aa9498f3
Minor rearrangement. Whitespace and #include cleanup.
2004-09-18 00:21:03 +00:00
mycroft
8f93b96f00
Standardize some variable names and the calling pattern for scsipi_command().
...
Use void pointer casts.
2004-09-18 00:08:16 +00:00
itohy
829103b30f
Make it work again.
...
Hi, drochner!
2004-09-17 23:59:33 +00:00
mycroft
1e243afe67
Remove the "xfer" argument to scsipi_command().
2004-09-17 23:43:17 +00:00
mycroft
cdc20e6ce8
In places where we've already called scsipi_make_xs(), call scsipi_execute_xs()
...
directly rather than going through scsipi_command().
2004-09-17 23:35:13 +00:00
enami
006eb65868
s,contro,&l, in a comment.
2004-09-17 23:32:09 +00:00
mycroft
ba781da1dc
Change the way bustype_cmd is used. Rather than having it be responsible for
...
calling scsipi_make_xs() and scsipi_execute_xs(), instead push these into
scsipi_command. Make bustype_cmd and PHOLD/PRELE be called from
scsipi_execute_xs(). This allows us to create a xfer structure -- possibly on
the stack -- and call scsipi_execute_xs() directly.
2004-09-17 23:30:22 +00:00
enami
53d0cedc9f
Put the type of p_tracep back to void *; it is an implementation detail and
...
no need to expose to the rest of kernel.
2004-09-17 23:26:42 +00:00
enami
23114636eb
Delete m_tag from a mbuf being non-pkthdr mbuf rather than newly becoming
...
pkthdr mbuf.
2004-09-17 23:24:03 +00:00
enami
6d7958ac59
Minimal support for mirror component. The relation between original and
...
mirror component learned from FreeBSD driver.
2004-09-17 23:21:53 +00:00
enami
a3eb2d5952
- proc_alloc() already initializes p_stat to SIDL.
...
- copy unconditionaly inherited p_flag bits in a single place.
2004-09-17 23:20:21 +00:00
mycroft
bd9548b268
Oops; fix ssrestart().
2004-09-17 23:13:02 +00:00
mycroft
8b6c2af171
Do not manipulate xs->bp in "generic" code -- do it only in the psw_done
...
routine. As part of this, pass down our pre-parsed error code -- though this
interface will probably change later to accomodate better error handling.
2004-09-17 23:10:50 +00:00
enami
45bae472de
Whitespace nit.
2004-09-17 23:04:02 +00:00
enami
41122731c8
Redo part of rev. 1.10.
2004-09-17 21:54:28 +00:00
yamt
9555030270
make free page queue filo rather than fifo.
...
data in pages freed more recently are more likely on cpu cache.
2004-09-17 20:46:03 +00:00
jdolecek
9acf283bdf
vinum_super_ioctl(): refuse unknown ioctls, rather than pretending
...
success; this fixes panic caused by null pointer dereference in
spec_open() after DIOCGPART ioctl call and PR bin/26981 by Simon Hitzemann
while here, also remove not reachable return statements, and also
return EINVAL for ioctl to unknown DEVTYPE()s
XXX vinum code is !@#$%^
2004-09-17 19:21:03 +00:00
itojun
0f8f9a1f56
deal with PCMCIA_TPCE_IO_RANGE_ADDRSIZE_NONE and
...
PCMCIA_TPCE_IO_RANGE_LENGTHSIZE_NONE properly. enami
solves kern/26726.
2004-09-17 18:42:41 +00:00
xtraeme
37db99c68f
Regen for GeForce FX 5700 LE.
2004-09-17 18:05:27 +00:00
xtraeme
0c35004c2f
Add GeForceFX 5700 LE and regen.
2004-09-17 16:04:17 +00:00
skrll
f7155e40f6
There's no need to pass a proc value when using UIO_SYSSPACE with
...
vn_rdwr(9) and uiomove(9).
OK'd by Jason Thorpe
2004-09-17 14:11:20 +00:00
yamt
4c7a64e02d
make this compile with OHCI_DEBUG without EHCI_DEBUG.
2004-09-17 10:55:07 +00:00
bouyer
cdc0918196
In case of error, reset the channel with AT_RST_NOCMD. We know the reset
...
won't abort any command at this point.
2004-09-16 20:52:43 +00:00
drochner
ea827e5146
forgot one ISACF_*_DEFAULT conversion, noticed by Nick Hudson
2004-09-16 16:08:27 +00:00
ragge
405ff27fa4
Regen.
2004-09-16 13:09:59 +00:00
ragge
b592635459
Add S2io 10 Gigabit ethernet adapter.
2004-09-16 13:08:51 +00:00
martin
657b6abe1d
Do not count ipackets twice. From Dave Barnes in PR port-i386/26906.
2004-09-16 10:02:59 +00:00
he
e1ca5516de
Remove reference to now-deleted aoutm68k_ioctl.c.
2004-09-16 09:35:38 +00:00
rumble
b1a9752c01
Correct a few comment typos that have propagated through the
...
tree.
2004-09-16 03:57:10 +00:00
thorpej
64c6842169
The pss driver has a comment at the top saying that it won't
...
even compile, so don't bother trying.
2004-09-15 15:54:23 +00:00
drochner
5f7699c047
oops, another typo, should fix report by taya
2004-09-15 15:49:10 +00:00
yamt
6f3db818ea
ufs_getlbns:
...
- fix an integer overflow when calculating lbns of indirect blocks.
- remove a redundant calculation of blockcnt.
2004-09-15 09:52:49 +00:00
yamt
e11d5e7c46
fix access-after-free bugs in dircache code by refcounting nfsdircache.
...
PR/26864.
2004-09-15 09:50:56 +00:00
yamt
0ea22c32fa
fix ipqent pool corruption problems. make tcp reass code use
...
its own pool of ipqent rather than sharing it with ip reass code.
PR/24782.
2004-09-15 09:21:22 +00:00
drochner
f3872a35ff
actually pass the locators,
...
should fix panic reported by Shin'ichiro TAYA
2004-09-15 09:10:42 +00:00
drochner
0e76692948
fix a botched function header,
...
should fix build problem reported by Tom Javen
2004-09-15 09:01:53 +00:00
scw
17d7b87515
It helps to call fpu_sqrt() when dealing with the frsqrte instruction.
2004-09-15 07:04:21 +00:00
tls
95c72fc3de
Add 50Hz support -- this will allow 'options NTP' to work on the Xen port,
...
once the Xen port's timer interrupts are made somewhat more sane (it "works"
now, but keeps worse time than without the option, ouch)
2004-09-15 04:56:14 +00:00
tls
74ec9a5fcc
Actually mix samples into the kernel RNG pool. There's a buglet here: all
...
disk samples are reported as belonging to the first disk.
2004-09-15 04:55:21 +00:00
thorpej
483ec9af85
Remove the COMPAT_AOUT LKM build infrastructure. The code is gone,
...
now.
2004-09-14 22:12:06 +00:00
drochner
2db688402b
adapt to ISA "unknown address" namespace separation (purely mechanical,
...
as far as "grep" reaches)
2004-09-14 20:32:48 +00:00
drochner
1134c44162
adapt to ISA "unknown address" namespace separation
2004-09-14 20:25:05 +00:00
drochner
1308c6d767
Separate the namespace for default (ie unspecified) locators used
...
by the isa.c bus driver and the "address/whatever not specified"
argument passed to leaf device drivers.
The former is "ISACF_XXX_DEFAULT" as generaterd by config(8), the latter
"ISA_UNKNOWN_XXX", defined in isavar.h.
This way we save a dependency of every ISA device driver on "locators.h".
2004-09-14 20:20:46 +00:00
drochner
61ac7027b3
include "locators.h" explicitely (don't rely on isavar.h doing so)
2004-09-14 19:57:37 +00:00
drochner
a91f239c72
fix botch in config_found conversion, found by Stefan Krueger
2004-09-14 18:57:35 +00:00
jdolecek
52c9439e95
regen:
...
remove all alternative path check code, and (empty) ioctl wrapper
2004-09-14 17:40:59 +00:00
jdolecek
c2e4e13382
remove all alternative path check code, and (empty) ioctl wrapper
2004-09-14 17:39:18 +00:00
drochner
edb77e2a6d
include "locators.h" explicitely where it is needed, so that
...
it can be removed in the isavar.h header eventually
2004-09-14 17:38:30 +00:00
jdolecek
e6e73849a5
g/c rest of COMPAT_AOUT support
2004-09-14 17:25:37 +00:00
jdolecek
023551ef44
gc opt_compat_aout.h include
2004-09-14 17:20:29 +00:00
drochner
863cb326e8
replace 7 identical instances if cfprint functions by a single one
2004-09-14 17:19:34 +00:00
jdolecek
80a2cb5245
rename 'sp' variable to 'ap' in adosfs_pathconf(), so that it matches other
...
filesystems and avoid silly pastos
2004-09-14 16:59:40 +00:00
jdolecek
120bb37404
remove COMPAT_AOUT
2004-09-14 16:57:31 +00:00
jdolecek
3ea04717bf
do not include "compat/aout/files.aout", COMPAT_AOUT is soon to be removed
2004-09-14 16:51:57 +00:00
simonb
553aeff41f
Remove the remains of an old comment that doesn't apply any more.
2004-09-14 15:19:35 +00:00
drochner
6453b0fcb2
fix wrong asm .end names which caused assembler warnings,
...
from Nicolas Joly per PR port-alpha/26945
2004-09-14 11:27:22 +00:00
skrll
d8390279f9
Fix typos/pastos.
2004-09-14 10:58:45 +00:00
simonb
c5b66303ed
White space nit.
2004-09-14 09:00:24 +00:00
simonb
35817977ee
Remove an unused event counter.
2004-09-14 08:40:26 +00:00
simonb
357f38915a
Tidy up a little.
2004-09-14 08:22:33 +00:00
lukem
ade2bb0154
Whitespace tweaks.
...
Remove vendor RCSID, since it's out of sync already (due to manual patches).
2004-09-14 00:38:37 +00:00
lukem
90a0bf7bae
Use ieee80211_find_rxnode() function instead of ieee80211_find_node()
...
and ieee80211_ref_node(). From Damien Bergamini.
2004-09-14 00:35:10 +00:00
lukem
25429a05fb
Correctly synchronize DMA mapping for transmission buffer descriptors.
...
From Damien Bergamini.
2004-09-14 00:34:19 +00:00
lukem
8c838d97d0
Improve monitor mode support. From Damien Bergamini
2004-09-14 00:32:55 +00:00
lukem
9e6574e2c2
Add IEEE802.11 radiotap support. From Damien Bergamini.
2004-09-14 00:31:20 +00:00
lukem
2cc0c73c82
Whitespace tweaks from Damien Bergamini.
...
Whitespace tweaks by me.
Remove vendor RCSID, since it's out of sync already (due to manual patchs).
2004-09-14 00:27:26 +00:00
fvdl
2a1aa1e67d
Remove some devices (sync with i386).
2004-09-13 22:33:47 +00:00
jdolecek
f16bab2269
bsd_to_linux_statfs():
...
- filesystem size is expressed in number of fragments, not blocks;
this fixes computed filesystem sizes for Linux df(1) and other Linux
binaries using statfs(2) for filesystems, which use different value
for frament and block, such as FFS
- use FS f_namemax instead of always using MAXNAMLEN
2004-09-13 20:09:44 +00:00
jdolecek
a6894024dd
dostatvfs(): zero the statvfs structure before calling filesystem code, so that
...
unset parts would have defined value and not pass random parts of kernel stack
2004-09-13 20:02:20 +00:00
jdolecek
c407d0a5ca
copy_statvfs_info(): copy f_namemax too
2004-09-13 19:45:21 +00:00
jdolecek
caffd8ef28
set mp->mnt_stat.f_namemax on filesystem mount for use by statvfs, and use
...
the value for also pathconf(_PC_NAME_MAX) to keep the two in sync
2004-09-13 19:25:48 +00:00
jdolecek
2993272a0c
set mp->mnt_stat.f_namemax on filesystem mount, for use by statvfs
2004-09-13 19:19:44 +00:00
drochner
df80bed99c
put EISA attachment specific code inside "#if NPCEB > 0",
...
to avoid references to EISA variables if "pceb" is not defined in
kernel configurations, and save some bytes
tested by Havard Eidnes (or his colleague:-)
2004-09-13 18:42:59 +00:00
drochner
11ff62378b
add "joy"
2004-09-13 17:26:28 +00:00
drochner
103deb3575
use config_found() instead of config_found_sm() if no submatch
...
function is used
2004-09-13 15:14:12 +00:00
drochner
a02e2488a0
autoconf cleanup: turn xxxsubmatch() functions into the locator
...
passing variants
2004-09-13 14:57:31 +00:00
drochner
a48272e3d0
pass locators to tlsbsubmatch()
...
XXX the "offset" locator is unused appearently, assume that "0"
is a sensible value
2004-09-13 14:48:46 +00:00
drochner
cb1ceb0bce
remove "pcibus" and "isabus" from "mainbus" -- neither of them
...
attaches directly
cleanup a comment
2004-09-13 14:38:37 +00:00
drochner
b1ce7363e0
clean up the questionable use of sabtty_match() as submatch function
...
(with no useful contents), and implement a real submatch function instead
2004-09-13 14:32:38 +00:00
drochner
6c73a9561e
nothing attaches to a "sabtty", so there is no need for an
...
interface attribute
2004-09-13 14:29:38 +00:00
drochner
2578f8fc3c
remove unused variable
2004-09-13 14:08:39 +00:00