summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix punctuation.trhodes2009-04-012-2/+2
| | | | | PR: 132834 Submitted by: "Alan R. S. Bueno" <alan.bsd@gmail.com>
* On second thought, remove the comma too.trhodes2009-04-011-1/+1
|
* Remove KSE bits, cross reference libthr.3.trhodes2009-04-011-6/+6
| | | | | PR: 132392 Submitted by: Niclas Zeising <niclas.zeising@gmail.com> (original version)
* Eliminate dead code.alc2009-04-011-13/+0
| | | | Reviewed by: jhb
* Fix the userland, RAS, version of atomic_fetchadd_32 :cognet2009-03-311-9/+10
| | | | | | | return the correct value, and do not store the wrong one in the supplied pointer. Submitted by: Mark Tinguely <tinguely casselton net>
* Use Oxf0000000 instead of 0xff000000 to guess the physical address, relativecognet2009-03-311-2/+2
| | | | | | | to the virtual one. I may had a reason at some point to use the later, but can't remember which, and it can leads to issues. Reported by: Guillaume Ballet <gballet gmail com>
* Use RTF_LLDATA.cognet2009-03-311-1/+1
|
* Fix an uninitialized variable from the previous commit.jkim2009-03-312-2/+4
|
* Probe size of installed memory modules from loader and display itjkim2009-03-313-11/+77
| | | | | | | | | as 'real memory' instead of Maxmem if the value is available. Note amd64 displayed physmem as 'usable memory' since machdep.c r1.640 to unconfuse users. Now it is consistent across amd64 and i386 again. While I am here, clean up smbios.c a bit and update copyright date. Reviewed by: jhb
* Add additional data on the MIIBUS WTF that I committed earlier.imp2009-03-311-0/+4
|
* It turns out that the initialization is required since it sets up theimp2009-03-311-0/+24
| | | | | readout of the MAC address. The 10ms delay was really needed. Ooops.
* o Minor tweaks to the AX88x90 probe routine, mostly related to comments.imp2009-03-311-48/+17
| | | | | | | o Don't run through the register initialization in the read mac routine for the AX88x90. It duplicates other stuff that we do. o Eliminate the 10ms delay after we reset the AX88x90. We already wait for the appropriate bits to indicate reset is done.
* Simplify the radeon microcode loading.rnoland2009-03-312-213/+132
| | | | | Submitted by: Christoph Mallon MFC after: 3 days
* Fix an off-by-one buffer overflow in ngets().jhb2009-03-311-1/+1
| | | | | Submitted by: Bruce Can MFC after: 1 month
* Remove a dangling extern "C" declaration that was missed during therpaulo2009-03-311-4/+0
| | | | | | merge. Fixes C++ ports using libpcap (nmap, for example). Submitted by: Daniel Roethlisberger <daniel at roe.ch>
* fix a bug that it passed a incorrect flag BUS_DMA_ALLOCNOW to createweongyo2009-03-311-1/+1
| | | | | | | | | | a device specific DMA tag. On amd64 it could exhaust all of bounce pages when bus_dma_tag_create(9) is called at malo_pci_attach() then as result in next turn it returns ENOMEM. This fix a attach fail on amd64. Pointed by: yongari Tested by: dchagin MFC after: 3 days
* Add another rum(4) device found inkevlo2009-03-312-0/+2
| | | | http://www.fit-pc.com/new/whats-new.html
* Partial revert r185756.yongari2009-03-311-0/+2
| | | | | | | | | | It seems that RTL8168D and RTL8102EL requires additional settle time to complete RL_PHYAR register write. Accessing RL_PHYAR register right after the write causes errors for subsequent PHY register accesses. Tested by: george at luckytele dot com, Steve Wills < STEVE at stevenwills dot com >
* Go back to filtering all PHY addresses above 16 since at least twoimp2009-03-311-8/+9
| | | | | cards still have issues with them. Maybe this is a silicon rev? In any case, doing the filtering only for the AX88790 for the moment.
* Turn on nodelete linker flag because libthr can not be unloaded safely,davidxu2009-03-311-0/+1
| | | | it does hook on to libc.
* Hmmmm... This can't be right... But it looks like the DL100xx chipsimp2009-03-311-1/+3
| | | | | | | | | | don't have one of the clock cycles (the turn cycle) that the AX88x90 chips have. Make this conditional. But this seems totally crazy and can't possibly be right. Commit the fix for the moment until I can explore this mystery more deeply. On the plus side, the DL10022-based cards I have (D-Link DEF-670TXD and SMC8040TX) work after this fix.
* Integrate user/mav/ata branch:mav2009-03-3012-105/+300
| | | | | | | | | | | Add ch_suspend/ch_resume methods for PCI controllers and implement them for AHCI. Refactor AHCI channel initialization according to it. Fix Port Multipliers operation. It is far from perfect yet, but works now. Tested with JMicron JMB363 AHCI + SiI 3726 PMP pair. Previous version was also tested with SiI 4726 PMP. Hardware sponsored by: Vitsch Electronics / VEHosting.nl
* revert unintended changesam2009-03-301-1/+0
|
* Hoist 802.11 encapsulation up into net80211:sam2009-03-3024-499/+462
| | | | | | | | | | | | | | | | | | | | | | | | | | o call ieee80211_encap in ieee80211_start so frames passed down to drivers are already encapsulated o remove ieee80211_encap calls in drivers o fixup wi so it recreates the 802.3 head it requires from the 802.11 header contents o move fast-frame aggregation from ath to net80211 (conditional on IEEE80211_SUPPORT_SUPERG): - aggregation is now done in ieee80211_start; it is enabled when the packets/sec exceeds ieee80211_ffppsmin (net.wlan.ffppsmin) and frames are held on a staging queue according to ieee80211_ffagemax (net.wlan.ffagemax) to wait for a frame to combine with - drivers must call back to age/flush the staging queue (ath does this on tx done, at swba, and on rx according to the state of the tx queues and/or the contents of the staging queue) - remove fast-frame-related data structures from ath - add ieee80211_ff_node_init and ieee80211_ff_node_cleanup to handle per-node fast-frames state (we reuse 11n tx ampdu state) o change ieee80211_encap calling convention to include an explicit vap so frames coming through a WDS vap are recognized w/o setting M_WDS With these changes any device able to tx/rx 3Kbyte+ frames can use fast-frames. Reviewed by: thompsa, rpaulo, avatar, imp, sephe
* Fix typo in comment.rpaulo2009-03-301-1/+1
|
* MFP mesh11s:rpaulo2009-03-301-1/+1
| | | | Add mesh debugging bit replacing the now deprecated RADKEYS.
* - Add ipfw_nat to the list of required modules if "firewall_nat_enable"emax2009-03-301-2/+12
| | | | | | | | | | is set and "natd_enable" is NOT set; - Accept and pass firewall type to the external firewall script. Submitted by: Yuri Kurenkov < y -dot- kurenkov -at- init -dot- ru > MFC after: 3 days No response from: freebsd-rc
* fake the association id so packets are not rejected in the tx pathsam2009-03-301-0/+2
|
* Remove pseudocode from VOP_* manual pages. It was out of date anyway.trasz2009-03-3016-1075/+0
| | | | | Reviewed by: scottl Approved by: rwatson (mentor)
* Remove ATH_SUPPORT_TDMA and use IEEE80211_SUPPORT_TDMA instead. Itsam2009-03-306-32/+28
| | | | | doesn't make much sense to configure driver support w/o net80211. Note this means ath now depends on opt_wlan.h.
* We don't know what these pages are going to be used for, they should bernoland2009-03-301-1/+1
| | | | | | un-cached. This got lost somewhere with all the bus_dma fixups. MFC after: 3 days
* Add a simple manage for the refcount(9) API.jhb2009-03-302-0/+100
| | | | Requested by: rwatson
* Load the right microcode for RS780.rnoland2009-03-301-4/+4
| | | | MFC after: 3 days
* Two fixes:imp2009-03-301-7/+11
| | | | | | (1) Delete all children when detaching to keep from adding a phy each driver reload. (2) All AX88x90 chips have the RST issue.
* This is a major reworking of the AX88x90 support.imp2009-03-304-125/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Introduce new chip_type AX88790. There's a few places we need to know the exact chip for workaronds. o Explain the AX88190 workaround for the ISR bits being stuck, and don't apply them to the AX88790. The datasheet says the bits are fixed, and experience confirms. o Fix mii bit-bang read code to read and discard the 'floating' bit. o Remove empty ed_pccard_ax88x90_mii_reset routine o Report error from mii_phy_probe o Don't use ed_probe_Novel_generic for ax88x90 chips. It puts them into an odd state sometimes. Instead, use a more stream-lined version that avoids the trouble spots. This was copied and tweaked from the original. o Move chip reset into its own routine. o Minor code optimiation on getting MAC address o Add code for coping with AX88790 cards that are in power down state and need to be kicked before the PHY registers for the internal phy read right. o Remove ugly cap of PHYs at 17. o For AX88790, we need to set a special bit for accessig phy 16 (the internal phy) and clear it for all others according to a chip erratum. o streamline the bit-bang code for AX88x90: the delays aren't needed according to the datasheet timing diagrams and also the Linux driver o Fix minor bit definition for direction bit. o Generally: Some comments reformatted o Only try the toshiba probe on cards labelled as toshiba # From another Akihabara card (this one from a few years ago from a # friend in Japan). Fix the Corega FEther II PCC-TXD. This one is # still on sale new, as of a few weeks ago. should fix all other AX88x90 # based cards, but I have some testing left to finish on my collection...
* New PHY driver for the internal PHY found in the AX88790. There's aimp2009-03-304-1/+238
| | | | | number of quirks for this device, and this implements just the basics. The 2.5s powerdown recommended in the datasheet will be next...
* Fix memory leak in semunload().brueffer2009-03-301-0/+1
| | | | | | PR: 133064 Submitted by: Mateusz Guzik <mjguzik@gmail.com> MFC after: 1 week
* when it failed to inform rx/tx dma setup it should clean up allocatedweongyo2009-03-301-1/+3
| | | | | | dma-related buffers and tags. MFC after: 3 days
* corrects a error message.weongyo2009-03-301-1/+1
|
* handles more exceptional cases when the driver failed to attach.weongyo2009-03-301-5/+7
| | | | MFC after: 3 days
* Implement support for RTLD_NODELETE flag for dlopen() and -z nodeletekib2009-03-304-4/+22
| | | | | | | static linker option. Do it by incrementing reference count on the loaded object and its dependencies. Reviewed by: davidxu, kan
* fix a bug of uses after free.weongyo2009-03-301-2/+1
| | | | | Pointed by: dchagin MFC after: 3 days
* Further rate limit the root wait status, it will be printed once perthompsa2009-03-301-4/+8
| | | | root_mount_rel() wakeup.
* Add PHY entry for the ASIX 88x90 internal PHYs.imp2009-03-301-0/+4
|
* Sharpen the saw:marcel2009-03-301-3/+2
| | | | | | o PC98 uses 32-bit block numbers. Limit the scheme to 2^32-1 blocks when the media is larger. The 32-bit block numbers are implicit (16-bit cylinder * 8-bit head * 8-bit sector).
* Sharpen the saw:marcel2009-03-301-2/+2
| | | | | o MBR uses 32-bit block numbers. Limit the scheme to 2^32-1 blocks when the media is larger.
* Sharpen the saw:marcel2009-03-301-4/+5
| | | | | | | o EBR uses 32-bit block numbers. Limit the scheme to 2^32-1 blocks when the media is larger. o Calculate the number of entries based on the rounded media size, rather than the raw media size.
* Sharpen the saw:marcel2009-03-301-0/+4
| | | | | o Don't create a GPT scheme underneath another scheme when the probe doesn't allow it.
* Replace v_dd vnode pointer with v_cache_dd pointer to struct namecachekan2009-03-293-34/+92
| | | | | | | | | | | | in directory vnodes. Allow namecache dotdot entry to be created pointing from child vnode to parent vnode if no existing links in opposite direction exist. Use direct link from parent to child for dotdot lookups otherwise. This restores more efficient dotdot caching in NFS filesystems which was lost when vnodes stoppped being type stable. Reviewed by: kib
* o add ic_rt to track the rate table for the current channel; this enablessam2009-03-2915-59/+45
| | | | | calculation of packet transmit times to do things like check txop limits o remove equivalent driver code and convert to use net80211 state
OpenPOWER on IntegriCloud