summaryrefslogtreecommitdiff
path: root/sys/modules
Commit message (Collapse)AuthorAgeFilesLines
* Copy releng/7.3 to release/7.3.0 to mark 7.3-RELEASE.release/7.3.0_cvsKen Smith2010-03-21660-660/+660
| | | | | | Approved by: re (implicit) This commit was manufactured to restore the state of the 7.3-RELEASE image.
* MFC: r202290Christian Brueffer2010-01-211-0/+2
| | | | | | | Build iwi(4) and iwifw(4) modules on amd64 as well. Notes: svn path=/stable/7/; revision=202754
* MFC ↵Navdeep Parhar2010-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r194917,r194918,r197043,r197791,r199239,r199240,r200003,r201907,r202671,r202678: r194917: About to add 10Gbase-T to known media types, this is just a whitespace cleanup before that commit. No functional impact. r194918: Add 10Gbase-T to known ethernet media types Some parts of r194521 (convert the port and adapter locks from sx_locks to regular mutexes). r197043: There is no need to log anything for a ctrlq stall or restart. These are normal events. r197791: cxgb(4) updates, including: - support for the new Gen-2, BT, and LP-CR cards. - T3 firmware 7.7.0 - shared "common code" updates. r199239: The 10GBASE-T card should use an IPG of 1. Also enable the check for low power startup on this card. r199240: Don't disable the XGMAC's tx on ifconfig down. It is unnecessary and can cause false backpressure in the chip. Fix a us/ms mixup while here. r200003: T3 firmware 7.8.0 for cxgb(4) r201907: Extra parantheses to keep certain compilers happy. r202671: Fix for a cxgb(4) panic. cxgb_ioctl can be called by the IP and IPv6 layers with non-sleepable locks held. Don't (potentially) sleep in those situations. r202678: Complain if freelist queue sizes are significantly less than desired. Notes: svn path=/stable/7/; revision=202745
* MFC r201742:Bjoern A. Zeeb2010-01-171-1/+1
| | | | | | | | | | After adding an SDT provider for opencrypto in r199884 we should also depend on opt_kdtrace.h for the module build. Submitted by: (Andre.Albsmeier siemens.com) Notes: svn path=/stable/7/; revision=202474
* MFC: r202006Marius Strobl2010-01-152-0/+10
| | | | | | | | Add epic(4), a driver for the front panel LEDs in Sun Fire V215/V245. It's named after the driver doing the same job in OpenSolaris. Notes: svn path=/stable/7/; revision=202411
* MFC r181739:Pyun YongHyeon2010-01-141-1/+1
| | | | | | | Move the ste driver from sys/pci to sys/dev/ste. Notes: svn path=/stable/7/; revision=202296
* MFC several ZFS related commits:Alexander Leidinger2010-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - taskq changes - fixes for race conditions - locking fixes - bug fixes - ... r185310: ---snip--- Remove unused variable. Found with: Coverity Prevent(tm) CID: 3669,3671 ---snip--- r185319: ---snip--- Fix locking (file descriptor table and Giant around VFS). Most submitted by: kib Reviewed by: kib ---snip--- r192689: ---snip--- Fix comment. ---snip--- r193110: ---snip--- work around snapshot shutdown race reported by Henri Hennebert ---snip--- r193440: ---snip--- Support shared vnode locks for write operations when the offset is provided on filesystems that support it. This really improves mysql + innodb performance on ZFS. Reviewed by: jhb, kmacy, jeffr ---snip--- ATTENTION: this commit to releng7 does not allow shared vnode locks (there are some VFS changes needed before it can be enabled), it only provides the infrastructure and serves mostly as a diff reduction in the ZFS code. A comment has been added to the locking part to explain why no shared locks are used. r195627: ---snip--- In nvpair_native_embedded_array(), meaningless pointers are zeroed. The programmer was aware that alignment was not guaranteed in the packed structure and used bzero() to NULL out the pointers. However, on ia64, the compiler is quite agressive in finding ILP and calls to bzero() are often replaced by simple assignments (i.e. stores). Especially when the width or size in question corresponds with a store instruction (i.e. st1, st2, st4 or st8). The problem here is not a compiler bug. The address of the memory to zero-out was given by '&packed->nvl_priv' and given the type of the 'packed' pointer the compiler could assume proper alignment for the replacement of bzero() with an 8-byte wide store to be valid. The problem is with the programmer. The programmer knew that the address did not have the alignment guarantees needed for a regular assignment, but failed to inform the compiler of that fact. In fact, the programmer told the compiler the opposite: alignment is guaranteed. The fix is to avoid using a pointer of type "nvlist_t *" and instead use a "char *" pointer as the basis for calculating the address. This tells the compiler that only 1-byte alignment can be assumed and the compiler will either keep the bzero() call or instead replace it with a sequence of byte-wise stores. Both are valid. ---snip--- r195822: ---snip--- Fix extattr_list_file(2) on ZFS in case the attribute directory doesn't exist and user doesn't have write access to the file. Without this fix, it returns bogus value instead of 0. For some reason this didn't manifest on my kernel compiled with -O0. PR: kern/136601 Submitted by: Jaakko Heinonen <jh at saunalahti dot fi> ---snip--- r195909 ---snip--- We don't support ephemeral IDs in FreeBSD and without this fix ZFS can panic when in zfs_fuid_create_cred() when userid is negative. It is converted to unsigned value which makes IS_EPHEMERAL() macro to incorrectly report that this is ephemeral ID. The most reasonable solution for now is to always report that the given ID is not ephemeral. PR: kern/132337 Submitted by: Matthew West <freebsd@r.zeeb.org> Tested by: Thomas Backman <serenity@exscape.org>, Michael Reifenberger <mike@reifenberger.com> ---snip--- r196291: ---snip--- - Fix a race where /dev/zfs control device is created before ZFS is fully initialized. Also destroy /dev/zfs before doing other deinitializations. - Initialization through taskq is no longer needed and there is a race where one of the zpool/zfs command loads zfs.ko and tries to do some work immediately, but /dev/zfs is not there yet. Reported by: pav ---snip--- r196269: ---snip--- Fix misalignment in nvpair_native_embedded() caused by the compiler replacing the bzero(). See also revision 195627, which fixed the misalignment in nvpair_native_embedded_array(). ---snip--- r196295: ---snip--- Remove OpenSolaris taskq port (it performs very poorly in our kernel) and replace it with wrappers around our taskqueue(9). To make it possible implement taskqueue_member() function which returns 1 if the given thread was created by the given taskqueue. ---snip--- The taskqueue_member() function is different due to kproc/kthread changes in releng8 and head, the function was... Revieved by: jhb r196297: ---snip--- Fix panic in zfs recv code. The last vnode (mountpoint's vnode) can have 0 usecount. Reported by: Thomas Backman <serenity@exscape.org> ---snip--- r196299: ---snip--- - We need to recycle vnode instead of freeing znode. Submitted by: avg - Add missing vnode interlock unlock. - Remove redundant znode locking. ---snip--- r196301: ---snip--- If z_buf is NULL, we should free znode immediately. Noticed by: avg ---snip--- r196307: ---snip--- Manage asynchronous vnode release just like Solaris. Discussed with: kmacy ---snip--- Notes: svn path=/stable/7/; revision=201633
* MFC r190501,190521,192029: Add support for Phenom (Family 10h) to cpufreq.Andriy Gapon2009-12-211-1/+1
| | | | | | | This also has changes from r197070 (earlier partial MFC). Notes: svn path=/stable/7/; revision=200773
* MFC r199969: amdsbwd: new driver for AMD SB600/SB7xx watchdog timerAndriy Gapon2009-12-212-0/+11
| | | | Notes: svn path=/stable/7/; revision=200766
* MFC r197518:Bjoern A. Zeeb2009-12-132-0/+11
| | | | | | | | | | | | | | | | | | | | | | lindev(4) [1] is supposed to be a collection of linux-specific pseudo devices that we also support, just not by default (thus only LINT or module builds by default). While currently there is only "/dev/full" [2], we are planning to see more in the future. We may decide to change the module/dependency logic in the future should the list grow too long. This is not part of linux.ko as also non-linux binaries like kFreeBSD userland or ports can make use of this as well. Suggested by: rwatson [1] (name) Submitted by: ed [2] Discussed with: markm, ed, rwatson, kib (weeks ago) Reviewed by: rwatson, brueffer (prev. version) PR: kern/68961 Notes: svn path=/stable/7/; revision=200479
* MFC r179785, r180496:Bjoern A. Zeeb2009-11-292-13/+1
| | | | | | | | | | Remove obselete PECOFF image activator support. Discussed with: secteam, kib Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=199901
* MFC r199015: ichwd: don't attach to isa pnp device(s) by accidentAndriy Gapon2009-11-171-1/+1
| | | | Notes: svn path=/stable/7/; revision=199353
* MFC 198279: fix sorting of some amd* entries in some makefilesAndriy Gapon2009-11-011-2/+2
| | | | Notes: svn path=/stable/7/; revision=198764
* MFC r196470-196471,197154-197155,197603-197606Robert Noland2009-10-301-2/+2
| | | | | | | | | Sync radeon drm support This adds kernel support for r6/7xx 3D. Notes: svn path=/stable/7/; revision=198686
* Fix firmware module build when it is notAndrew Gallatin2009-10-241-1/+1
| | | | | | | | | | | built with the kernel (eg, make world when MODULES_WITH_WORLD is defined) Submitted by: Andre Albsmeier at siemens dot com Pointy hat to: gallatin Notes: svn path=/stable/7/; revision=198446
* Fix typo which has survived amazingly long!Ermal Luçi2009-10-141-1/+1
| | | | | | | Approved by: mlaier(mentor) Notes: svn path=/stable/7/; revision=198084
* MFC: r194763, r194886Marius Strobl2009-09-201-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Initialize the ifnet structure, especially if_dname, before probing the PHYs as some PHY drivers use it (but probably shouldn't). How gem(4) has worked with brgphy(4) on powerpc without this so far is unclear to me. - Call ether_ifdetach(9) before stopping the controller and the callouts. The consensus is that the latter is now safe to do and should also solve the problem of active BPF listeners clearing promiscuous mode can result in the tick callout being restarted which in turn will trigger a panic once it's actually gone. - Introduce a dying flag which is set during detach and checked in gem_ioctl() in order to prevent active BPF listeners to clear promiscuous mode which may lead to the tick callout being restarted which will trigger a panic once it's actually gone. - In gem_stop() reset rather than just disable the transmitter and receiver in order to ensure we're not unloading DMA maps still in use by the hardware. [1] - The blanking time is specified in PCI clocks so we should use twice the value when operating at 66MHz. - Spell some 2 as ETHER_ALIGN and a 19 as GEM_STATUS_TX_COMPLETION_SHFT to make the actual intentions clear. - As we don't unload the peak attempts counter ignore its overflow interrupts. - Remove a stale setting of a variable to GEM_TD_INTERRUPT_ME which isn't used afterwards. - For optimum performance increment the TX kick register in multiples of 4 if possible as suggested by the documentation. - Partially revert r164931; drivers should only clear the watchdog timer if all outstanding TX descriptors are done. - Fix some debugging strings. - Add a missing BUS_DMASYNC_POSTWRITE in gem_rint(). - As the error paths in the interrupt handler are generally unlikely predict them as false. - Add support for the SBus version of the GEM controller. [2] - Add some lock assertions. - Improve some comments. - Fix some more or less cosmetic issues in the code of the PCI front-end. - Change some softc members to be unsigned where more appropriate and remove unused ones. Obtained from: NetBSD (partially) [2], OpenBSD [1] Notes: svn path=/stable/7/; revision=197349
* MFC: 194246, 194904, 194973Marius Strobl2009-09-202-0/+9
| | | | | | | | | | | | | Add cas(4), a driver for Sun Cassini/Cassini+ and National Semiconductor DP83065 Saturn Gigabit Ethernet controllers. These are the successors of the Sun GEM controllers and still have a similar but extended transmit logic. As such this driver is based on gem(4). Thanks to marcel@ for providing a Sun Quad GigaSwift Ethernet UTP (QGE) card which was vital for getting this driver to work on architectures not using Open Firmware. Notes: svn path=/stable/7/; revision=197343
* Add these two modules to enable loading of 'the other' host controllerNick Hibma2009-08-133-0/+26
| | | | | | | | | | | if only one was compiled into the kernel. This happens on a laptop with an Intel chipset (UHCI) to which an Option 3G Cardbus card is added (which contains a NEC USB host controller (OHCI)). Notes: svn path=/stable/7/; revision=196168
* MFC: r187109, r187112Jung-uk Kim2009-07-141-0/+5
| | | | | | | | r187109 - Add basic amd64 support for VIA Nano processors. r187112 - Connect padlock(4) to amd64 build for VIA Nano processors. Notes: svn path=/stable/7/; revision=195686
* MFC: Replace remaining cpu_vendor with cpu_vendor_id andJung-uk Kim2009-07-131-1/+1
| | | | | | | | | | | | | | | | | add basic VIA Nano processor support for amd64 and i386. r186797 - Add Centaur/IDT/VIA vendor ID for Nano family. r187101 - Allow VIA Nano processors to boot FreeBSD/amd64. r187117 - Replace more cpu_vendor with cpu_vendor_id. r187118 - Add basic i386 support for VIA Nano processors. r187157 - Enable MSI support for VIA Nano processors on i386. r187594 - Replace more cpu_vendor with cpu_vendor_id. r187597 - Include a missing header file. r187598 - VIA Nano processor has P-state invariant TSC. r187633 - Add more VIA bridges to agp_via.c. Notes: svn path=/stable/7/; revision=195667
* MFC 193880,193887:Pyun YongHyeon2009-06-182-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r193880: Add alc(4), a driver for Atheros AR8131/AR8132 PCIe ethernet controller. These controllers are also known as L1C(AR8131) and L2C(AR8132) respectively. These controllers resembles the first generation controller L1 but usage of different descriptor format and new register mappings over L1 register space requires a new driver. There are a couple of registers I still don't understand but the driver seems to have no critical issues for performance and stability. Currently alc(4) supports the following hardware features. o MSI o TCP Segmentation offload o Hardware VLAN tag insertion/stripping o Tx/Rx interrupt moderation o Hardware statistics counters(dev.alc.%d.stats) o Jumbo frame o WOL AR8131/AR8132 also supports Tx checksum offloading but I disabled it due to stability issues. I'm not sure this comes from broken sample boards or hardware bugs. If you know your controller works without problems you can still enable it. The controller has a silicon bug for Rx checksum offloading, so the feature was not implemented. I'd like to say big thanks to Atheros. Atheros kindly sent sample boards to me and answered several questions I had. HW donated by: Atheros Communications, Inc. r193887: fix directory name. Notes: svn path=/stable/7/; revision=194426
* merge r192852, r192855: opt_apic.h is only used on i386.Dag-Erling Smørgrav2009-06-171-1/+4
| | | | Notes: svn path=/stable/7/; revision=194365
* Add opt_hwpmc_hooks.h to fix building individual modules fromNick Hibma2009-06-153-3/+3
| | | | | | | /sys/modules. Notes: svn path=/stable/7/; revision=194261
* MFC hwpmc framework:Fabien Thomas2009-06-071-2/+4
| | | | | | | | | | | | | | - capture with callchain - Intel Core 2 support - Intel Core i7 support - source code annotate (pmcannotate) - bug fixes Reviewed by: jkoshy (mentor) Approved by: re (gnn) Notes: svn path=/stable/7/; revision=193634
* MFC of 189643George V. Neville-Neil2009-06-051-0/+1
| | | | | | | | | | | | | Update the Chelsio driver to the latest bits from Chelsio Firmware upgraded to 7.1.0 (from 5.0.0). T3C EEPROM and SRAM added; Code to update eeprom/sram fixed. fl_empty and rx_fifo_ovfl counters can be observed via sysctl. Two new cxgbtool commands to get uP logic analyzer info and uP IOQs Synced up with Chelsio's "common code" (as of 03/03/09) Notes: svn path=/stable/7/; revision=193539
* Merge r191877 from HEAD to stable/7:Dmitry Chagin2009-05-261-0/+3
| | | | | | | | | Add preliminary KTR(9) support to the linux emulation layer. Approved by: kib (mentor) Notes: svn path=/stable/7/; revision=192806
* MFC 189748, 189768, 189769, 189774:Rui Paulo2009-05-213-11/+12
| | | | | | | Rename k8temp to amdtemp and add support for the 10h and 11h families. Notes: svn path=/stable/7/; revision=192548
* MFC ZFS version 13. This includes the changes by pjd (see original messageKip Macy2009-05-202-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | below) as well as the following: - the recurring deadlock was fixed by deferring vinactive to a dedicated thread - zfs boot for all pool types now works Submitted by: dfr - kmem now goes up to 512GB so arc is now limited by physmem - the arc now experiences backpressure from the vm (which can be too much - but this allows ZFS to work without any tunables on amd64) - frequently recurring LOR in the ARC fixed - zfs send coredump fix - fixes for various PRs Supported by: Barrett Lyon, BitGravity Revision 185029 - (view) (annotate) - [select for diffs] Modified Mon Nov 17 20:49:29 2008 UTC (6 months ago) by pjd File length: 38244 byte(s) Diff to previous 177698 Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. This bring huge amount of changes, I'll enumerate only user-visible changes: - Delegated Administration Allows regular users to perform ZFS operations, like file system creation, snapshot creation, etc. - L2ARC Level 2 cache for ZFS - allows to use additional disks for cache. Huge performance improvements mostly for random read of mostly static content. - slog Allow to use additional disks for ZFS Intent Log to speed up operations like fsync(2). - vfs.zfs.super_owner Allows regular users to perform privileged operations on files stored on ZFS file systems owned by him. Very careful with this one. - chflags(2) Not all the flags are supported. This still needs work. - ZFSBoot Support to boot off of ZFS pool. Not finished, AFAIK. Submitted by: dfr - Snapshot properties - New failure modes Before if write requested failed, system paniced. Now one can select from one of three failure modes: Before if write requested failed, system paniced. Now one can select from one of three failure modes: - panic - panic on write error - wait - wait for disk to reappear - continue - serve read requests if possible, block write requests - Refquota, refreservation properties Just quota and reservation properties, but don't count space consumed by children file systems, clones and snapshots. - Sparse volumes ZVOLs that don't reserve space in the pool. - External attributes Compatible with extattr(2). - NFSv4-ACLs Not sure about the status, might not be complete yet. Submitted by: trasz - Creation-time properties - Regression tests for zpool(8) command. Obtained from: OpenSolaris Notes: svn path=/stable/7/; revision=192498
* Update Makefile with new file for ixgbe driverJack F Vogel2009-04-141-1/+3
| | | | | | | Approved by: re Notes: svn path=/stable/7/; revision=191032
* MFC: r190375, r190376Marius Strobl2009-03-281-0/+3
| | | | | | | | | | Given that zfs.ko depends on opensolaris.ko also build the latter by default on sparc64. Approved by: re (kib) Notes: svn path=/stable/7/; revision=190511
* MFC: r190374Marius Strobl2009-03-281-1/+1
| | | | | | | | | As with ZFS use real atomic operations for sparc64. Approved by: re (kib) Notes: svn path=/stable/7/; revision=190510
* MFC the (current) u3g driver, a driver for USB based 3G cards and dongles.Nick Hibma2009-03-222-0/+13
| | | | | | | | | | | This includes changes to ubsa (removing attachment from that device), and small changes to ucom. Note: A change to umass reducing the attach priority for it was committed already. Notes: svn path=/stable/7/; revision=190268
* MFC: r181740Warner Losh2009-03-191-1/+1
| | | | | | | Move pcn. Notes: svn path=/stable/7/; revision=190104
* MFC 181524:Warner Losh2009-03-181-1/+1
| | | | | | | Move sis to sys/dev/sis for consistency. Notes: svn path=/stable/7/; revision=189990
* Sync gpart with the trunk. This includes:Marcel Moolenaar2009-03-172-0/+13
| | | | | | | | | | | o APM scheme supports Tivo Series 1 partitions (read only). o Bootcode support added to BSD scheme. o New EBR scheme to support Extended Boot Records (logical partitions). o PC98 scheme fixes (credits to nyan@) o VTOC8 scheme fixes (credits to marius@) Notes: svn path=/stable/7/; revision=189935
* Merge 189499,189557,189558Robert Noland2009-03-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the radeon r600+ code with fixes. A few days early, but it seems to fix some other vblank related issues as well. 189499: Import support for ATI Radeon R600 and R700 series chips. Tested on an HD3850 (RV670) on loan from Warren Block. Currently, you need one of the following for this to be useful: x11-drivers/xf86-video-radeonhd-devel (not tested) xf86-video-ati from git (EXA works, xv is too fast) xf86-video-radeonhd from git (EXA works, xv works) There is no 3d support available from dri just yet. 189557: Call the right function for the right chipset. 189558: -Make the PCI(E)/AGP calculations consistent -Calculate the scratch address correctly Notes: svn path=/stable/7/; revision=189855
* Merge the open source Atheros HAL from HEAD to STABLE.Bruce M Simpson2009-03-126-310/+72
| | | | | | | | | | | | | | | This adds support for the AH_SUPPORT_AR5416 kernel configuration option, and removes the ath_rate* and ath_hal modules. Their kernel options are not however removed -- please see UPDATING. Tested on an IBM/Lenovo T43 and ASUS EeePC 701 in both STA and HostAP modes. Submitted by: sam Notes: svn path=/stable/7/; revision=189720
* MFC: Rework the lifetime management of the kernel implementation of POSIXJohn Baldwin2009-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | semaphores. Specifically, semaphores are now represented as new file descriptor type that is set to close on exec. This removes the need for all of the manual process reference counting (and fork, exec, and exit event handlers) as the normal file descriptor operations handle all of that for us nicely. It is also suggested as one possible implementation in the spec and at least one other OS (OS X) uses this approach. Refer to the original commit for more details on specific bug fixes, etc. A notable difference in this MFC relative to the original commit to HEAD is that the MAC entry points are unchanged to preserve the ABI for MAC policy modules. fstat() on a POSIX semaphore in 7 uses the mac_check_posix_sem_getvalue() hook to determine access as that is the closest match to stat() of the available hooks. Discussed with: rwatson (MAC bits (or lack thereof)) Notes: svn path=/stable/7/; revision=188727
* MFC: Add 32-bit compat system calls for VFS_AIO.John Baldwin2009-01-211-1/+1
| | | | Notes: svn path=/stable/7/; revision=187559
* MFC r186851Rong-En Fan2009-01-141-9/+0
| | | | | | | | | | | | | | | - Remove snd_au88x0 which seems never got compiled into kernel nor as a kernel module. These files cause manual interaction when building ports/audio/aureal-kmod which provides a usable i386-only driver (it requires linking against some linux object files distributed by vendor which bankrupted back in 2000). MFC after: 1 week PR: 124343 Notes: svn path=/stable/7/; revision=187209
* - MFC cpuctl and related commits into RELENG_7.Stanislav Sedov2009-01-122-0/+11
| | | | | | | | | | | | First revision of usr.sbin/cpucontrol was merged directly into usr.sbin since there're no such directory in stable/7 yet. Subsequient changes went into usr.sbin/cpucontrol. Approved by: kib (mentor) Notes: svn path=/stable/7/; revision=187099
* MFC most all of drm from HEAD.Robert Noland2009-01-101-1/+1
| | | | | | | | | | | | | | | | | | | This brings in the following: Merged /head/sys:r182080,182467-182469,182883-182884,183573, 183603-183605,183828,183830-183834,184212-184213,184263, 184373-184375 - Support for latest Intel chips - Support and fixes for many AMD/ATI chips r500 and below - Support AMD/ATI IGP based chips (rs690/rs485) - Lots of code cleanups - Lots of other fixes and changes since the existing drm is 2+ years old Approved by: kib Notes: svn path=/stable/7/; revision=187021
* MFC rev. 184138.Alexander Motin2009-01-052-0/+11
| | | | | | | Add mmc, mmcsd and sdhci modules to the build. Notes: svn path=/stable/7/; revision=186792
* MFC r184870:Pyun YongHyeon2008-11-242-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ale(4), a driver for Atheros AR8121/AR8113/AR8114 PCIe ethernet controller. The controller is also known as L1E(AR8121) and L2E(AR8113/AR8114). Unlike its predecessor Attansic L1, AR8121/AR8113/AR8114 uses completely different Rx logic such that it requires separate driver. Datasheet for AR81xx is not available to open source driver writers but it shares large part of Tx and PHY logic of L1. I still don't understand some part of register meaning and some MAC statistics counters but the driver seems to have no critical issues for performance and stability. The AR81xx requires copy operation to pass received frames to upper stack such that ale(4) consumes a lot of CPU cycles than that of other controller. A couple of silicon bugs also adds more CPU cycles to address the known hardware bug. However, if you have fast CPU you can still saturate the link. Currently ale(4) supports the following hardware features. - MSI. - TCP Segmentation offload. - Hardware VLAN tag insertion/stripping with checksum offload. - Tx TCP/UDP checksum offload and Rx IP/TCP/UDP checksum offload. - Tx/Rx interrupt moderation. - Hardware statistics counters. - Jumbo frame. - WOL. AR81xx PCIe ethernet controllers are mainly found on ASUS EeePC or P5Q series of ASUS motherboards. Special thanks to Jeremy Chadwick who sent the hardware to me. Without his donation writing a driver for AR81xx would never have been possible. Big thanks to all people who reported feedback or tested patches. HW donated by: koitsu Tested by: bsam, Joao Barros <joao.barros <> gmail DOT com > Jan Henrik Sylvester <me <> janh DOT de > Ivan Brawley < ivan <> brawley DOT id DOT au >, CURRENT ML Approved by: re (kib) Note, GENERIC kernel does NOT include ale(4) but users can still kldload it. It was requested by re. Notes: svn path=/stable/7/; revision=185238
* - MFC ae(4) Attansic FastEthernet controller driver.Stanislav Sedov2008-10-252-0/+9
| | | | | | | Approved by: re (kensmith), kib (mentor) Notes: svn path=/stable/7/; revision=184267
* MFC: fix the build when MODULES_WITH_WORLD is defined.Ruslan Ermilov2008-10-011-1/+1
| | | | | | | Approved by: re (kib) Notes: svn path=/stable/7/; revision=183511
* MFC: Add the dpms(4) driver to use the VESA BIOS for DPMS during suspend andJohn Baldwin2008-09-172-0/+11
| | | | | | | | | resume. Approved by: re (kensmith) Notes: svn path=/stable/7/; revision=183115
* Merge r179308 from head to stable/7:Robert Watson2008-08-3111-103/+0
| | | | | | | | | | | | | | | | | | | | | | | | Remove netatm from HEAD as it is not MPSAFE and relies on the now removed NET_NEEDS_GIANT. netatm has been disconnected from the build for ten months in HEAD/RELENG_7. Specifics: - netatm include files - netatm command line management tools - libatm - ATM parts in rescue and sysinstall - sample configuration files and documents - kernel support as a module or in NOTES - netgraph wrapper nodes for netatm - ctags data for netatm. - netatm-specific device drivers. Reviewed by: bz Discussed with: bms, bz, harti MFC discussed with: des, peter Notes: svn path=/stable/7/; revision=182526
* MFC of r178599,178600,179644,179645,180254,180233Nathan Whitehorn2008-08-282-0/+11
| | | | | | | | | Support for Apple BMAC ethernet controller and associated DBDMA support and required changes to macio and scc(4) to support multiple interrupts on macio children. Approved by: grehan (mentor) Notes: svn path=/stable/7/; revision=182379