summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change the default timeout for caching attributes of a directory in the NFSjhb2009-04-061-1/+1
| | | | | | | | | | | client from 30 seconds to 3 seconds. After the recent changes to add caching of negative name cache lookups, a negative name cache hit will persist until the client notices the parent directory has changed. The higher the attribute cache timeout on directories, the longer that can take, so lower the default timeout for directories to match that of regular files. Suggested by: bde, mohans MFC after: 1 month
* Ok, looking at the solution a bit closer, the levelrrs2009-04-061-4/+4
| | | | | | | | | | | calculation was too agressive. Instead we should only look at each nibble. This makes it so we make 10.2.0.0 become 10.2/16 NOT 10.2/17. Need to explore the non-cidr address issue. The two may not be seperable.. MFC after: 1 week
* Fix ISO8859-15 links for nb_NO / no_NO.des2009-04-061-3/+2
| | | | | Submitted by: ru MFC after: 1 week
* Return -1 instead of 0 upon reaching EOF. This is somewhat ill-adviseddas2009-04-063-6/+8
| | | | | | | | because it means getdelim() returns -1 for both error and EOF, and never returns 0. However, this is what the original GNU implementation does, and POSIX inherited the bug. Reported by: marcus@
* - Added libpcap.so.5 to OLD_LIBS.ru2009-04-061-0/+14
| | | | | - Added 32-bit versions of libusb20* to OLD_{LIBS,FILES}. - Added 32-bit version of libmp.so.6 to OLD_LIBS.
* Reduce the dcons polling frequency to 25 Hz.ed2009-04-061-1/+1
| | | | | | | | | | It makes little sense to use 100 Hz polling in dcons. We cannot live without polling, because that's just how dcons works. It polls the buffer filled by the firewire hardware. 25 Hz is probably enough for most use cases. Discussed with: rwatson Tested by: kan
* connect uath.4 to the build.weongyo2009-04-061-0/+2
|
* connect uath(4) to the build. uath(4) should work on all architectures.weongyo2009-04-061-1/+1
|
* provide the absolute path for /etc/rc1luigi2009-04-061-1/+1
|
* add some popular device and comment some potentially useful optionsluigi2009-04-061-0/+5
|
* Add SDT DTrace probes for namei():rwatson2009-04-061-1/+14
| | | | | | | | | vfs:namei:lookup:entry takes parent directory vnode pointer, path to look up, and lookup flags. vfs:namei:lookup:return takes an error value, and if successful, the returned vnode pointer. MFC after: 1 month
* Class based addressing went out in the early 90's. Basicallyrrs2009-04-061-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | if a entry is not route add -net xxx/bits then we should use the addr (xxx) to establish the number of bits by looking at the first non-zero bit. So if we enter route add -net 10.1.1.0 10.1.3.5 this is the same as doing route add -net 10.1.1.0/24 Since the 8th bit (zero counting) is set to 1 we set bits to 32-8. Users can of course still use the /x to change this behavior or in cases where the network is in the trailing part of the address, a "netmask" argument can be supplied to override what is established from the interpretation of the address itself. e.g: route add -net 10.1.1.8 -netmask 0xff00ffff should overide and place the proper CIDR mask in place. PR: 131365 MFC after: 1 week
* 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
OpenPOWER on IntegriCloud