Commit Graph

77020 Commits

Author SHA1 Message Date
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