tls
0ac3367f2a
Improvements to xbdback (the domain 0 driver that provides "xbd" virtual
...
disks to other domains) from Jed Davis, <jld@panix.com>:
* Issue multiple requests when necessary rather than
assuming that arbitrary requests can be mapped into single
contiguous virtual address ranges.
* Don't assume that all data for a request is consecutive
in memory. With some client OSes, it's not.
The above two changes fix data corruption issues with Linux
clients with certain filesystem block sizes.
* Gracefully handle memory or pool allocation failures after
beginning to handle a request from the ring.
* Merge contiguous requests to avoid the "64K turns into 44K + 20K
and doubles the transactions per second at the disk" problem
caused by the 11-page limit caused by the structure of Xen
ring entries. This causes a very slight performance decrease
for sequential 64K I/O if the disk is not already saturated with
requests (about 1%) but halves the transactions per second we
hit the disk with -- or better. It even compensates for bizarre
Linux behaviour like breaking long requests up into 5.5K pieces.
* Probably some stuff I forgot to mention.
Disk throughput (though not latency) is now much, much closer to the
"raw hardware" case than it was before.
2005-07-17 08:23:43 +00:00
christos
210844e5e7
Increase the default datasize limit to 2GB.
2005-07-17 05:29:54 +00:00
christos
9213de1869
catch up with verified exec defopt changes.
2005-07-17 05:22:34 +00:00
rpaulo
ca2db1fe2b
If the DEC board name is not known, remove the leading whitespace in
...
sc_name.
This closes PR#30458.
ok'ed Jason Thorpe.
2005-07-17 00:44:13 +00:00
hubertf
673730506c
Add support for reading cloop2 compressed filesystem image,
...
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.
2005-07-17 00:08:27 +00:00
wiz
beb8063c6a
Remove duplicate IPSEC_NAT_T line introduced in previous.
2005-07-16 23:20:00 +00:00
christos
15d0a3d10e
Say what sbp is.
2005-07-16 22:54:34 +00:00
christos
b5890013d6
Defopt VERIFIED_EXEC*
2005-07-16 22:50:15 +00:00
christos
1510fe1543
defopt verified_exec.
2005-07-16 22:47:18 +00:00
christos
da48256d5a
Don't depend on #ifdef VERIFIED_EXEC
2005-07-16 22:44:59 +00:00
christos
ba9d68d01a
Add __UNCONST.
2005-07-16 21:59:12 +00:00
macallan
4adcd89999
added dbri audio driver
2005-07-16 19:02:45 +00:00
macallan
3f858509a1
add dbri audio driver
2005-07-16 19:00:39 +00:00
macallan
71b0921a17
driver for the audio part of SUNW,DBRI ISDN/audio controllers
2005-07-16 18:58:49 +00:00
christos
ec94556f97
Revert previous; this needs to be fixed differently.
2005-07-16 17:53:36 +00:00
christos
94087acf22
Don't leak kernel external variables to userland. This file is included
...
from <sys/sysctl.h>.
2005-07-16 17:50:26 +00:00
christos
d4ddc2a3d4
Don't define __indr_reference() for lint.
2005-07-16 17:41:05 +00:00
uwe
065e2422b3
Match HP 620LX. Tested by Christer Andersson.
...
XXX: platid_mask_MACH_HP_LX also matches 360LX. It's not confirmed
whether touch panel in 360LX is connected in the same way. We may
need to regroup platid masks.
2005-07-16 16:36:23 +00:00
rtr
c19cae9065
change output from "rogue" to "quirks apply" - resolves pr#25387
2005-07-16 05:12:26 +00:00
yamt
d7714c3b58
#ifdef out an unused variable in the case of !WI_DEBUG.
2005-07-16 04:06:39 +00:00
yamt
e9e22b28eb
genfs_getpages: don't forget to put the vnode onto the syncer's work queue
...
even in the case of PGO_LOCKED.
2005-07-16 03:54:08 +00:00
grant
c48841dcc1
fix typo in comment
2005-07-16 01:54:27 +00:00
he
14bbdadd3d
The ANSIfication unconvered that we were calling devlookup() with
...
an extra argument. It seems to be correct just to drop the last arg.
2005-07-15 23:15:00 +00:00
he
bc29f36ac6
The new function name is (for now, I gather) config_found_sm_loc(),
...
and not config_found_sm().
2005-07-15 23:10:36 +00:00
dyoung
8e16397dbf
Add a sysctl for turning wi(4) debugging on and off.
...
Do not print the number of tx commands outstanding on entrance to
wi_cmd_intr unless wi_debug > 1.
2005-07-15 22:33:29 +00:00
christos
af815c7633
propagate martin's fix in the syscall_plain version. It does not make any
...
sense to print the syscall return part of syscall debug when we did not
print the syscall enter portion.
2005-07-15 13:38:08 +00:00
martin
949b9f4b51
Ooops, gcc was right - *ap could have been used uninitialized (when
...
getargs() failed) - pointed out by Juergen Hannken-Illjes.
2005-07-15 12:34:46 +00:00
yamt
1eb847c433
evtchn_do_event: enable interrupts while calling interrupt handlers.
2005-07-15 09:16:23 +00:00
martin
9295914697
Shutup gcc - it eroneously thinks *ap might be used uninitialized.
2005-07-15 09:00:15 +00:00
yamt
cdc5b954fc
include cardbus/pcmcia.
...
XXX 32bit cards don't work due to the way how xen handles
pci configuration space.
2005-07-15 07:56:22 +00:00
thorpej
29af9583d2
Use ANSI function decls.
2005-07-15 05:01:16 +00:00
simonb
bf458186f4
White space KNF nit.
2005-07-15 03:59:31 +00:00
uwe
06814ceede
Keyboard translation for HP 620LX. Data and testing on an
...
"International English" (#ABB) unit from Christer Andersson.
US version (#ABA) uses the same primary layer layout as far as I can
figure from keyboard pictures, so this table should work for those
machines too.
2005-07-14 19:50:29 +00:00
christos
6388180b87
make this compile again.
2005-07-14 12:35:08 +00:00
wiz
4351be5dd1
Fix typo in comment, from Nicolas Joly in PR 30743.
2005-07-14 11:59:53 +00:00
christos
773f5f5489
rearrange free's and add a missing one.
2005-07-14 02:36:49 +00:00
dyoung
1aeb04f480
Clear IEEE80211_F_DROPUNENC in ic_flags in operating states where
...
the NIC decryptes & decapsulates WEP frames before passing them to
the host. "Remember" the state of IEEE80211_F_DROPUNENC in
sc_ic_flags, though, and try our best to honor it as we setup the
hardware state.
This is the second patch of this kind. The previous patch was
badly broken because wi_mend_flags was basing its decision to clear
IEEE80211_F_DROPUNENC based on the operating state we were
transitioning FROM instead of the state we were transitioning TO.
This fixes a bug that Simon Burge reported, where dhclient wi0
would not get a lease unless and until you ran 'ifconfig wi0'
concurrently (which would frob the IEEE80211_F_DROPUNENC bit in
the right way). This patch was tested by Simon with his Toshiba
Lucent-clone.
2005-07-14 00:28:51 +00:00
kiyohara
f269226eb8
obsolete fwiso.
2005-07-13 17:09:33 +00:00
kiyohara
6bc3e43515
It mistook to remove fwbus.
2005-07-13 16:57:44 +00:00
christos
4b7fea5dd1
Handle the case where systrace is used in 32 bit emulation on a 64 bit system.
...
In this case, systrace may modify the arguments to the syscall, so we need
to copy them back. Restructuring the code a bit avoids an unnecessary argument
copy loop in the regular case.
2005-07-13 15:16:39 +00:00
wiz
1c72ab4674
Remove duplicate "only". Reported by Giorgos Keramidas in PR 30738.
2005-07-13 15:08:24 +00:00
cube
606552e84c
Rework sunos32_execv{,e} after removal of netbsd32_execve2.
...
XXX COMPAT_SUNOS32 needs a SUNOS32PTR64() macro.
2005-07-13 12:49:32 +00:00
cube
86f97cc446
Do the CHECK_ALT_EXIST dance again in netbsd32_execve(). It was lost in
...
previous commit.
2005-07-13 11:55:19 +00:00
cube
e13e6c14c7
netbsd32_execve2() doesn't exist anymore.
2005-07-13 11:53:57 +00:00
mrg
d53dd8a3f3
rename shadowing variable delay to nowdelay.
2005-07-13 11:28:58 +00:00
christos
190b607a00
Add missing const. Reported by Allar Ritter in tech-kern.
2005-07-13 04:24:26 +00:00
macallan
2d61a640d4
fixed a glitch that would trigger a warning when compiled without tctrl.
...
Doesn't make much sense since tctrl is on the same chip but anyway.
2005-07-13 01:42:06 +00:00
uwe
75d8bdf000
XXX: kludge around constification fallout.
...
No way I'm dealing with constification of C++ code!
2005-07-12 23:21:54 +00:00
christos
00a78ed413
Delete define for sunos_syscall_intern.
2005-07-12 22:45:11 +00:00
christos
8fac7adf53
change trapframe to trapframe64 in the md_syscall prototype to fix 32
...
bit kernel builds.
2005-07-12 21:13:14 +00:00
sekiya
f71fdbe340
Add config goo for ath. Tested with a PCI card, detected as:
...
ath0 at pci0 dev 10 function 0
ath0: interrupting at ioapic0 pin 17 (irq 5)
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36M bps 48Mbps 54Mbps
ath0: mac 5.9 phy 4.3 radio 3.6
Cardbus untested, so it is commented out.
2005-07-12 20:22:45 +00:00
martin
e14ba58310
When returning 64bit values (from netbsd32_lseek) fix up the return
...
value vector (of 32bit values, most likely) via a MD macro.
2005-07-12 15:06:17 +00:00
he
a3607bd3a5
This port also needs it's own sunos_machdep.h.
2005-07-12 13:41:34 +00:00
drochner
cf8cd48224
tell bpf radiotap consumers that the FCS is appended
2005-07-12 12:51:03 +00:00
drochner
2837deee7b
pad radiotap header to ensure alignment
2005-07-12 12:46:37 +00:00
drochner
a33487a69f
fixes from FUKAUMI Naoki. Changes are
...
> Enable WEP (software engine).
> Add support for WPA[12].
> Print modes and rates.
> Add new devices.
> And some small changes and bug fixes.
2005-07-12 12:13:00 +00:00
drochner
2ad51c3738
regen
2005-07-12 12:10:41 +00:00
drochner
d7736f2487
update some wlan adapter information, from
...
http://damien.bergamini.free.fr/ral/list.html via FUKAUMI Naoki
2005-07-12 12:10:18 +00:00
cube
e937141b42
Regen (*xattr(2)).
2005-07-12 07:46:19 +00:00
cube
728e5e01bd
Add the *xattr(2) family of syscalls. Just like the *extattr(2) family,
...
they're waiting for an actual FS back-end to be tested, but are still
straightforward enough.
2005-07-12 07:45:34 +00:00
yamt
d01f5b39f6
specify dma direction hints for bus_dmamap_load_mbuf.
2005-07-11 21:42:58 +00:00
cube
0477abe883
Regen (rasctl(2)).
2005-07-11 20:18:52 +00:00
cube
241e7db4d5
Add rasctl(2). Thanks to the regression tests for that syscall, I was able
...
to discover the bugs in netbsd32_setitimer() and netbsd32_execve().
2005-07-11 20:18:05 +00:00
cube
355bcba766
Split sys_execve() and add execve1() that does most of the work, and takes
...
as an argument a function that will retrieve an element of the pointer
arrays in user space. This allows COMPAT_NETBSD32 to share the code for
the emulated version of execve(2), and fixes various issues that came from
the slow drift between the two implementations.
Note: when splitting up a syscall function, I'll use two different ways
of naming the resulting helper function. If it stills does
copyin/out operations, it will be named <syscall>1(). If it does
not (as it was the case for get/setitimer), it will be named
do<syscall>.
2005-07-11 20:15:26 +00:00
cube
08fd92bac5
Split sys_getitimer and sys_setitimer to make it possible to share the
...
relevant code with the COMPAT_NETBSD32 version, and make the latter use
the new functions.
This fixes netbsd32_setitimer() which had drifted from the native syscall
and did not work properly anymore.
2005-07-11 19:50:42 +00:00
drochner
fbdec13c62
reduce the last commit to its essence; the rest was
...
not so helpful
2005-07-11 18:31:12 +00:00
dyoung
5d0039996f
Synchronize ieee80211_find_vap, ieee80211_find_instance.
2005-07-11 17:15:30 +00:00
kiyohara
c1a84a4d12
ieee1394 import from FreeBSD.
2005-07-11 15:29:05 +00:00
martin
f9f7a9ee11
Make sure we get the SUN4U version of the sparc frame.h defines.
...
(Otherwise frame32 is undefined and compilation of the netbsd32 lkm
fails.)
2005-07-11 15:03:56 +00:00
christos
79de18714f
PR/30720: Nicolas Joly: compilation failure with ACPI_FDC_DEBUG
2005-07-11 14:40:00 +00:00
christos
25e2fae9e9
Add a sunos_machdep include file to deal with MD implementations of
...
sunos_syscall_intern.
2005-07-11 13:14:49 +00:00
christos
2f382743c1
Add m68k sunos_machdep.h
2005-07-11 13:13:56 +00:00
christos
3e061b04ef
new file
2005-07-11 13:05:33 +00:00
dyoung
55512dd5b2
Add undefined variable 'ic' to rtw_attach.
2005-07-11 06:01:42 +00:00
uwe
51d0cd96db
Implement syscall_intern for sh3.
2005-07-10 22:27:20 +00:00
thorpej
f5546fc71e
Move the rest of the extattr stuff into vfs_xattr.c
2005-07-10 22:10:00 +00:00
thorpej
9c6adeffa0
Regen:
...
Add Linux-compatible {,fl}{get,set,list}xattr() system call interface
to the VFS extended attribute subsystem.
2005-07-10 22:05:24 +00:00
thorpej
ccbebfaaf1
Add Linux-compatible {,fl}{get,set,list}xattr() system call interface
...
to the VFS extended attribute subsystem.
2005-07-10 22:04:20 +00:00
dyoung
ac7254c1e3
Cosmetic: the '_type' argument to ATH_LOCK_IMPL and family is more
...
properly called '_obj'.
2005-07-10 19:07:39 +00:00
christos
61a46bc6b1
pass the code out of getargs, so that ktracing __syscall using syscalls
...
works.
2005-07-10 19:05:47 +00:00
dyoung
c23eb30613
Bring an_newstate up-to-date with net80211 conventions. Now an(4)
...
works again. Jonathan Perkins reported the bug and tested the
patch.
2005-07-10 19:04:00 +00:00
christos
f1f78efdd1
Now that sparc has syscall intern, no need to define it here too.
2005-07-10 17:02:51 +00:00
christos
aed9aed801
- add syscall_{plain,fancy}
...
- make it use mi_userret
2005-07-10 17:02:19 +00:00
christos
dac018add9
More syscall_intern lossage.
2005-07-10 16:45:33 +00:00
christos
24d0f10c0f
define sunos_syscall_intern now that sparc needs it.
2005-07-10 16:40:49 +00:00
cube
0057da6efa
NOFOLLOW should be passed to NDINIT() instead of FOLLOW for lstat(2).
...
Reported by Martin Husemann.
2005-07-10 16:34:53 +00:00
uwe
b044b5b620
Cosmetic: drop leading underscores from the volatile keyword.
2005-07-10 16:24:29 +00:00
uwe
496eb1f350
Cosmetic: use uintN_t, drop leading underscores from the volatile
...
keyword, use extern in function declarations.
2005-07-10 16:21:01 +00:00
martin
17668059a3
Add siginfo based signal delivery.
2005-07-10 16:15:19 +00:00
macallan
d091c8c1bb
added Tadpole TS102 SBus-PCMCIA bridge driver (tslot) and a couple of PCMCIA card drivers
2005-07-10 15:49:12 +00:00
macallan
8d4c3dfddd
added Tadpole TS102 SBus-PCMCIA bridge driver (tslot)
2005-07-10 15:47:37 +00:00
martin
d6c7a12fb5
Fix COMPAT_NETBSD32 ucontext padding and move the definition next to the
...
(sparc) original.
2005-07-10 15:44:23 +00:00
cube
4a8942e74c
Regen.
2005-07-10 14:32:35 +00:00
cube
7e3a28a419
Add support for fsync_range(2).
2005-07-10 14:32:16 +00:00
cube
cbb77bc452
The comment listing the arguments of fsync_range(2) wrongly described
...
"length" as an int. It is an off_t.
2005-07-10 14:26:02 +00:00
cube
c6a5f27efa
Regen.
2005-07-10 11:29:35 +00:00
cube
b01a57e4ce
Implement __clone(2).
2005-07-10 11:28:58 +00:00
cube
91598566dc
Report changes from sys_wait4().
2005-07-10 11:28:03 +00:00
christos
b132d4d5fd
Fix typo
2005-07-10 09:22:56 +00:00
martin
ba7a82bf5c
Add SUPPORT_DHCP - otherwise bootp does not work (packet is too short for
...
root-path). From Christos.
2005-07-10 08:40:21 +00:00
dyoung
9e9d2907ec
Cosmetic: reunite a comment with the code it describes.
2005-07-10 08:12:50 +00:00
dyoung
0e4587ae92
Bug fix: reset saw_bss when we start iterating over a new interface's
...
nodes, so that we list every interface's ic_bss node, instead of
listing only the first interface's.
2005-07-10 08:11:40 +00:00
christos
9f68247977
Turn on dhcp support.
2005-07-10 06:40:35 +00:00
christos
4a35068121
Small correction to skd's patch from darren.
2005-07-10 05:49:38 +00:00
christos
7460ad1f15
matt asked for his 32<->64 debugging back.
2005-07-10 05:17:37 +00:00
christos
bafe6873ac
Remove sparc from the delinquent ports. The standard culprits are still
...
present of course.
2005-07-10 04:35:38 +00:00
christos
ecc4f71237
define syscall again.
2005-07-10 04:23:30 +00:00
christos
ec1dc88c1d
define syscall here.
2005-07-10 04:20:34 +00:00
christos
67f3bd4030
don't define syscall() here because the archs that don't have syscall_intern
...
yet, define syscall with different signatures in trap.c
2005-07-10 04:19:14 +00:00
christos
3439f8bdc3
move some more code out to getargs to match the upcoming sparc.
2005-07-10 02:34:42 +00:00
christos
415655638b
Forgot to add this.
2005-07-10 01:58:57 +00:00
thorpej
4457fd076f
Defflag UFS_DIRHASH.
2005-07-10 01:08:52 +00:00
christos
4d0656f353
include the _32 flavor of the machdep file too.
2005-07-10 00:56:19 +00:00
christos
6667cfbdab
We have syscall_intern now.
2005-07-10 00:56:01 +00:00
christos
df1b79805d
don't declare syscall and syscall_intern.
2005-07-10 00:54:54 +00:00
christos
1e568eda97
Re-factor syscall, and make it use syscall_{plain,fancy}.
2005-07-10 00:50:16 +00:00
christos
f1461c7e8a
No point in declaring syscall_intern and syscall in a zillion places.
2005-07-10 00:45:52 +00:00
thorpej
175c3312a8
- Use ANSI function decls.
...
- Sprinkle some static.
2005-07-10 00:18:52 +00:00
cube
16e20b37d6
Regen.
2005-07-09 22:40:34 +00:00
cube
57017881b4
Implement pselect(2) and pollts(2).
2005-07-09 22:40:13 +00:00
cube
0056ee71b1
Make netbsd32_select() use selcommon() instead of a gross copy/paste of
...
the old sys_select() code.
2005-07-09 21:58:09 +00:00
christos
20dd96aff1
Don't drop fragments that are smalled than the ip header size. From skd
2005-07-09 14:51:11 +00:00
xtraeme
997ffdbad9
Move ipl.h into the ipfilter block, which is the right place.
2005-07-09 14:15:11 +00:00
christos
d39684a368
make the isdn drivers compile again with -Wconst, -Wshadow
2005-07-09 02:05:09 +00:00
thorpej
76fd10b45a
Move VFS extended attribute support to its own file.
2005-07-09 01:05:23 +00:00
cube
0d4567cd91
Regen.
2005-07-08 22:22:19 +00:00
cube
01f1f7ce7d
Add mlockall(2) and munlockall(2).
2005-07-08 22:21:43 +00:00
cube
e1c5d71d3d
Regen
2005-07-08 21:40:26 +00:00
cube
dfc332d6df
Implement the extattr(3) family of syscalls.
...
XXX However, those remain untested as there are currently no backend for
XXX extattr(9) in NetBSD.
2005-07-08 21:39:39 +00:00
thorpej
3429324371
Whitespace tweaks.
2005-07-08 16:13:32 +00:00
thorpej
99c4ea1319
- Use ANSI function decls.
...
- Liberally apply static.
2005-07-08 05:07:31 +00:00
tron
b7be5e481c
Defopt IPSEC_NAT_T.
2005-07-07 19:34:51 +00:00
thorpej
9beb4d2c61
Remove the __packed__ attribute from these structures. Everything is
...
naturally aligned anyway, and __packed__ just causes the compiler to
generate slower code.
2005-07-07 19:02:11 +00:00
thorpej
0be3d66be4
Apply const and static where appropriate.
2005-07-07 18:43:47 +00:00
drochner
a8dbed44ea
tighten the autoconf constraints by passing the atapi/ata/ata_hl attribute
...
to config_found()
(after some cleanup we might be able to kill SCSIPI_BUSTYPE_*)
2005-07-07 17:51:31 +00:00
drochner
4a286e2d41
-tighten the autoconf constraints by passing the atapi/scsi attribute
...
to config_found()
(after some cleanup we might be able to kill SCSIPI_BUSTYPE_*)
-remove scsipiprint() -- the parts which make it differ from
scsiprint()/atapiprint() were unreachable anyway
2005-07-07 17:27:37 +00:00
tron
04b9c3437f
Add (commented out) IPSEC_NAT_T option.
2005-07-07 17:05:46 +00:00
nonaka
ba180bf75f
Added EMODE cache operation.
2005-07-07 16:56:50 +00:00
tron
58b513c9f5
Defopt IPSEC_NAT_T.
2005-07-07 16:00:56 +00:00
christos
d9a0117f1e
Back to using curproc in the VLNK case when uiop->uio_procp == NULL,
...
and explain why we need to.
2005-07-07 14:26:37 +00:00
tron
17c8267bba
Fix typo which broke the build of kernels with support for 586 and
...
686 class CPUs.
2005-07-07 13:20:53 +00:00
christos
66e17a310f
add a missing const.
2005-07-07 12:57:03 +00:00
yamt
300f70f6e0
handle tx buffer exhaustion.
2005-07-07 12:01:25 +00:00
pooka
b0e100a5fc
match & attach Panasonic 50" Touch Panel
2005-07-07 09:59:37 +00:00
pooka
520b2cddab
regen for panasonic tp
2005-07-07 09:59:09 +00:00
pooka
1a814357c3
add panasonic 50" touch panel
2005-07-07 09:58:23 +00:00
christos
c7f5a1fb60
1. use p = uio->uio_procp consistently and eliminate suspicious uses
...
of curproc (where uio->uio_procp should be used?). Don't do this
for nfs_commit(), because yamt says it is possibly wrong.
2. nfs_doio() does not use struct proc; remove it and the code to compute it.
3. use copyin_proc() and copyout_proc() instead of copyin() and copyout().
4. check return of copyout_proc(). and mark return from copyin_proc() XXX
5. Eliminate check p == curproc assertion check from nfs_write;
nfs_read does not have it and we might be called in a different
process context anyway (PR 20138).
2005-07-07 02:05:03 +00:00
dyoung
0b81c10899
Cosmetic: use the idiom &ic->ic_nw_keys[0] instead of ic->ic_nw_keys,
...
just be a little more parallel to &ic->ic_nw_keys[IEEE80211_WEP_NKID]
on the same line.
2005-07-07 00:43:01 +00:00
dyoung
86283b24c9
Don't write WEP keys to the chip unless it is enabled.
...
Suspend and restart the transmit/receive engines while writing WEP
keys.
2005-07-07 00:12:22 +00:00
christos
ac0ee9b2c0
Allow F{G,S}OWN to succeed on a tty that has no session associated with it,
...
and it is not the controlling tty. This change allows us to use SIGIO on
a non-controlling tty (eg. debug ntpd with a refclock on a tty).
2005-07-07 00:01:32 +00:00
dyoung
83a9bf2c5c
Historically, an(4), ath(4), atw(4), rtw(4), and wi(4) have printed
...
out their modes and rates at boot. Revert to the historical
behavior.
2005-07-06 23:58:14 +00:00
dyoung
707b2b4ae1
Avoid an unnecessary API difference between NetBSD and FreeBSD:
...
back out my change to ieee80211_crypto_encap that made it free its
mbuf argument on error. I had thought it was a bug. It was not.
It's the drivers that are broken. Make an(4), atw(4), ipw(4),
iwi(4), ral(4), rtw(4), ural(4), and wi(4) free the mbuf when
ieee80211_crypto_encap returns NULL. Also, return ath(4) to the
way it was---i.e., free the mbuf.
Thanks to Sam Leffler to pointing out my mistake.
2005-07-06 23:44:15 +00:00
thorpej
f44b62c49d
Collect vmcmd statistics.
2005-07-06 23:08:57 +00:00
christos
de124326cb
Make copy{in,out}_proc work on all processes (including curproc) by
...
special-casing the curproc case. Use copy{in,out}_proc directly instead
of checking for curproc each time. Discussed with thorpej.
2005-07-06 22:30:42 +00:00
kleink
c6cc410a70
Addendum to previous: copyin_proc() must not be used on curproc.
2005-07-06 20:56:49 +00:00
kleink
e3c2a9c2f6
Use copyin_proc() to peek for trailing zeroes in sections, as we might be
...
running in a different context (i.e. a process tracing).
2005-07-06 20:31:33 +00:00
fair
97be9dc692
disable the use of TSC on Cyrix CPUs and document why:
...
When powersave mode is enabled, the TSC stops counting while the CPU is halted
in idle() waiting for an interrupt. This means we can't use the TSC for
interval time in microtime(9), and thus it is disabled here.
It still makes a perfectly good cycle counter for program profiling, so long
as you remember you're counting cycles, and not time. Further, if you don't
mind not using powersave mode, the TSC works just fine, so this should really
be optional. XXX
2005-07-06 20:29:16 +00:00
junyoung
6b3daf3992
Remove unused #define.
2005-07-06 19:31:04 +00:00
junyoung
d151b9e857
Remove unused #define and trailing spaces.
2005-07-06 19:29:50 +00:00
junyoung
a52d20370c
Remove unused #define.
2005-07-06 19:27:50 +00:00
junyoung
1fb48c245e
- Do not mix C-style comments and assembly-style comments.
...
- Remove unused #define.
2005-07-06 19:24:08 +00:00
thorpej
d697722880
A few tweaks to magic symlinks:
...
- Add a @{var} syntax in addition to @var. This allows for patterns like
@{ostype}-@{osrelease}-@{machine_arch}.
- Add a @emul variable that expands to the process's emulation name
(e.g. "netbsd", "netbsd32", "linux", etc.)
2005-07-06 18:53:00 +00:00
fair
c0ca9de9a9
move
...
microtime_func = cc_microtime;
to a point after the CPU-specific setup routine is called because some of them
"turn off" the TSC because it's broken on those platforms, or not suitable
for use as an interval timer.
One such platform is the Cyrix/NSC Geode processor; when powersave mode is
enabled, the "hlt" instruction stops the TSC too. It continues to be perfectly
reasonable for program profiling as a cycle counter in this mode, but it is
unsuitable for interval time keeping (time doesn't stop just because you're
asleep or napping), and, for now, we don't have a separate flag to make this
distinction - we just test for the presence of TSC to enable cc_microtime().
2005-07-06 18:35:39 +00:00
junyoung
4f4cb6f0b3
Add another case we can skip boot wait.
2005-07-06 18:12:31 +00:00
bouyer
a5bc956f51
Always allow open() on the raw partition to succeed, even if any of the
...
SCSI command in cdopen() fails. Fix PR kern/30288 by Pavel Cahyna.
2005-07-06 14:28:39 +00:00
macallan
b105560197
sysmon_* attributes for device tctrl
2005-07-06 12:16:35 +00:00
macallan
2e4b899a81
forgot the $NetBSD header
2005-07-06 11:42:53 +00:00
macallan
f4a919f68e
Add support for the TS102 PCMCIA controller found in SPARCbooks
2005-07-06 11:40:27 +00:00
macallan
d3e4755bf5
changed envsys support to use the sysmon API, added support for the power
...
button ( see powerd(8) )
2005-07-06 11:31:16 +00:00
junyoung
1b3dbc9530
If no hard disks are present, do not wait for key press.
2005-07-06 09:22:31 +00:00
junyoung
4a6d325623
De-__P()
2005-07-06 08:28:31 +00:00
junyoung
ddfd23b21c
BIOSDISK_EXT13INFO_V3 -> BIOSDISK_EXTINFO_V3
...
u_intNN_t -> uintNN_t
u_int -> unsigned int
Remove trailing spaces
2005-07-06 08:27:31 +00:00
dyoung
674e9b926b
Identify Alvarion Ltd. BreezeNET PC-DS.11b. Addresses kern/30231.
2005-07-06 07:16:00 +00:00
dyoung
b01131baed
Regen.
2005-07-06 07:06:29 +00:00
dyoung
b34605c1a7
Add Alvarion (vendor) and Alvarion Ltd. BreezeNET PC-DS.11b (product).
...
From PR kern/30231.
2005-07-06 07:05:25 +00:00
dyoung
05cab81dd8
Don't write the WEP keys to the device if it is invalid (e.g.,
...
unplugged) or if it is not enabled. Fixes kern/30592.
2005-07-06 06:49:25 +00:00
thorpej
527d62e0a2
- When starting an ATA or ATAPI transfer, handle the case where (*dma_init)()
...
returns EINVAL, indicating that DMA cannot be done for this transfer.
Fall back to PIO in this case.
- Add a geodeide_dma_init() routine that checks to make sure that transfers
start on a 16 byte boundary, returning EINVAL if not. Works around a chip
bug that causes a hard system hang.
Problem reported and patch tested by Erik Fair.
2005-07-06 01:46:52 +00:00
he
053b017df8
Wrap use of MALLOC_DECLARE() within an #ifdef _KERNEL, it's declaration
...
in sys/mallocvar.h is within a similar conditional.
Fixes build problem for vax.
2005-07-05 23:04:14 +00:00
he
c92bbdc733
Follow up after adding const by doing some more.
2005-07-05 22:20:47 +00:00
he
3bed0ba4dd
Add const to arrays initialized with string constants.
...
Found while compiling for vax (why wasn't this caught by newer gcc?)
2005-07-05 22:15:41 +00:00
tron
655544a062
Comment out the less popular 3Com 3c507 and reenable the 3c503 as
...
suggested by Jason Thorpe and Manuel Bouyer on the port-i386 mailing list.
2005-07-05 21:17:38 +00:00
dyoung
83285d3445
In ieee80211_refine_node_for_beacon, do not decrease the reference
...
count on the node that is passed in, because it belongs to the
driver. Also, do not increase the reference count on the refined
node, because ieee80211_refine_node_for_beacon's caller (ieee80211_input)
will never decrease the reference count.
As a general rule, reference counts are used for driver code to
assert ownership of ieee80211_nodes that are shared by the driver
and net80211 layer.
2005-07-05 19:56:04 +00:00
tron
96109dd1ae
Comment out drivers for 3Com 3C501, 3C503 and 3C505. These cards weren't
...
very common and had more or less severe restrictions. This finally fixes
the NetBSD-i386 release build.
2005-07-05 15:00:33 +00:00
kleink
58a82aeec2
Include <sys/cdefs.h> for __signed.
2005-07-05 08:15:34 +00:00
augustss
c65a426711
Add auixp.
2005-07-05 07:11:52 +00:00
jdc
93bdac459d
Only set up the console screen on the console ffb.
...
Fixes bug where ttyE0 ends up on the 2nd ffb.
Based on dev/sun/cgsix.c:r1.27 (from macallan@).
2005-07-04 22:18:37 +00:00
drochner
6d8bb016f7
update PCI/Cardbus ral wlan driver, and adapt to new FreeBSD/NetBSD
...
80211 framework, from FUKAUMI Naoki per mail to tech-net
2005-07-04 17:50:09 +00:00
drochner
c2ddc13a41
some fixes and cleanups to the USB-ral wlan adapter, from FUKAUMI Naoki
...
per mail to tech-net
2005-07-04 17:46:31 +00:00
drochner
95ecbce6dc
regen
2005-07-04 17:43:15 +00:00
drochner
f63f021442
add another wlan adapter
2005-07-04 17:42:39 +00:00
drochner
e224b50008
some autoconf cleanup fallout, leftover of last week, mostly from
...
Havard Eidnes
2005-07-04 15:18:17 +00:00
pooka
5b4bcc52c2
Adapt conf for PXA2X0 split to PXA250 and PXA270.
2005-07-04 14:10:23 +00:00
martti
253c8a14af
Added support for amr. Tested by Joseph A. Dacuma with Dell PowerEdge 2800.
2005-07-04 13:43:45 +00:00
blymn
dadd214d32
Reverse renaming of variable (pd_ents -> pdes) since the clashing
...
declaration in pmap.h was not used so it was removed from there.
2005-07-04 12:06:14 +00:00
blymn
177ce69567
Remove bogus external declaration for pdes, it appears not to be needed.
2005-07-04 11:50:17 +00:00
augustss
3cadf15c43
Uncomment ehci. It works fairly well now.
2005-07-04 05:57:02 +00:00
augustss
b9c28e0fc4
Regen.
2005-07-04 05:55:26 +00:00
augustss
1f2a8d34c4
Correct product id for the Hank Connection device.
2005-07-04 05:55:05 +00:00
dyoung
458bd292c0
Our bus_space_{read,write}_4 routines convert from host to bus
...
byte-order, but FreeBSD's does not. ath(4) expects the FreeBSD
convention. Meet ath(4)'s expectations, use
bus_space_{read,write}_stream_4, instead.
Now, the HAL seems to work on macppc.
2005-07-04 05:35:09 +00:00
dyoung
eaadb988fd
#define AH_REGOPS_FUNC 1 to match athhal-powerpc-be-eabi.opt_ah.h.
2005-07-04 05:32:16 +00:00