Commit Graph

195432 Commits

Author SHA1 Message Date
christos efb1585e67 propagate the fixes from /usr/src/sys/net/bpf_filter.c here, so that
we don't merge backwards again.
2010-12-06 01:08:02 +00:00
dholland eb1ab8ee50 Improve previous to avoid changing the interface of an externally
exposed function. (But note that this function is neither documented
nor declared in any installed header file, and it probably should not
be externally exposed.) Related to PR 44183, closes PR 44186.
2010-12-06 00:05:38 +00:00
jym 44e64860fc Hmm, for 'rof', I believe that C_ROF|C_OF is invalid rather than
C_ROF|C_ROF.

Hi pooka :)
2010-12-05 23:35:59 +00:00
mrg f705e59458 revert another part of bpf_filter 1.38 that broke the check for divide
by zero while validating the bpf program.

originally spotted by skrll@, and broke atf the month-old atf test for
this exact problem: net_bpf_t_div-by-zero_div_by_zero.
2010-12-05 22:40:56 +00:00
pooka 99f70917f1 dm uses non-MI 64bit atomic ops, so don't include it in the default list. 2010-12-05 22:01:23 +00:00
pooka 76c4650a3f Leave usb-stuff out of alldevs until DELAY() is mi. 2010-12-05 20:39:10 +00:00
pooka 39f08af21d mirror change of -lrumpcrypto ==> -lrumpkern_crypto 2010-12-05 20:13:26 +00:00
pooka ef4d7c2c36 rumpcrypto now comes as part of RUMPKERNLDADD 2010-12-05 20:12:55 +00:00
pooka fee25d6c52 rumpcrypto should never have been its own faction, so finally make
it a component under kern, i.e. rumpcrypto -> rumpkern_crypto.
2010-12-05 20:11:21 +00:00
riz d8ceda082c Add GPT bootloader to "Possibly" list 2010-12-05 18:21:50 +00:00
pooka 7e29270f53 claim ENOTTY for PRU_CONTROL for now 2010-12-05 18:01:46 +00:00
pooka fdb9b6e9bf Revert previous: it introduces a dependency between sockin and the
netinet rump components and will have to be done another way.
2010-12-05 17:59:12 +00:00
pooka 843bb51b69 dumdidumdum, fix name in previous 2010-12-05 17:45:08 +00:00
pooka 6eb225bba1 Add a rump server which comes with all the drivers currently
available.  In terms of modules it maps to:

golem> rump.modstat
NAME             CLASS      SOURCE     REFS  SIZE     REQUIRES
bpf              driver     builtin    0     -        -
cd9660           vfs        builtin    0     -        -
cgd              driver     builtin    0     -        -
dm               driver     builtin    0     -        -
efs              vfs        builtin    0     -        -
ext2fs           vfs        builtin    0     -        ffs
fdesc            vfs        builtin    0     -        -
ffs              vfs        builtin    3     -        -
fss              driver     builtin    0     -        -
hfs              vfs        builtin    0     -        -
kernfs           vfs        builtin    0     -        -
ksem             misc       builtin    0     -        -
layerfs          misc       builtin    2     -        -
lfs              vfs        builtin    0     -        ffs
mfs              vfs        builtin    0     -        ffs
msdos            vfs        builtin    0     -        -
nfs              vfs        builtin    1     -        -
nfsserver        misc       builtin    0     -        nfs
nilfs            vfs        builtin    0     -        -
ntfs             vfs        builtin    0     -        -
null             vfs        builtin    0     -        layerfs
pad              driver     builtin    0     -        -
ptyfs            vfs        builtin    0     -        -
puffs            vfs        builtin    0     -        putter
putter           driver     builtin    1     -        -
scsiverbose      misc       builtin    0     -        -
smbfs            vfs        builtin    0     -        -
suser            secmodel   builtin    0     -        -
swsensor         driver     builtin    0     -        -
sysvbfs          vfs        builtin    0     -        -
tmpfs            vfs        builtin    0     -        -
udf              vfs        builtin    0     -        -
umap             vfs        builtin    0     -        layerfs
union            vfs        builtin    0     -        -
usbverbose       misc       builtin    0     -        -
wapbl            vfs        builtin    0     -        -


In terms of interfaces:
golem> rump.ifconfig -C
shmif virt lo carp


and dmesg:
NetBSD 5.99.41 (RUMP-ROAST) #0: Tue Nov 30 15:35:05 CET 2010
        pooka@pain-rustique.localhost:/usr/allsrc/src/sys/rump/librump/rumpkern
total memory = unlimited (host limit)
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "rumpclk" frequency 100 Hz quality 0
cpu0 at thinair0: rump virtual cpu
cpu1 at thinair0: rump virtual cpu
root file system type: rumpfs
mainbus0 (root)
ugenhc0 at mainbus0
usb0 at ugenhc0: USB revision 2.0
uhub0 at usb0: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub0: 1 port with 1 removable, self powered
ugenhc1 at mainbus0
usb1 at ugenhc1: USB revision 2.0
uhub1 at usb1: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub1: 1 port with 1 removable, self powered
ugenhc2 at mainbus0
usb2 at ugenhc2: USB revision 2.0
uhub2 at usb2: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub2: 1 port with 1 removable, self powered
ugenhc3 at mainbus0
usb3 at ugenhc3: USB revision 2.0
uhub3 at usb3: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub3: 1 port with 1 removable, self powered
scsitest0 at mainbus0
scsibus0 at scsitest0: 2 targets, 1 lun per target
cd0 at scsibus0 target 1 lun 0: <RUMPHOBO, It's a LIE, 0.00> cdrom removable
Chicony Electronics Chicony Electronics, class 0/0, rev 2.00/1.00, addr 2, uhub0 port 1 not configured
AuthenTec AuthenTec, class 255/255, rev 1.10/6.21, addr 2, uhub1 port 1 not configured
swwdog0: software watchdog initialized
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture


There a bunch of other stuff which doesn't show up as any of the
above, plus of course the usb drivers which are probed only if I
have the appropriate hardware plugged into my workstation.
2010-12-05 17:37:32 +00:00
pooka 6292852036 Rename Makefile.rump${x} to Makefile.rump${x}comp for consistency. 2010-12-05 16:53:46 +00:00
pooka a0cc35fc67 include usb_verbose in the component (at least for the time being) 2010-12-05 16:51:00 +00:00
pooka 6c11d60910 whitespace polish 2010-12-05 16:50:09 +00:00
pooka 6dccdaa019 Make build similar to fs, net & dev. 2010-12-05 16:27:42 +00:00
pooka 520524fd92 Fix RUMPFSLIBS etc. As collateral, rename nullfs/umapfs to match
the vfsname, i.e. to "null" and "umap".
2010-12-05 16:11:16 +00:00
pooka 6ec300d935 get rid of this uninstalled "test", even i haven't compiled it for ages 2010-12-05 16:02:04 +00:00
adam 3e1a82b305 Fix building on case-insensitive file-system. 2010-12-05 15:57:40 +00:00
pooka 2665f62b03 use in_control() for PRU_CONTROL 2010-12-05 15:54:50 +00:00
phx 8fba54e633 The gpio children have either register offsets based on gpio or on obio.
Implemented a workaround to deal with this uncertainty.
This fixes the machdep.cpu_speed control for 7447A-based iBookG4s.
2010-12-05 13:33:50 +00:00
skrll 095b264380 Make the interrupt evcnt name consistent everywhere. 2010-12-05 12:19:09 +00:00
skrll f49f90f395 KNF 2010-12-05 10:47:22 +00:00
skrll c5343b730d G/C unused _hp700_intr_spl_mask 2010-12-05 10:27:50 +00:00
skrll 90dc0b4bcc Reformat/Improve comment. 2010-12-05 10:21:18 +00:00
skrll a3ccaa6c4c Reformat comments. 2010-12-05 10:11:46 +00:00
mrg aa6fd2d6fa switch ofppc to xorg. 2010-12-05 09:54:34 +00:00
mrg b5dcdd394e consider BPF_ABS, BPF_IND and BPF_MSH as they used to be in rev 1.37.
this fixes dhclient, and i'm told dhcpcd as well.


this patch from skrll@netbsd.org, tested by me.
2010-12-05 09:42:20 +00:00
mrg a5ae13c90e - use SCRIPTS* for scripts instead of FILES*.
- add pcap-config to CLEANFILES.
2010-12-05 09:09:39 +00:00
mrg 94f36216e9 fix some set lists issues after the recent bpf and pcap updates. 2010-12-05 09:02:28 +00:00
mrg 51b69d29cc apply the smallest hack to allow this to build without warnings again. 2010-12-05 08:45:46 +00:00
mrg 9133e91956 netbsd needs net/bpf.h, too. 2010-12-05 08:43:23 +00:00
christos 03b171742e new libpcap and tcpdump 2010-12-05 06:05:25 +00:00
christos 5e475ba09e sets for new libpcap and tcpdump 2010-12-05 06:02:28 +00:00
christos dbe76af3b7 hook tcpdump and libpcap 2010-12-05 05:59:59 +00:00
christos 185f0723f8 unhook tcpdump 2010-12-05 05:59:17 +00:00
christos 3542a25b9b hook new libpcap 2010-12-05 05:58:12 +00:00
christos 26717b4ba7 new /usr/include/pcap directory. 2010-12-05 05:55:29 +00:00
christos 25abe6c390 tcpdump goes to /usr/sbin 2010-12-05 05:52:46 +00:00
christos ef3545626b we don't have a 3PCAP section 2010-12-05 05:40:14 +00:00
christos 0a6931da37 we only have bin 2010-12-05 05:24:21 +00:00
christos 923cb98430 cleanup old stuff and install in the right place 2010-12-05 05:24:03 +00:00
christos c0b8ed591c Adjust to the new libpcap prototypes for compatibility. 2010-12-05 05:20:28 +00:00
christos 031df77101 new tcpdump and libpcap 2010-12-05 05:15:59 +00:00
christos 69e620e14c build and import glue. 2010-12-05 05:14:00 +00:00
christos 90faadda0b Makefile overrides 2010-12-05 05:13:45 +00:00
christos 11b3aaa125 apply our changes and add the pfsync stuff. 2010-12-05 05:11:30 +00:00
pgoyette 6688046702 Fix a few of the games to use getprogname() in their usage() functions.
Suggested by Joerg.

XXX There are probably many more that have their progname hard-coded, but
XXX I'm not up for a wholesale roto-till at the moment.
2010-12-05 04:34:22 +00:00