summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Only raise WARNS to 6 on i386 and amd64, strict alignment platforms stillphk2009-04-061-0/+4
| | | | | barf at some of the gratuitous pointer gymnastics, and I do not see a simple solution.
* Fix logic in MOD_LOAD handler to call dcons_attach after all successfulkan2009-04-061-1/+2
| | | | | | dcons_drv_init invocations. Testing return value for 0 does not work for cases where dcons_drv_init was called already as part of low level console initialization.
* Remove usb_sw_transfer.[ch] which are now empty after r190735.thompsa2009-04-0621-75/+1
|
* Provide a better commit log for r190735, forced by making a whitespace change.thompsa2009-04-0622-30/+28
| | | | | | | | | | | | Refactor how we interface with the root HUB. This is achieved by making a direct call from usb2_do_request to the host controller for root hub requests, this call will perform the controller specific register read/writes and return the error code. This cuts out a lot of code in the host controller files and saves one thread per USB bus. Submitted by: Hans Petter Selasky
* If KTR_SUBSYS is compiled in, it does not necessarily mean that userkan2009-04-051-1/+1
| | | | | | is interested in being spammed by mcast-related printfs. Use proper check against ktr_mask instead KTR_COMPILE.
* Regenerate src.conf.5.ed2009-04-051-8/+3
|
* Remove if_ppp(4) and if_sl(4).ed2009-04-0567-31913/+21
| | | | | | | | | | | | | Not only did these two drivers depend on IFF_NEEDSGIANT, they were broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been replaced by ppp(8). There is no replacement for if_sl(4). If we see regressions in for example the ports tree, we should just use __FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are present. Version 800045 is used to denote the import of MPSAFE TTY. Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the lists.
* Fix the build when KDB is disabled. The second instance of rfi innwhitehorn2009-04-051-0/+3
| | | | | trap_subr.S that is patched at runtime to rfid on 64-bit systems is inside KDB-specific code, so don't patch it without KDB.
* Remove pointeless mergeinfo that crept in from r190633.piso2009-04-050-0/+0
|
* Remember to clear the ports list before generation for prefetchphk2009-04-051-0/+1
|
* Add an Open Firmware access module for real-mode OF accesses to the PowerPCnwhitehorn2009-04-052-0/+923
| | | | | build. This is required for the IBM Mambo simulator, as well as a variety of non-Apple PowerPC hardware.
* MFp4 //depot/projects/usb@159934thompsa2009-04-051-145/+301
| | | | | | Update libusb function descriptions. Submitted by: Chuck Robey
* Silence a printf warningphk2009-04-051-1/+1
|
* Catch up with usb2_config struct layout changes.thompsa2009-04-051-14/+14
|
* MFp4 //depot/projects/usb@160056thompsa2009-04-052-36/+9
| | | | | | Remove code for unused and unlikely quirk, "uq_power_claim" Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@160052thompsa2009-04-052-1/+11
| | | | | | Wait until line configuration is complete before starting data transfers. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159995thompsa2009-04-053-179/+198
| | | | | | | | | | - add support for more complicated HID descriptors which can have multiple definitions of the same field. - remove old modulo patch in ums, which I think is due to bad HID parsing, which should be fixed now. Reported by: netchild Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159992thompsa2009-04-051-2/+0
| | | | | | | | at91_udp.c does not exist anymore, it is now replaced by at91dci in src/sys/dev/usb/controller. Also remove the ohci_atmelarm.c because it is also included in src/sys/conf/files Submitted by: Sylvestre Gallon
* MFp4 //depot/projects/usb@159948thompsa2009-04-052-11/+12
| | | | | | Add more debugging output on enumeration failures. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159946thompsa2009-04-059-101/+32
| | | | | | | Some cancelable flags are always true. Substitute these away. These cancelable flags were mostly useful with the root HUB which is now handled differently. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159926thompsa2009-04-051-138/+24
| | | | | | Minor code factorisation in atmegadci.c Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159925thompsa2009-04-051-7/+7
| | | | | | Cast variables properly for non-32-bit platforms. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159922thompsa2009-04-0525-1473/+284
| | | | | | | Refactor how we interface with the root HUB. This cuts around 1200 lines of code totally and saves one thread per USB bus. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159909thompsa2009-04-0552-669/+756
| | | | | | | | | | | | | - make usb2_power_mask_t 16-bit - remove "usb2_config_sub" structure from "usb2_config". To compensate for this "usb2_config" has a new field called "usb_mode" which select for which mode the current xfer entry is active. Options are: a) Device mode only b) Host mode only (default-by-zero) c) Both modes. This change was scripted using the following sed script: "s/\.mh\././g". - the standard packet size table in "usb_transfer.c" is now a function, hence the code for the function uses less memory than the table itself. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159908thompsa2009-04-051-85/+105
| | | | | | Reduce the amount of memory used by better sizing buffer arrays. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159897thompsa2009-04-052-3/+13
| | | | | | Add new endpoint direction values for use with usb2_config Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159871thompsa2009-04-052-7/+8
| | | | | | | | - bugfixes after the memory usage reduction patch - Use "udev->pipes_max" instead of USB_EP_MAX - Use correct "bmRequestType" for getting the config descriptor. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159866thompsa2009-04-056-332/+423
| | | | | | | | - memory usage reduction by only allocating the required USB pipes and USB interfaces. - cleanup some USB parsing functions to be more flexible. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159864thompsa2009-04-051-44/+32
| | | | | | Fix possible deadlock with UGEN at detach. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159863thompsa2009-04-051-21/+25
| | | | | | Speed up the endpoint descriptor search Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159811thompsa2009-04-053-8/+48
| | | | | | First patch in a series of memory save patches. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159806thompsa2009-04-051-4/+4
| | | | | | | Properly name usb2_uref_location() so that it is not confused with usb2_unref_location() . Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159797thompsa2009-04-051-1/+0
| | | | | | Remove unused field in "struct usb2_pipe". Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159700thompsa2009-04-051-6/+3
| | | | | | Get rid of the last CALLOUT_RETURNUNLOCKED reference. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159677thompsa2009-04-051-2/+0
| | | | | | Remove redundant locking. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159674thompsa2009-04-053-5/+21
| | | | | | Fix more corner cases around reception of SETUP packets. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159673thompsa2009-04-054-32/+47
| | | | | | Fix a corner case around stalling SETUP packets in device side mode. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159671thompsa2009-04-051-6/+9
| | | | | | Fix interrupt register setting on the atmegadci controller. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159562thompsa2009-04-051-44/+51
| | | | | | Reapply r190173 with compilation fixed on 64bit arches. Submitted by: Hans Petter Selasky
* Add some consts, remove some unused stuff and other attempts to calmphk2009-04-059-31/+15
| | | | FlexeLint down.
* Fix casts which are not by definition safe, but which malloc(3)phk2009-04-051-6/+6
| | | | makes safe for us.
* Some constificationsphk2009-04-053-5/+7
|
* Modernize prototypes (ie: no extern)phk2009-04-0510-175/+157
| | | | Make lots of stuff static.
* Improve a bit reass documentation:piso2009-04-051-0/+25
| | | | | -document fragment handling sysctls -mention some caveats about fragments handling (and to deal with it)
* Convert list of remote interfaces to LIST_* macrosphk2009-04-053-16/+8
|
* Kick WARNS level up to 6 by fixing various trivial warnings.phk2009-04-056-9/+10
|
* Use <sys/queue.h> to manage the interface list.phk2009-04-058-41/+35
|
* Remove newlines from string argument of __COPYRIGHT(), it results inphk2009-04-051-2/+2
| | | | assembler warning messages.
* Send multicast on p2p interfaces if they can and are not prohibitedphk2009-04-051-2/+9
| | | | | | | from doing so with no_rip_mcast in /etc/gateways. This allows routed(8) to work with the way ports/security/openvpn employs the tun(4) interface.
* Fix KBI breakage by r190520 which affects older linux.ko binaries:dchagin2009-04-0513-23/+24
| | | | | | | | | | | | | | 1) Move the new field (brand_note) to the end of the Brandinfo structure. 2) Add a new flag BI_BRAND_NOTE that indicates that the brand_note pointer is valid. 3) Use the brand_note field if the flag BI_BRAND_NOTE is set and as old modules won't have the flag set, so the new field brand_note would be ignored. Suggested by: jhb Reviewed by: jhb Approved by: kib (mentor) MFC after: 6 days
OpenPOWER on IntegriCloud