summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename definition of BGE_SOFTWARE_GENCOMM_* to more readable ones.yongari2011-10-262-23/+24
| | | | | | | | | | | | | | | The origin of GENCOMM seems to come from Alteon Tigon Host/NIC interface definition where it defines general communications region which is active when firmware is loaded and running. This region was used in communication between the host and processor internal to the Tigon chip. Broadcom data sheet also defines the region as 'Software Gencomm' in NetXtreme memory map but lacks detailed description of its interface so it was hard to know which ones are used for which interface. This change shall slightly enhance readability. No functional changes.
* Add libkern/ucmpdi2.ccognet2011-10-261-0/+1
|
* BCM5719 cannot handle DMA requests for DMA segments that haveyongari2011-10-262-0/+10
| | | | | | | | | larger than 4KB in size. However the maximum DMA segment size created in DMA tag is 4KB, so we wouldn't encounter the issue here. Just record this issue such that let developers not to create a DMA segment that is larger than 4KB for BCM5719. It's possible to split a DMA segment into multiple smaller ones in run time but I believe it's not worth to implement that.
* Broadcom says BCM5755 or higher and BCM5906 have short DMA bug.yongari2011-10-261-3/+4
| | | | Apply workaround to these controllers.
* It is known that all Broadcom controllers have 4GB boundary DMAyongari2011-10-261-4/+2
| | | | bug. Apply workaround to all controllers.
* Make CPMU handle GPHY power down control on controllers that haveyongari2011-10-261-1/+2
| | | | CPMU capability.
* Fix suspend and resume of FULL and HIGH speed USB deviceshselasky2011-10-264-2/+17
| | | | | | | in the generic XHCI driver. There appears to be some minor logic missing for this feature to work. MFC after: 3 days
* Revert r226665 untill the issues with this change have been resolved.rmh2011-10-261-12/+2
| | | | Approved by: kib (mentor)
* Bring over the new aggregate statistics from the 11n branch.adrian2011-10-261-12/+85
| | | | | Some of these values are currently updated by the driver (the 11n RX related statistics) so they are immediately useful.
* As a prelude to bringing over the 11n work, include some extra statistics ↵adrian2011-10-262-1/+27
| | | | fields.
* - Fixup filenames in a few more places where they are used.jhb2011-10-261-21/+20
| | | | - Some whitespace fixes.
* Fix typo in timer_getoverrun cross-reference.pluknet2011-10-261-1/+1
| | | | MFC after: 3 days
* Attempt to fix build logic for gensnmptree.ed2011-10-261-1/+2
| | | | | | | | | There are two problems with the existing logic. It builds gensnmptree on <700018, even if WITHOUT_BSNMP is set, but more importantly, we must not forget to build gensnmptree on systems that have originally been built without. This causes a buildworld on those systems to fail. MFC after: 1 week
* - Add support for a "!" character in regex matching in devd(8). It invertshrs2011-10-264-4/+20
| | | | | | | | | the logic (true/false) of the matching. - Add "!usbus[0-9]+" to IFNET ATTACH notification handler in the default devd.conf to prevent rc.d/netif from running when usbus[0-9]+ is attached. Reviewed by: imp
* Fix breakage in tzsetup:edwin2011-10-261-1/+1
| | | | MD +4700+02850 Europe/Chisinau most locations
* Fix long standing bge_sysctl_debug_info() issues.yongari2011-10-261-7/+16
| | | | | | | | o Protect bge(4) status block access and register dump with driver lock. o Add missing bus_dmamap_sync() before dumping status block. o Use minimum status block size, 32 bytes, for status block dump on most controllers except BCM5700 AX/BX. While I'm here, make the handler show 5717 Plus in hardware flags.
* Add in some more 11n related HAL methods.adrian2011-10-252-0/+6
|
* The AR5413 datasheet specifies that AR_TxIntrReq should be set consistentlyadrian2011-10-251-2/+9
| | | | for all frames, so do so.
* Add some fixes to the 11n aggregation HAL calls:adrian2011-10-251-6/+26
| | | | | | | | | * preserve AR_TxIntrReq on every descriptor in an aggregate chain, not just the first descriptor; * always blank out the descriptor in ar5416ChainTxDesc() when forming aggregates - the way I'm using this in the 11n branch is to first chain aggregates together, then use the other HAL calls to fill in the details.
* Correct/complete a partially-disabled TX interrupt mitigation configuration.adrian2011-10-251-4/+4
| | | | | Although a previous commit disabled TX interrupt mitigation handling and configuration, the mask register bits weren't setup correctly.
* Fix an incorrect flag.adrian2011-10-251-1/+1
| | | | Obtained from: Atheros
* Save and restore the association ID across interface resets.adrian2011-10-254-5/+9
| | | | | Obtained from: Atheros MFC after: 1 week
* Add some 11n bits from the if_ath_tx 11n branch:adrian2011-10-255-1/+40
| | | | | | | | | | * Add the TID field in the TX status descriptor; * Add in the 11n first/middle/last functions for fiddling with the descriptors. These are from the Linux and the reference driver, but I'm not (currently) using them. * Add further AR_ISR_S5 register definitions. Obtained from: Linux ath9k, Atheros
* Reduce the NF wait timeout. When doing heavy 11n RX loads, this can actuallyadrian2011-10-251-1/+9
| | | | | | | | interfere with traffic, as the NF load can take quite a while and poking the AGC every 10uS is just a bit silly. Instead, just leave the baseband NF calibration where it is and just read it back next time a longcal interval happens.
* MFV of r226750, tzdata2011medwin2011-10-257-20/+87
| | | | | | | | | | | | | | | | | | | Europe: - Pridnestrovian Moldavian Republic (PMR, also known as "Pridnestrovie") has abolished seasonal clock change (no transition to the Winter Time). - The recent change to the Ukranian time zone (Europe/Kiev) to introduce permanent daylight saving time (similar to Russia) was reverted. South America: - Bahia: The President signed a decree that includes Bahia in summer time. zone.tab: - Add Europe/Tiraspol Pridnestrovie Obtained from: ftp://ftp.iana.org/tz/releases/
* Whitespace nits.yongari2011-10-251-5/+5
|
* - Add a new header for the x86 boot code that defines various structuresjhb2011-10-256-31/+128
| | | | | | | | | | | | | | | | | | | and constants related to the BIOS Enhanced Disk Drive Specification. - Use this header instead of magic numbers and various duplicate structure definitions for doing I/O. - Use an actual structure for the request to fetch drive parameters in drvsize() rather than a gross hack of a char array with some magic size. While here, change drvsize() to only pass the 1.1 version of the structure and not request device path information. If we want device path information you have to set the length of the device path information as an input (along with probably checking the actual EDD version to see which size one should use as the device path information is variable-length). This fixes data smashing problems from passing an EDD 3 structure to BIOSes supporting EDD 4. Reviewed by: avg Tested by: Dennis Koegel dk neveragain.de MFC after: 1 week
* Consolidate duplicate definitions of V86_CY() and V86_ZR() which check forjhb2011-10-2515-37/+27
| | | | | the carry and zero flags being set, respectively, in <btxv86.h> and use them throughout the x86 boot code.
* axe(4) got VLAN over-sized frame support.yongari2011-10-251-1/+2
| | | | Add axe(4) to the list of interfaces that support VLAN over-sized frame.
* AX88178/AX88772A/AX88772B supports VLAN over-sized frame.yongari2011-10-251-1/+2
| | | | Xr vlan.
* Implement TX/RX checksum offloading support for ASIX AX88772Byongari2011-10-252-73/+422
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | controller. AX88772B data sheet does not show detailed information about checksum offloading related things. It seems the controller has lots of options to support checksum offloading but I failed to understand why this feature requires so much complex controller configuration and status bits. One of major difference between AX88772B and its predecessor is AX88772B uses a new RX header format when RX checksum offloading is enabled. It also requires the received length of a frame should be multiple of 4. Controller will pad necessary bytes to make the length of received frame to be multiple of 4. It is driver's responsibility to offset this pad bytes. Note, AX88772B could be configured to get partial checksum value in in RX header. This mode uses different RX header format and currently we don't use that fature. This change makes axe(4) use driver specific MII attach handler to override uether(9)'s default MII attach and announce flow-control capability for AX88178/AX88772A/AX88772B to PHY drivers. It seems original AX88772 also supports flow-control but I didn't enable it due to lack of test/access to the controller. The flow-control threshold parameter is loaded from EEPROM and there is no way to override this value without reprogramming EEPROM. For AX88772B, TX/RX IP/TCP/UDP checksum offloading is announced to network stack. IPv6 and PPPoE checksum offloading is also supported by controller but we have no way to take advantage of these features. Driver already knows PHY address so make PHY driver know that information and remove unnecessary PHY address check used in miibus_readreg/miibus_writereg callbacks. Also announce AX88178, AX88772A and AX88772B support VLAN over-sized frame. While I'm here clean up headers and remove axe_start() in axe_init() because the link wouldn't be available right after media change.
* Build swapon with WARNS=6.ed2011-10-252-6/+5
| | | | Don't use a variable called stat, because it collides with stat(2).
* Provide an error message and error handling if there are no networknwhitehorn2011-10-251-0/+7
| | | | | | | | interfaces in the system. This is a non-fatal error except when doing a network installation. PR: bin/161950 MFC after: 3 days
* Speed up vm_page_cache() and vm_page_remove() by checking for a fewalc2011-10-251-18/+72
| | | | | | | | | common cases that can be handled in constant time. The insight being that a page's parent in the vm object's tree is very often its predecessor or successor in the vm object's ordered memq. Tested by: jhb MFC after: 10 days
* Provide an error message instead of silent failure if no disks are presentnwhitehorn2011-10-251-4/+13
| | | | | | | in the system. PR: bin/161950 MFC after: 3 days
* Don't look for includes in userland directories. There is no need for itpjd2011-10-251-1/+0
| | | | | | | and it breaks building the kernel without userland sources. Reported by: andre, imp MFC after: 3 days
* Allow upper layers to discover than BIO_DELETE and/or BIO_FLUSH is notpjd2011-10-251-3/+3
| | | | | | supported by returning EOPNOTSUPP instead of 0 or ENODEV. MFC after: 3 days
* Improve style a bit.pjd2011-10-251-5/+7
| | | | MFC after: 3 days
* Simplify disk_alloc().pjd2011-10-251-4/+2
| | | | MFC after: 3 days
* The v_data field is a pointer, so set it to NULL, not 0.pjd2011-10-251-1/+1
| | | | MFC after: 3 days
* Add support for creating GELI devices with older metadata version for usepjd2011-10-254-12/+140
| | | | | | | | | | | | | | with older FreeBSD versions: - Add -V option to 'geli init' to specify version number. If no -V is given the most recent version is used. - If -V is given don't allow to use features not supported by this version. - Print version in 'geli list' output. - Update manual page and add table describing which GELI version is supported by which FreeBSD version, so one can use it when preparing GELI device for older FreeBSD version. Inspired by: Garrett Cooper <yanegomi@gmail.com> MFC after: 3 days
* Fix typo in copyright notice introduced in r226724mm2011-10-251-1/+1
| | | | | | | (missing character in e-mail adress) Reported by: pjd MFC after: 3 days
* Revert r226726. The line was not duplicated.pjd2011-10-251-0/+1
| | | | | Spotted by: pluknet MFC after: 3 days
* When decoding metadata, check magic string, so we know this is not GELI devicepjd2011-10-251-0/+2
| | | | | | | before we check its version. We don't want to report that some garbage is unsupported version if this is not even GELI provider. MFC after: 3 days
* Fix resize regressions tests - we need to destroy BSDlabel before we canpjd2011-10-251-0/+1
| | | | | | create GPT. MFC after: 3 days
* Prefer G_ELI_VERSION_* defines for version numbers over plain digits.pjd2011-10-251-3/+5
| | | | MFC after: 3 days
* Fit lines into 80 chars.pjd2011-10-251-4/+6
| | | | MFC after: 3 days
* Remove duplicated line.pjd2011-10-251-1/+0
| | | | MFC after: 3 days
* Protect NIS server with madvise(2) since this daemon is requiredglebius2011-10-251-0/+4
| | | | for succesful authentication of users.
* Update copyright information in several ZFS files, as the clause 3.3mm2011-10-255-0/+5
| | | | | | | | | | of the CDDL licence explicitly requires every Contributor to add a copyright notice. This also reflects the copyright notices for the changes recently added by Illumos. MFC after: 3 days
OpenPOWER on IntegriCloud