summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-10-23fix the two extremely retarded bugs that prevented the RT30XXDamien Bergamini
devices to work. shame on me. committed over an RT3071.
2010-10-23Unbreak SMALL_KERNEL. Reported by Mikolaj Kucharski, thanks!Paul Irofti
2010-10-23Add working compile directoryMiod Vallat
2010-10-22Attach the two run(4) usb ids that krw@ added to usbdevs.Damien Bergamini
"Feel free to commit!" krw@
2010-10-21There is no TCP6 in our kernel, so remove the #ifndef TCP6.Alexander Bluhm
No binary change. ok claudio@ henning@
2010-10-20Disestablish interrupts if attachment fails.Michael Knudsen
ok jakemsr
2010-10-19grow i386 inside media a teeny bitTheo de Raadt
2010-10-19Remove the LOG_MAKEPRI macro. It has been broken (the << 3 is wrong) sinceTheo de Raadt
the dawn of time. A few systems fixed^Hchanged it, thus breaking other code. Since the usage of it is now a mess, the right path from here on out is to *remove* the macro forever and cope with the (very minor) fallout. ok guenther tedu millert sthen
2010-10-19update initialization values for the Osprey 2.2.Damien Bergamini
see http://marc.info/?l=linux-wireless&m=128746728412954&w=2 for a list of changes.
2010-10-19Unify some error messages to simplify reset code. No functionalKenneth R Westerback
change. ok nicm@ From shadchin.
2010-10-18bFrameIntervalType affects frame rates, not frame sizesJacob Meuser
2010-10-18when configuring the streaming interface with the video probe andJacob Meuser
commit controls, use the hardware frame idenfitier instead of the software identifier since they can differ, and the hardware only knows about it's own identifiers
2010-10-18use setting with closest matching bandwidth for the current configurationJacob Meuser
instead of the first one that has enough bandwidth as it may be too much
2010-10-18tmac update no longer neededTheo de Raadt
2010-10-18Stop compiling with ATHN_DEBUG defined by default.Damien Bergamini
2010-10-18Add __attribute__((aligned(4))) to __packed Tx/Rx descriptors.Damien Bergamini
This makes gcc generate much more efficient code on architectures with strong alignment constraints (like sparc64). We use __packed to tell the compiler to not insert padding between fields but the start of the descriptors is always 32-bit aligned. When __packed is used, gcc assumes worst case scenario and generates complicated code to prevent unaligned accesses. Inspired by a similar change to ath9k. Tested on sparc64. For the record, example to set a field to 1 on a sparc64: without __attribute__((aligned(4))): ldub [%g2], %g1 and %g1, 0, %g1 stb %g1, [%g2] ldub [%g2+1], %g1 and %g1, 0, %g1 stb %g1, [%g2+1] ldub [%g2+2], %g1 and %g1, 0, %g1 stb %g1, [%g2+2] ldub [%g2+3], %g1 and %g1, 0, %g1 or %g1, 1, %g1 stb %g1, [%g2+3] with __attribute__((aligned(4))): mov 1, %g1 st %g1, [%g2]
2010-10-18remove v2.0 initialization values for the Osprey.Damien Bergamini
this is a pre-production chip.
2010-10-18Revert non-compatible and undocumented bullshit commited by 3 developersTheo de Raadt
who decided to just do it on their own. henning, mcbride, jsing -- shame on you -- if you had shown this diff to just 1 other network developer, the astounding mistake in it would have been noticed. Start practicing inclusionary development instead of going alone. ok claudio
2010-10-18There is no reason to not include MPLS and mpe(4) in GENERIC. Makes myClaudio Jeker
life a lot easier. Sure deraadt@
2010-10-18PRU_PEEREID is only used by code under COMPAT_O47, so put it there tooPhilip Guenthe
so that we remember to remove it all at the same time in two years. ok deraadt@
2010-10-17Add quirks support to operating system fingerprinting. tcpdump partJoel Sing
by mcbride@. ok mcbride@ henning@
2010-10-17Ansify non-ansified function definitions. No functional change.Kenneth R Westerback
ok nicm@ From shadchin.
2010-10-16SyncKenneth R Westerback
2010-10-16Two run(4)'s picked up in Akihabara after j2k10. Melco WLI-UC-GNM andKenneth R Westerback
Planex GW-USMicro300.
2010-10-16Remove some duplicated code. No need to flush/reset at attach and thenKenneth R Westerback
again at PMS_STATE_CHANGE events. Tested my myself, ian@ and nicm@ without regressions on usual problematic machines. From shadchin.
2010-10-16SUNWEIT DVI can be just about any chipset. Use the revision to select which.Mats O Jansson
Some other products use more than one generation of chipset. e.g. both DL160 and DL165. Change to a later chipset if the family is newer than expected. ok mglocker@ -moj
2010-10-15Remove redundant definitionJordan Hargrave
2010-10-15Enable multipath support on the MPLS routing table. ldpd needs this andClaudio Jeker
the priority support that comes together with it. Currently no balancing will happen, only the first path will be used.
2010-10-14Move glxpcib(4) to MI land unifying the two MD drivers.Paul Irofti
Specific features of the companion chip will be handled in MD land. Okay deraadt@.
2010-10-14Clean up segment handling: switch user-space to using code and dataPhilip Guenthe
segments in the GDT instead of the LDT and eliminate the GDT slots that we don't actually use. tested on both amd and intel by several not really the right person, but ok: kettenis@
2010-10-13do the same thing for the cd:Mike Belopuhov
shave some bytes off the ramdisk kernels by disaling a bunch of custom pci to isa bridge drivers. pcib(4) will cope with the loss. suggested by brad, deraadt agrees, so does kettenis
2010-10-13shave some bytes off the ramdisk kernels by disaling a bunch ofMike Belopuhov
custom pci to isa bridge drivers. pcib(4) will cope with the loss. ok deraadt
2010-10-13No need to check ST_DYING flag twice in succession.Kenneth R Westerback
Noticed by Damien McGuckin. Thanks!
2010-10-12Add Sierra Wireless MC8790.Marco Pfatschbacher
OK yuo, fkr, jsg
2010-10-12regenMarco Pfatschbacher
2010-10-12Add Sierra Wireless MC8790.Marco Pfatschbacher
OK yuo, fkr, jsg
2010-10-12Force openings to 1 for devices that can't do tagged i/o, i.e. moreKenneth R Westerback
than 1 i/o active at once. This reduces the chances that concurrent i/o's for such devices will confuse the device or the adapter code. It also eliminates a reason for adapter code to maintain its own queues. Tweak all drivers that fake INQUIRY results to set the SID_CmdQue flag, thus continuing to claim to be able to do tagged i/o. Positive feedback from matthew@ and marco@ for an earlier version. ok dlg@
2010-10-11correct MACHINE, MACHINE_ARCHTakuya ASADA
2010-10-1116-byte commands just won't fit in 12-byte buffers. So make theKenneth R Westerback
buffer 16 bytes. Fixes READ_CAPACITY_16 commands.
2010-10-11Implement an rtsocket filter for rtableids. A process will initiallyClaudio Jeker
only get messages that are for the rtable the process is bound to. Depending on the rtm_type the rdomain or rtable id are used for comparison. It is possible to change the filter with a setsockopt(s, AF_ROUTE, ROUTE_TABLEFILTER,...) and if set to RTABLE_ANY the filter is deactivated. Additionally set the tableid in struct if_msghdr to the rdomain id and use the process rtableid in the sysctl if no table was specified. OK henning@
2010-10-11Remove some commented code we will never have.Claudio Jeker
2010-10-10In tcp_update_sndspace() and tcp_update_rcvspace() change the typeAlexander Bluhm
of the variable nmax from int to u_long as the socket buffer sizes it operates on are also u_long. ok claudio@
2010-10-10Compact Flash support for OCTEONTakuya ASADA
2010-10-10Add proper malloc flags so we can attach again.Marcus Glocker
2010-10-09Make trm(4) work again. Avoid use-after-free of xs fields, don'tKenneth R Westerback
discard devices because 2nd INQUIRY (a.k.a. scsi_inquire_vpd()) fails, avoid NULL dereferences, reset bus after a timeout since I can't see how else to account for an unsupported instruction (e.g. 0x9e, a.k.a. READ_CAPACITY_16). All found while preparing for iopoolification.
2010-10-09* define structure that represents USB descriptor with variable sizedJacob Meuser
member the way uaudio does, make the variable sized member as large as it can be and don't define the following members. * reenable control support for devices where bControlSize != 2 in the processing unit descriptor. tested on alpha, amd64, i386, sparc64 and zaurus, as well as the machine where previous support for variable bControlSize caused a hang.
2010-10-09only print out of sync messages when compiled for debuggingJacob Meuser
2010-10-09control values can be 1 or 2 bytes, signed or unsigned. fixes hueJacob Meuser
control.
2010-10-08don't trust that bFrameIndex in frame descriptors is unique. fixesJacob Meuser
a crash with Kodak S100 webcam.
2010-10-08Call bus_space_barrier() after each read and write, since thisAlexandre Ratchov
driver was developed with the assumption that all operations are ordered.