summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Check the return value of bus_setup_intr() when setting up themarius2007-01-151-10/+12
| | | | | | | over-temperature and power-fail interrupts. Suggested by: Coverity Prevent (CID 683) MFC after: 1 week
* - Move Ethernet@WireSpeed and jumbo frame configurations to separatejkim2007-01-151-48/+60
| | | | | | | functions. The idea is taken from OpenBSD. - Set/clear jumbo frame configurations for bge(4). - Re-add BCM5750 PHY workaround for bce(4), which was mistakenly removed from the previous commit.
* - Fix BCM5754 support found in Dell PowerEdge SC440.jkim2007-01-154-41/+85
| | | | | | | | | | | - Move some PHY bug detections from brgphy.c to if_bge.c. - Do not penalize working PHYs. - Re-arrange bge_flags roughly by their categories. - Fix minor style(9) nits. PR: kern/107257 Obtained from: OpenBSD Tested by: Mike Hibler <mike at flux dot utah dot edu>
* Rewrite the udf_read() routine to use a file vnode instead of the devvp vnode.pav2007-01-151-24/+52
| | | | | | | | | | | | The code is modelled after cd9660, including support for simple read-ahead courtesy of clustered read. Fix udf_strategy to DTRT. This change fixes sendfile(2) not to send out garbage. Reviewed by: scottl MFC after: 1 month
* Clean up some debug prints from last commit and move one under boot -v.njl2007-01-151-6/+5
| | | | Reminded by: bruno
* Add a missing mutex unlock to an error path.scottl2007-01-151-0/+1
| | | | | Submitted by: Yuxiang Luo PR: 107943
* Tidy up formatting and some wording.ru2007-01-152-43/+65
|
* - Macroizes the V6ONLY flag check.rrs2007-01-1517-243/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added a short time wait (not used yet) constant - Corrected the type of the crc32c table (it was unsigned long and really is a uint32_t - Got rid of the user of MHeaders until they are truely needed by lower layers. - Fixed an initialization problem in the readq structure (ordering was off). - Found yet another collision bug when the random number generator returns two numbers on one side (during a collision) that are the same. Also added some tracking of cookies that will go away when we know that we have the last collision bug gone. - Fixed an init bug for book_size_scale, that was causing Early FR code to run when it should not. - Fixed a flight size tracking bug that was associated with Early FR but due to above bug also effected all FR's - Fixed it so Max Burst also will apply to Fast Retransmit. - Fixed a bug in the temporary logging code that allowed a static log array overflow - hashinit_flags is now used. - Two last mcopym's were converted to the macro sctp_m_copym that has always been used by all other places - macro sctp_m_copym was converted to upper case. - We now validate sinfo_flags on input (we did not before). - Fixed a bug that prevented a user from sending data and immediately shuting down with one send operation. - Moved to use hashdestroy instead of free() in our macros. - Fixed an init problem in our timed_wait vtag where we did not fully initialize our time-wait blocks. - Timer stops were re-positioned. - A pcb cleanup method was added, however this probably will not be used in BSD.. unless we make module loadable protocols - I think this fixes the mysterious timer bug.. it was a ordering of locks problem in the way we did timers. It now conforms to the timeout(9) manual (except for the _drain part, we had to do this a different way due to locks). - Fixed error return code so we get either CONNREUSED or CONNRESET depending on where one is in progression - Purged an unused clone macro. - Fixed a read erro code issue where we were NOT getting the proper error when the connection was reset. - Purged an unused clone macro. - Fixed a read erro code issue where we were NOT getting the proper error when the connection was reset. Approved by: gnn
* Reviewed by: rwatsonrrs2007-01-154-10/+70
| | | | | | | | Approved by: gnn Add a new function hashinit_flags() which allows NOT-waiting for memory (or waiting). The old hashinit() function now calls hashinit_flags(..., HASH_WAITOK);
* o Add FreeBSD 6.2, bump copyright years.maxim2007-01-151-5/+8
|
* Whitespace cleanup.glebius2007-01-152-14/+14
| | | | Checked with: cvs diff -b
* Update ip and tcp pointers after m_pullup().glebius2007-01-151-0/+3
| | | | Submitted by: Alexander Motin <mav alkar.net>
* add compat shim for ath_hal_isgsmsku until the new hal gets committedsam2007-01-151-0/+5
|
* Add initial support for 900MHz channels; still has some roughsam2007-01-151-7/+35
| | | | | | | edges but ifconfig ath0 list chan works and you can use ieee channel #'s to lock/select a channel. MFC after: 1 month
* save changes for handling 5416/5418 partssam2007-01-152-28/+30
|
* Add initial support for 900MHz cards like the Ubiquiti SR9:sam2007-01-152-36/+55
| | | | | | | | o eliminate assumptions that half/quarter rate channels on exist in 11a o handle frequency mapping between hal and net80211; hal gives us freq's in the range 2422..2437 that we remap MFC after: 1 month
* Add initial support for 900MHz cards like the Ubiquiti SR9:sam2007-01-153-49/+65
| | | | | | | | | | | | | | | | o add channel flag to enable freq <-> ieee channel # mapping (can go away in the future when ieee number is precomputed) o add mapping between 900mhz freq's and channel #'s that gives a unique channel # for each half/quarter/full width channel o remove assumptions that half/quarter rate channels on happen in 11a o remove assumptions that all 11g channels are full width o ensure ic_curchan is reset on mode change so changing the channel list (e.g. on countrycode change) doesn't leave curchan set to an invalid channel There is still an issue with switching rate sets; to be fixed separately. MFC after: 1 month
* Propagate the CPU model to the hw.model sysctl.marcel2007-01-143-6/+5
|
* o Increment requests counter right before send out an ARP query actually.maxim2007-01-141-1/+2
| | | | | | | | Otherwise the code could lead to the spurious EHOSTDOWN errors. PR: kern/107807 Submitted by: Dmitrij Tejblum MFC after: 1 month
* MFp4 (112379):netchild2007-01-141-2/+6
| | | | | | | Implement SETALL/GETALL IPC primitives. This fixes some LTP testcases and LabView is able to proceed a little bit further. Submitted by: rdivacky
* MFp4 (112893):netchild2007-01-142-0/+2
| | | | | | | Make linux_vfork() actually work. This enables make to work again with 2.6. It also fixes the LTP vfork tests. Submitted by: rdivacky
* MFp4 (112705):netchild2007-01-141-3/+2
| | | | | | | Inherit setting of the default emulation version to the jails. Pointed out by: jhb Submitted by: rdivacky
* o Wrap long lines.maxim2007-01-141-8/+16
|
* o Typo: note -> node.maxim2007-01-141-1/+1
| | | | | | PR: misc/107906 Submitted by: Alex Keda MFC after: 3 days
* o Move the comment to the correct place.maxim2007-01-141-1/+1
| | | | | PR: misc/107904 MFC after: 3 days
* Updated calendar.judaic from Josef Grosch. I converted some tabs to spacesdwmalone2007-01-141-206/+212
| | | | before committing this.
* exclude the icu and clock lock from LOCK_PROFILINGkmacy2007-01-141-2/+2
|
* Forced commit to denote that this file has been repo-copied frommarius2007-01-130-0/+0
| | | | src/sys/sparc64/include/ofw_upa.h.
* Forced commit to denote that this file has been repo-copied frommarius2007-01-130-0/+0
| | | | sys/dev/fb/gallant12x22.h.
* Forced commit to denote that this file has been repo-copied frommarius2007-01-130-0/+0
| | | | sys/sparc64/creator/creator.h.
* - Allow multiple (external) PHYs with Am79C97{2,6}, which actuallymarius2007-01-131-5/+15
| | | | | | | | | | | | | | | | | | | only support external PHYs (besides not connectable internal ones which respond at the usual addresses, but which don't hurt if we let them show up) and don't wedge when isolating PHYs. Actually, this change special cases limiting PHYs to Am79C97{3,5,8}, for which this driver doesn't implement swiching between the internal and external PHYs, yet, and Am79C971, where isolating the external PHY (at least in case it's a DP83840A) wedges the chip. Together with sys/dev/mii/acphy.c rev. 1.21 this adds support for the 100baseFX port of AT-2700 series adaptors, which use two AC101, one for the copper and one for the fibre port (there might be variants which only use one PHY though). - Fix a bug in the previous revision that prevented the address of the used (external) PHY to be actually recorded. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. MFC after: 1 week
* Fixed a panic in the probe. The memory resource was accessed afterbde2007-01-131-2/+3
| | | | | releasing it. This seems to have worked until a few days ago, but now the memory is unmapped.
* - Add a new flag to the PCI-PCI driver to disable MSI on devices behind thejhb2007-01-133-0/+16
| | | | | | | | | bridge if it doesn't pass MSI messages up correctly. We set the flag in pcib_attach() if the device ID is disabled via a PCI quirk. - Disable MSI for devices behind the AMD 8131 HT-PCIX bridge. Linux has the same quirk. Tested by: no one despite repeated calls for testers
* - Add a locked variant of bce_ifmedia_upd() for use within the driver andjhb2007-01-131-7/+18
| | | | | | | | add missing locking to bce_ifmedia_upd(). - While I'm here, unexpand an instance of LIST_FOREACH(). MFC after: 2 weeks Reviewed by: scottl
* Correct the int->text conversion. <sigh>kientzle2007-01-131-1/+1
| | | | MFC after: 3 days
* Fix headphone/speaker automute for [1] Acer Aspire 5050 and [2] MSI MS-1034ariff2007-01-131-0/+27
| | | | | | | | | | | laptops. Tested by: [1] Lion G. <liontanker@hotmail.com> [2] Pietro Cerutti <pietro.cerutti@gmail.com> Specialized mixer initialization for STAC9221, much like STAC9220. Tested by: Devon H. O'Dell
* After another thought there is another nail for the mii_phy_dev_probe()-marius2007-01-131-19/+12
| | | | hammer.
* Remove mii_media_from_bmcr(); all previous users have been converted tomarius2007-01-132-20/+0
| | | | use mii_phy_add_media()/mii_phy_setmedia().
* - Take advantage of mii_phy_dev_probe() and mii_phy_setmedia().marius2007-01-131-52/+22
| | | | | | | | | | | - Set MIIF_NOLOOP as loopback doesn't work with this PHY. The MIIF_NOLOOP flag currently triggers nothing but hopefully will be respected by mii_phy_setmedia() later on. - Use MII_ANEGTICKS instead of 5. - Remove an unused macro. - Fix some whitespace nits. MFC after: 1 week
* - Take advantage of mii_phy_dev_probe().marius2007-01-121-39/+19
| | | | | | | | | | - In exphy_service() for the MII_TICK case don't bother to check whether the currently selected media is of type IFM_AUTO as auto-negotiation doesn't need to be kicked anyway. - Remove #if 0'ed unapplicable code. - Fix some whitespace nits. MFC after: 1 week
* Set MIIF_HAVE_FIBER and add IFM_100_FX media when the AC_MCTL_FX_SELmarius2007-01-121-0/+13
| | | | | | | | | and thus the FX_DIS pin indicates fibre media. This is part 1/2 of adding support for the 100baseFX interface/port of AT-2700 series adaptors. Idea from: NetBSD MFC after: 1 week
* - Correct the AC_MCTL_BYP_PCS constant.marius2007-01-121-14/+14
| | | | - Correct whitespace nits (use #define<tab>, remove trailing whitespace).
* Use mii_phy_add_media()/mii_phy_setmedia()-compatible media tablemarius2007-01-126-7/+7
| | | | | | indices when manually adding media. Some of these I've missed while converting drivers to take advantage of said fuctions recently, others where longstanding bugs.
* Ignore EINPROGRESS error on TCP connect(), and pick up the result of therwatson2007-01-121-4/+23
| | | | | | | non-blocking connect later using select(). This case didn't trigger on my UP test box, but did on Peter's SMP test box. Spotted by: peter
* Re-wrap comments to wider margins now that they have been relocated fromrwatson2007-01-122-18/+14
| | | | within functions.
* Add a regression test for sending and writing zero bytes to sockets ofrwatson2007-01-122-0/+278
| | | | | | | | | | | various types, as well as pipes and fifos for good measure. RELENG_6 currently passes all of these tests, but 7-CURRENT fails 0-byte writes and sends on all stream socket types (and fifos, as they are based on stream sockets). Bumped into by: peter Diagnosed by: jhb Problem of: andre
* Disable MSI for two ServerWorks chipsets. The first is based on a userjhb2007-01-121-0/+7
| | | | report. The second is blacklisted in Linux.
* Blacklist a few more Intel chipsets re: MSI based on user reports:jhb2007-01-121-2/+4
| | | | E7500 and 855.
* Clean up DDP layer netatalk code:rwatson2007-01-127-875/+795
| | | | | | | | | - General style(9) cleanup -- white space, braces, line wraps, etc. - Annotate a lack of synchronization the global route cache if the input routine is invoked with parallelism. - Remove unused debugging code.
* - Condense the comment for Intel chipset MSI blacklist entries.jhb2007-01-121-7/+3
| | | | | | | - Blacklist the E7210. PR: kern/105768 (2) Reported by: marcus (2)
OpenPOWER on IntegriCloud