drochner
fd6c232a7a
Allow a NULL pointer as argument to usb_get_next_event(), and don't
...
allocate a "struct usb_event" on stack in usb_add_event().
This gives just enough breathing space that the box doesn't die
immediately from stack overflow when I insert a
ohci0 at cardbus0 dev 0 function 0: Acer Labs M5237 USB 1.1 Host Controller
2005-09-09 12:04:30 +00:00
ragge
0217dc7934
Device driver for the Neterion (S2io) Xframe-I 10Gbit ethernet card.
...
Still missing: VLAN + IPv6 checksum support.
2005-09-09 10:30:27 +00:00
christos
ac3f544e6d
fix compilation with debugging on.
2005-09-08 18:41:50 +00:00
christos
e4efddfa8b
PR/31130: FUKAUMI Naoki: Fix vge(4) SIOC{ADD,DEL}MULTI handling
2005-09-08 18:18:10 +00:00
tsutsui
5b3a55a74a
This file no longer has "#if defined(MIPS3_4100)" so remove
...
"XXX MIPS3_4100 is still special" comment.
(though some other files still have "special" code which should go away)
2005-09-08 15:19:58 +00:00
tsutsui
e17fe7c64d
Initilize CP0 pagemask register properly.
...
Fixes PR 30590 and some other mips port.
2005-09-08 15:17:23 +00:00
tsutsui
95d5cf1493
Add mips3_cp0_pg_mask_write() to initialize pagemask register.
2005-09-08 15:13:23 +00:00
tsutsui
bd2843f4ab
Add definitions of Vr41xx specific pagemask values.
...
It supports 1k-256kbytes/page.
2005-09-08 15:11:43 +00:00
drochner
1797f37c06
fix parsing of some informational CIS tuples: correct length and handle
...
the case correctly where a string is terminated with 0x00 0xff
2005-09-08 15:02:48 +00:00
drochner
241cff4694
make use of the locator information: print "?" if a locator is
...
at its default value, and accept "?" in the "change" command
2005-09-08 14:58:14 +00:00
christos
a531e09eeb
Revert incomplete (and possibly incorrect) sys_sa_preempt implementation
...
that I committed accidentally with the 64 bit inode changes.
2005-09-07 23:31:06 +00:00
drochner
14071aa79e
fix an obvious mistake where the original instruction
...
is restored after a simulated single-step,
also use VM_PROT_ALL to get maximal permission for patching
instructions instead of VM_PROT_DEFAULT whose semantics
are not that defined
2005-09-07 20:28:08 +00:00
drochner
caf67252d3
sync with next68k: include <sys/devive.h> explicitely because this is the
...
documented header for "evcnt" stuff
(should be separated, later)
2005-09-07 19:58:12 +00:00
drochner
8311fb86aa
namespace sanity: don't expose compatibility sigcontext stuff
...
unnecessarily
2005-09-07 19:42:51 +00:00
drochner
41f06eac8c
include machine/intr.h only in the _KERNEL case, as
...
most other ports do.
(In the -KERNEL case, it is needed because the spl*()
stuff ought to be pulled in by <sys/param.h> per the
manpages.)
This saves some namespace headaches.
2005-09-07 19:39:51 +00:00
drochner
9e7bc072c7
namespace sanity: kill includes which are not
...
used directly
2005-09-07 19:35:37 +00:00
drochner
0ffd1b3340
include <sys/devive.h> explicitely because this is the
...
documented header for "evcnt" stuff
(should be separated, later)
2005-09-07 19:33:20 +00:00
elad
d1e2d78dee
Use ``l'' and not ``curlwp''. Thanks to Peter Postma for catching this.
2005-09-07 18:06:04 +00:00
elad
348574574d
Implement curtain for AF_INET{,6} PCB lists.
2005-09-07 17:58:13 +00:00
elad
fb3e9eee95
Implement curtain for AF_LOCAL PCB lists.
2005-09-07 17:38:44 +00:00
elad
bc433a82fb
Implement curtain in KERN_{PROC,PROC2,FILE,FILE2,PROC_ARGS}.
...
While I'm here, disable curtain by default.
2005-09-07 17:30:07 +00:00
elad
31681c214e
Should check if curtain is enabled before doing the user-id check.
2005-09-07 17:27:55 +00:00
elad
ec14f2d11e
Introduce ``security.curtain'', new node for security features and
...
settings, and new variable for controlling access to objects based
on user-id.
2005-09-07 16:26:15 +00:00
elad
15b43e830c
Introduce CURTAIN(user_id, object_id) - a macro that essentially checks
...
if user_id is either 0 or equals to object_id. We don't always have a
struct ucred to use, so we need this at the very basic level.
2005-09-07 15:11:54 +00:00
dogcow
52dfe86ca8
With the assistance of dyoung, fix the following problems:
...
* some 8180L cards need a longer time for the srom to initialize; patch
suggested via OpenBSD.
* some cards give '0' for USA, some give '3'; for the meantime, accept both
as being USA locale cards.
* this is RTW, not ATW. :)
2005-09-07 05:25:41 +00:00
dogcow
e9e04d00b0
add SiS id 0x0457
2005-09-07 01:34:19 +00:00
christos
ad2ddf6d2d
Revert previous accidental removal of -DINET6
2005-09-06 23:27:33 +00:00
christos
12184b6c26
Revert inappropriate -D additions.
2005-09-06 23:25:54 +00:00
reinoud
04d00c8e39
Cleanup and fix cd_size() function; it was returning wrong results.
...
Also factor out read_cd_capacity()
2005-09-06 22:19:14 +00:00
aymeric
f4cc8f97e3
make the "tags" target work again by using the common trick of splitting some
...
of the arguments to ctags using echo start-of-xxx | xargs ctags rest-of-xxx
2005-09-06 21:57:47 +00:00
kleink
aece7a90fd
Change the driver open function's conditional for overriding exclusive tty
...
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
2005-09-06 21:40:37 +00:00
kleink
6fa3ab87b7
Change the driver open function's conditional for overriding exclusive tty
...
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
Also, dispose of a redundant (and unreachable) instance of that check.
2005-09-06 21:36:54 +00:00
kleink
bdfc943920
Change the driver open function's conditional for overriding exclusive tty
...
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
Also change this to use the proc argument instead of curproc.
2005-09-06 20:46:38 +00:00
kleink
1020316c01
Change the driver open function's conditional for overriding exclusive tty
...
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
Also, dispose of a redundant instance of that check.
2005-09-06 20:24:01 +00:00
kleink
e2cef34883
signed -> __signed
2005-09-06 19:18:23 +00:00
tsarna
da085b10b3
Allow reception of VLAN sized frames. From FreeBSD.
...
Reviewed by cube.
2005-09-06 15:42:21 +00:00
simonb
b665007462
Include <sys/systm.h>; needed for printf() and strcmp() in the
...
non-DEBUG case.
2005-09-06 12:22:43 +00:00
jmmv
86e1067af8
Set va_type to VLNK before calling VOP_SYMLINK to match the change in the
...
vfs_syscalls.c file. Pointed out by yamt@.
2005-09-06 09:36:28 +00:00
rpaulo
67a0c36218
Correct SYSCTL_DESCR for tcp.debx.
2005-09-06 02:57:04 +00:00
rpaulo
49cb186c8e
Implement the net.ns.spp sysctl subtree with only two children:
...
net.ns.spp.debug and net.ns.spp.debx. They will be used by trsp(8).
2005-09-06 02:52:38 +00:00
rpaulo
4ea601be16
Rename the 'wakeup' variable to 'reaswakeup' so that it doesn't colide
...
with the wakeup() function defined in sys/proc.h.
2005-09-06 02:44:55 +00:00
rpaulo
37cbe61e67
Implement tcp.inet{,6}.tcp{,6}.(debug|debx) when TCP_DEBUG is set. They
...
can be used to ``transliterate protocol trace'' like trpt(8) does.
2005-09-06 02:41:14 +00:00
rpaulo
f305bcafe3
Implement kern.hardclock_ticks.
2005-09-06 02:36:17 +00:00
dogcow
12c72179ee
after discussion with dyoung, add rtw* at cardbus
2005-09-06 02:03:52 +00:00
dogcow
4ec2f95af9
make rtw.c compile again after the 22-jun-05 net80211 import
2005-09-06 01:59:26 +00:00
rpaulo
f8bcc940fb
Wrap two big lines.
2005-09-06 01:05:38 +00:00
riz
1ea801e91a
Fix typo in comment from previous revision.
2005-09-05 22:55:31 +00:00
yamt
af9e3184f8
prevent sa_setconcurrency before sa_enable, rather than crashing.
...
(savp_lwp is still null at that point.)
noted by skrueger at meinberlikomm.de.
2005-09-05 21:52:38 +00:00
reinoud
d462489ea5
Implement DIOCCACHESYNC for SCSI/ATAPI cd/mmc recordable devices found by
...
scsipi/cd.c by issueing the SYNCHRONISE CACHES scsi/atapi call as defined
per MMC standard.
2005-09-05 21:16:24 +00:00
bouyer
9c2d1acf94
Use a pmatch(9) expression which should catch all present and future
...
seagate drives larger than 200GB for the WD_QUIRK_FORCE_LBA48 quirks.
Based on infos from
http://www.seagate.com/support/kb/disc/howto/interpret_model.html
2005-09-05 21:09:08 +00:00