Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-05-29 | Second half of PF state table rearrangement. | Ryan Thomas McBride | |
- Mechanical change: Use arrays for state key pointers in pf_state, and addr/port in pf_state_key, to allow the use of indexes. - Fix NAT, pfsync, pfctl, and tcpdump to handle the new state structures. In struct pfsync_state, both state keys are included even when identical. - Also fix some bugs discovered in the existing code during testing. (in particular, "block return" for TCP packets was not returning an RST) ok henning beck deraadt tested by otto dlg beck laurent Special thanks to users Manuel Pata and Emilio Perea who did enough testing to actually find some bugs. | |||
2008-05-29 | rewrite the state table logic. | Henning Brauer | |
complete the split off of the layer 3/4 adressing information from the extra information in the actual state. a state key holds a list of states, and a state points to two state keys - they're only different in the NAT case. More specificially, it deprecates the (often difficult to understand) concept of lan, ext, and gwy addresses, replacing them with WIRE and STACK side address tuples. (af, proto, saddr, daddr, sport, dport). Concept first brought up some years ago on a ferry ride in bc by ryan and me, I spent some time over the last year getting closer, and finally got it completed in japan with ryan. dlg also took part, helped a lot, and saved us 8 bytes. This commit removes support for any kind of NAT as well as pfsync. It also paves the road for some code simplification and some very cool future stuff. ok ryan beck, tested by many | |||
2008-05-28 | Enable hme(4). Reported to work by Stian Sletner. | Mark Kettenis | |
2008-05-28 | Add a boot.8 manual page (copied straight from armish). This will in turn | Miod Vallat | |
act as a reminder to write boot_socppc.8 (eventually). | |||
2008-05-28 | Add a boot.8 manual page (adapted from other platforms which use the MI | Miod Vallat | |
secondary boot loader). This will in turn act as a reminder to write boot_armish.8 (soon). | |||
2008-05-28 | Don't document ``device foo'' yet either. | Miod Vallat | |
2008-05-28 | Add a boot.8 manual page (adapted from other platforms which use the MI | Miod Vallat | |
secondary boot loader). This will in turn act as a reminder to write boot_landisk.8 (soon). | |||
2008-05-28 | Turns out I have an ISP 12160 myself, and it works fine on sparc64. Since | Mark Kettenis | |
a fix has been made that might make the 10160 work too, enable support again. ok miod@ | |||
2008-05-28 | Don't try reading the SXP_PINS_DIFF on the 10160 and 12160 SCSI controllers. | Mark Kettenis | |
The registers seems to return 0 on my 12160 and there are some indications that it doesn't really exist. This may fix panics seen with the 10160 on sparc64 machines. ok krw@ | |||
2008-05-28 | sync | Pierre-Yves Ritschard | |
2008-05-28 | Add support for Option GlobeTrotter 3G+ cards as distributed by Orange | Pierre-Yves Ritschard | |
in umsm. ok jsg@ | |||
2008-05-27 | only look up the initiator-id for SPI (aka "real scsi") controllers on | David Gwynne | |
sparc64. this prevents us from setting the initiator id on sas and fc hbas. the scsi midlayer doesnt probe for targets at the initiator id address, so if we set this on fc and sas hbas (which dont really have a real scsi address on the bus), then we're preventing them from finding potential targets at that address. ok kettenis@ | |||
2008-05-27 | Don't print SCSI ID, it's redundant now that scsibus(4) prints the same | Mark Kettenis | |
information. ok deraadt@ | |||
2008-05-27 | bring the netnatm usrreq's also up to speed on the addition of the | Thordur I. Bjornsson | |
struct proc argument to the usrreq's routines... | |||
2008-05-27 | return 1 when an irq's been handled, not 0. | Owain Ainsworth | |
2008-05-27 | Since the vtophys stuff was nuked, drm now works on amd64 too. Add the | Owain Ainsworth | |
relavent config goo. DRM_NO_MTRR is still needed on amd64 since the mtrr apis differ between it and i386. ok kettenis@. | |||
2008-05-27 | bring netbt's usrreqs up to speed on the usrreq changes. | Thordur I. Bjornsson | |
allows it too compile again. pointed out by mk@ and deraadt@ | |||
2008-05-27 | When i first ported the drm, i completely misunderstood the FreeBSD taskqueue | Owain Ainsworth | |
api. So drm_locked_tasklet() is wrong. Fix this up to be at least mostly correct. | |||
2008-05-27 | Fix jiffies. | Owain Ainsworth | |
2008-05-27 | Remove bloated and nasty nfsm_clget macro; while here, replace some | Bret Lambert | |
handrolled loops with nfsm_strtombuf and nfsm_buftombuf. ok deraadt@ via thib@; ok 'nfs buddy' thib@ testing johan@, merdely@; thanks | |||
2008-05-27 | Don't fail to compile when not in debug mode. | Marcus Glocker | |
2008-05-27 | Instead alloacting a fix frame buffer we allocate the maximum frame size | Marcus Glocker | |
delivered by the device (dwMaxVideoFrameSize). Also check for too large frames (buffer overflow), they get skipped. | |||
2008-05-27 | nuke unused lba2msf and msf2lba functions. krw@ ok. | Federico G. Schwindt | |
2008-05-27 | Don't print SCSI ID, it's redundant now that scsibus(4) prints the same | Mark Kettenis | |
information. | |||
2008-05-27 | be much more clear about revarp failures; ok miod | Theo de Raadt | |
2008-05-27 | Add ZyXEL G-202, which was already in usbdevs. | Jonathan Gray | |
From/tested by pedro@am-gen.org | |||
2008-05-26 | do not muck with the mountroot variable, since setroot() uses the state of | Theo de Raadt | |
it and rootdev to determine whether it is booting 'generic', 'nfs', or from a specified disk partition ok krw | |||
2008-05-26 | Fix typo, such that this actually compiles. | Mark Kettenis | |
2008-05-26 | Count outbound packets. | Brad Smith | |
ok kettenis@ | |||
2008-05-26 | Make bringing the interface down work properly (includes a line stolen | Mark Kettenis | |
from a diff by brad@). | |||
2008-05-26 | Make sure we build man pages on stand/ on all architectures. | Mark Kettenis | |
2008-05-26 | Print SCSI initiator ID such that it is easier to spot configuration | Mark Kettenis | |
problems. ok krw@, marco@, deraadt@ | |||
2008-05-26 | Add more ioctl's (still unfinished); VIDIOC_ENUM_FMT, VIDIOC_ENUMINPUT, | Marcus Glocker | |
VIDIOC_S_INPUT, VIDIOC_TRY_FMT. Allows me at least to use a small V4L2 compatible webcam application to capture some images. | |||
2008-05-26 | On sparc64, fetch "scsi-initiator-id" property from the firmware, and use | Mark Kettenis | |
it to tweak to SPI port configuration. Makes the PRIMEPOWER 250 happy when netbooting. | |||
2008-05-26 | Add tsec(4) on RAMDISK kernels (and make a comment in GENERIC a bit more | Mark Kettenis | |
consistent). | |||
2008-05-26 | Limit to 80 char width and tweak comments for readability. | Jonathan Gray | |
2008-05-26 | Properly handle usbd_get_interface_descriptor() returning NULL. | Jonathan Gray | |
From Jacek Masiulaniec <jacekm@dobremiasto.net> | |||
2008-05-26 | - also zap userldt here | Jasper Lievisse Adriaanse | |
from travers buda, via deraadt@ | |||
2008-05-26 | Enable cmpci(4) and eso(4). | Brad Smith | |
ok jakemsr@ | |||
2008-05-26 | Count output packets. | Brad Smith | |
From DragonFly ok dlg@ | |||
2008-05-25 | use ac97 default parameters for auich(4), auixp(4) and auvia(4). | Jacob Meuser | |
they may have codecs which only handle 48kHz sampling rates. ok ratchov@ | |||
2008-05-25 | add a function to get default parameters for ac97 codecs. all ac97 | Jacob Meuser | |
codecs support 16-bit stereo slinear_le @ 48kHz. ok ratchov@ | |||
2008-05-25 | tweak the SPI port configuration if we figure out that it is not quite | David Gwynne | |
right, in particular the adapters scsi id on the bus. requested by kettenis@ who is having trouble with the scsi controller on the primepower 250. | |||
2008-05-25 | Don't define EHCI_DEBUG when USB_DEBUG is defined. This to be consistent | Marc Balmer | |
with other USB host controller interfaces. From Karl Sjodahl <dunceor@gmail.com>; ok jsg | |||
2008-05-25 | need to declare struct proct before using a pointer to it; ok kettenis thib | Theo de Raadt | |
2008-05-25 | Don't forget to actually return a value in ttyname(), and fix a bunch of | Miod Vallat | |
warnings while there. | |||
2008-05-25 | Specify the PHY to be used in the kernel config instead of hardcoding it | Mark Kettenis | |
int tsec(4). | |||
2008-05-25 | Default to full-duplex MII mode such that a directly connected integrated | Mark Kettenis | |
switch has a chance to work. Don't call into the mii layer if no PHYs were attached. Makes the integrated switch on the Thecus N1200 visible to the CPU. | |||
2008-05-25 | Fix typo; makes TSEC2 actually get Rx interrupts. | Mark Kettenis | |
2008-05-25 | Move cmpci(4) and eso(4) out of the untested section. | Brad Smith | |
ok jakemsr@ |