summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-05-29- Add a debug message to mention when a 2.5Gb adapter is found.Brad Smith
- Change invalid PHY address debug message in bnx_miibus_write_reg() from warn level to verbose. - Add two new softc fields and store the shared and port hw config data. From FreeBSD ok dlg@
2008-05-29use ac97 default parameters for these ac97 based drivers.Jacob Meuser
this makes the emulation expansion factor 1 by default since there's no emulation. previously the factor was 2 because these drivers emulate 8-bit ulaw playback with 16-bit linear encodings. having a factor other than 1 by default creates block size and hiwat/lowat issues with applications that set the block size and hiwat before other parameters. ok ratchov@
2008-05-29Second 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-29rewrite 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-28Enable hme(4). Reported to work by Stian Sletner.Mark Kettenis
2008-05-28Add a boot.8 manual page (copied straight from armish). This will in turnMiod Vallat
act as a reminder to write boot_socppc.8 (eventually).
2008-05-28Add a boot.8 manual page (adapted from other platforms which use the MIMiod Vallat
secondary boot loader). This will in turn act as a reminder to write boot_armish.8 (soon).
2008-05-28Don't document ``device foo'' yet either.Miod Vallat
2008-05-28Add a boot.8 manual page (adapted from other platforms which use the MIMiod Vallat
secondary boot loader). This will in turn act as a reminder to write boot_landisk.8 (soon).
2008-05-28Turns out I have an ISP 12160 myself, and it works fine on sparc64. SinceMark Kettenis
a fix has been made that might make the 10160 work too, enable support again. ok miod@
2008-05-28Don'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-28syncPierre-Yves Ritschard
2008-05-28Add support for Option GlobeTrotter 3G+ cards as distributed by OrangePierre-Yves Ritschard
in umsm. ok jsg@
2008-05-27only look up the initiator-id for SPI (aka "real scsi") controllers onDavid 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-27Don't print SCSI ID, it's redundant now that scsibus(4) prints the sameMark Kettenis
information. ok deraadt@
2008-05-27bring the netnatm usrreq's also up to speed on the addition of theThordur I. Bjornsson
struct proc argument to the usrreq's routines...
2008-05-27return 1 when an irq's been handled, not 0.Owain Ainsworth
2008-05-27Since the vtophys stuff was nuked, drm now works on amd64 too. Add theOwain 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-27bring 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-27When i first ported the drm, i completely misunderstood the FreeBSD taskqueueOwain Ainsworth
api. So drm_locked_tasklet() is wrong. Fix this up to be at least mostly correct.
2008-05-27Fix jiffies.Owain Ainsworth
2008-05-27Remove bloated and nasty nfsm_clget macro; while here, replace someBret Lambert
handrolled loops with nfsm_strtombuf and nfsm_buftombuf. ok deraadt@ via thib@; ok 'nfs buddy' thib@ testing johan@, merdely@; thanks
2008-05-27Don't fail to compile when not in debug mode.Marcus Glocker
2008-05-27Instead alloacting a fix frame buffer we allocate the maximum frame sizeMarcus Glocker
delivered by the device (dwMaxVideoFrameSize). Also check for too large frames (buffer overflow), they get skipped.
2008-05-27nuke unused lba2msf and msf2lba functions. krw@ ok.Federico G. Schwindt
2008-05-27Don't print SCSI ID, it's redundant now that scsibus(4) prints the sameMark Kettenis
information.
2008-05-27be much more clear about revarp failures; ok miodTheo de Raadt
2008-05-27Add ZyXEL G-202, which was already in usbdevs.Jonathan Gray
From/tested by pedro@am-gen.org
2008-05-26do not muck with the mountroot variable, since setroot() uses the state ofTheo de Raadt
it and rootdev to determine whether it is booting 'generic', 'nfs', or from a specified disk partition ok krw
2008-05-26Fix typo, such that this actually compiles.Mark Kettenis
2008-05-26Count outbound packets.Brad Smith
ok kettenis@
2008-05-26Make bringing the interface down work properly (includes a line stolenMark Kettenis
from a diff by brad@).
2008-05-26Make sure we build man pages on stand/ on all architectures.Mark Kettenis
2008-05-26Print SCSI initiator ID such that it is easier to spot configurationMark Kettenis
problems. ok krw@, marco@, deraadt@
2008-05-26Add 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-26On sparc64, fetch "scsi-initiator-id" property from the firmware, and useMark Kettenis
it to tweak to SPI port configuration. Makes the PRIMEPOWER 250 happy when netbooting.
2008-05-26Add tsec(4) on RAMDISK kernels (and make a comment in GENERIC a bit moreMark Kettenis
consistent).
2008-05-26Limit to 80 char width and tweak comments for readability.Jonathan Gray
2008-05-26Properly handle usbd_get_interface_descriptor() returning NULL.Jonathan Gray
From Jacek Masiulaniec <jacekm@dobremiasto.net>
2008-05-26- also zap userldt hereJasper Lievisse Adriaanse
from travers buda, via deraadt@
2008-05-26Enable cmpci(4) and eso(4).Brad Smith
ok jakemsr@
2008-05-26Count output packets.Brad Smith
From DragonFly ok dlg@
2008-05-25use 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-25add a function to get default parameters for ac97 codecs. all ac97Jacob Meuser
codecs support 16-bit stereo slinear_le @ 48kHz. ok ratchov@
2008-05-25tweak the SPI port configuration if we figure out that it is not quiteDavid 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-25Don't define EHCI_DEBUG when USB_DEBUG is defined. This to be consistentMarc Balmer
with other USB host controller interfaces. From Karl Sjodahl <dunceor@gmail.com>; ok jsg
2008-05-25need to declare struct proct before using a pointer to it; ok kettenis thibTheo de Raadt
2008-05-25Don't forget to actually return a value in ttyname(), and fix a bunch ofMiod Vallat
warnings while there.
2008-05-25Specify the PHY to be used in the kernel config instead of hardcoding itMark Kettenis
int tsec(4).
2008-05-25Default to full-duplex MII mode such that a directly connected integratedMark 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.