freebsd-dev/sys/dev
Pyun YongHyeon 96ee09c546 o Sort includes and add <endian.h> to support endianness.
o Removed unneeded header files.
 o bus_dma(9) fix:
   - created parent tag with 1GB dma address limit with no
     alignment restrictions.
   - set 4096 alignment limit for Tx/Rx descriptor rings.
   - separate Rx buffer tag from Tx buffer tag such that Tx tag
     allows up-to 16 segments while Rx buffer tag only allows
     single segment.
   - it seems the controller has no alignment restrictions on Tx/Rx
     buffers. Remove ETHER_ALIGN alignment restriction in Tx/Rx
     buffers.
   - created a spare Rx dma map which would be used to cope with
     failure of loading a dma map.
   - make sure to load full Tx/Rx descriptor size for Tx/Rx
     descriptor dma maps, previously bfe(4) used to load single
     descriptor size for each descriptor rings. I have no idea how
     it could be run without problems.
   - don't blindly cast bus_addr_t type to 32bits in bfe_dma_map().
   - created bfe_dma_free() to free allocated dma memory/tags.
   - make sure to invoke bus_dmamap_sync(9) before/after processing
     descriptor rings/buffers. Because the hardware has severe dma
     address space limitation, bounce-buffers would be always used
     on systems with more than 1GB memory during
     descriptors/buffers access.
   - added Tx descriptor ring initialization function,
     bfe_list_tx_init().
   - moved producer/consumer index initialization to
     bfe_list_tx_init() and bfe_list_rx_init() from
     bfe_chip_reset().
   - added bfe_discard_buf() which will update loaded descriptors
     without unloading/reloading the dma map to speed up error
     recovery.
   - implemented Tx side bus_dmamap_load_mbuf_sg(9). The number of
     segments allowed was chosen to be 16 which should be enough for
     non-TSO capable hardwares. Setting SOF bit of Tx descriptor is
     done in the last to avoid potential race.
   - don't give up sending frames in bfe_start() until the hardware
     lacks free descriptors.
   - added XXX comment to second kick command and possible workaround.
   - implemented Rx side bus_dmamap_load_mbuf_sg(9).
   - removed bfe_dma_map_desc() as it's not needed anymore after
     the conversion to bus_dmamap_load_mbuf_sg(9).
   - added endianness support. With this change bfe(4) should work
     on any architectures that can create bounce buffers within 1GB
     address range.
   - add missing bus_dmamap_sync() in bfe_tx_eof()/bfe_rx_eof().
 o Use PCI_BAR instead of hardcoded value to set BARs.
   Simplified register access with bus_write_4(9)/bus_read_4(9) and
   removed bfe_btag, bfe_bhandle, bfe_vhandle in softc as it's not
   used anymore.
 o Reorder device detach logic such that bfe_detach() is also used
   for handling driver attach failure case.
 o Remove unnecessary KASSERT in bfe_detach().
 o Remove bfe_rx_cnt, bfe_up, bfe_vpd_prodname, bfe_vpd_readonly in
   softc.  It's not used at all.
 o Remove BFE_RX_RING_SIZE/BFE_RX_RING_SIZE/BFE_LINK_DOWN.

Tested by:	kib, Gleb Kurtsou gleb.kurtsou at gmail dot com
		Ulrich Spoerlein uspoerlein at gmail dot com
2008-08-21 04:21:53 +00:00
..
aac Add explicit PCI IDs for the following Adaptec RAID Series 2 adapters: 2008-06-27 19:34:47 +00:00
acpi_support Fix typo in comment. 2008-08-19 22:28:24 +00:00
acpica Fix a typo. 2008-08-04 19:45:15 +00:00
adlink
advansys
age Fix a typo: jme -> age 2008-08-14 02:43:18 +00:00
agp Enable the support for G33/Q35/Q33 now that both the G33 and Q35 have been 2008-08-01 13:11:23 +00:00
aha Minor typo fix, caught while skimming through the file. 2008-08-10 15:10:39 +00:00
ahb
aic
aic7xxx
amd
amr While spin-waiting for the mailbox semaphore to update, do flushing reads of 2008-07-20 16:50:14 +00:00
an
ar
arcmsr
asmc
asr
ata Introduce a new loader tunable "hw.ata.ata_dma_check_80pin", defaulting to 1. 2008-08-15 10:55:11 +00:00
ath Change the calling convention for ic_node_alloc to deal with 2008-06-07 18:38:02 +00:00
atkbdc Fill in sysctl descriptions. 2008-07-26 00:01:19 +00:00
auxio
bce - Added support for BCM5709 and BCM5716 controllers. 2008-06-13 01:16:37 +00:00
bfe o Sort includes and add <endian.h> to support endianness. 2008-08-21 04:21:53 +00:00
bge
bktr Add locking to the various iicbus(4) bridge drivers: 2008-08-04 20:46:15 +00:00
bm Fix some locking and logic bugs pointed out by jhb. These fix driver detach and speed up data transfer by nearly a factor of 2. 2008-07-03 21:51:30 +00:00
buslogic
cardbus
ce Fix instances of bogus #elsif directive. 2008-07-01 14:41:03 +00:00
ciss Correctly set the interrupt enable and disable bits. The previous 2008-08-02 13:04:26 +00:00
cm
cmx
coretemp
cp Do not set IFF_DEBUG directly from the driver. 2008-06-30 21:18:27 +00:00
cpuctl - Add cpuctl(4) pseudo-device driver to provide access to some low-level 2008-08-08 16:26:53 +00:00
cpufreq Attach the cpufreq child devices with specific orders to enforce relative 2008-08-13 16:09:40 +00:00
cs Improve the EEPROM parsing, based on finding a datasheet that describes 2008-07-09 16:47:55 +00:00
ct
ctau Do not set IFF_DEBUG directly from the driver. 2008-06-30 21:18:27 +00:00
cx Do not set IFF_DEBUG directly from the driver. 2008-06-30 21:18:27 +00:00
cxgb Commit step 1 of the vimage project, (network stack) 2008-08-17 23:27:27 +00:00
cy
dc Ethernet hardware address stored in DC_AL_PAR0/DC_AL_PAR1 register 2008-06-08 02:52:26 +00:00
dcons Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
de
digi
dpt
drm
e1000 Data type fix 2008-07-31 02:22:53 +00:00
ed When the miibus for the AX88x90 or TC5299J cards fails to attach, we 2008-08-06 22:22:27 +00:00
eisa
en
ep
esp o Fix style(9) bugs and similar nits. 2008-07-22 13:51:21 +00:00
et Don't leak DMA map if not freed. 2008-07-11 18:26:12 +00:00
ex Make ex(4) MPSAFE: 2008-06-13 12:14:22 +00:00
exca
fatm
fb
fdc
fe - Use bus_foo() rather than bus_space_foo() and retire the bus tag and handle 2008-06-23 18:16:25 +00:00
firewire Commit step 1 of the vimage project, (network stack) 2008-08-17 23:27:27 +00:00
flash
fxp
gem o The FreeBSD bus_dmamap_sync(9) supports ored together flags for quite 2008-06-22 13:54:51 +00:00
glxsb - Convert sc_sessions_mtx mutex to a rwlock, so in the fast path 2008-08-11 08:41:08 +00:00
hatm
hifn
hme
hptiop
hptmv
hptrr
hwpmc - Provide kernelname as the name for process with P_KTHREAD set as 2008-07-25 05:49:48 +00:00
ic
ichsmb - Use bus_foo() rather than bus_space_foo() and remove bus space tag/handle 2008-06-06 18:29:56 +00:00
ichwd
ida
ie Use the new bus device_shutdown hook for performing the shutdown action 2008-08-01 21:33:07 +00:00
ieee488 Remove the distinction between device minor and unit numbers. 2008-05-29 12:50:46 +00:00
if_ndis Fix a mutex LOR introduced by the conversion of if_ndis from spinlocks to 2008-07-09 00:10:55 +00:00
iicbus Fix compilation of arm's AVILA. 2008-08-13 09:20:52 +00:00
iir
io Remove D_NEEDGIANT from io(4). 2008-08-08 13:43:56 +00:00
ipmi
ips
ipw
iscsi/initiator
isp
ispfw
iwi Change the calling convention for ic_node_alloc to deal with 2008-06-07 18:38:02 +00:00
iwn Change the calling convention for ic_node_alloc to deal with 2008-06-07 18:38:02 +00:00
ixgb
ixgbe This updates the ixgbe driver to Intel internal version 1.4.7 2008-07-30 18:15:18 +00:00
jme Fix buffer discard index. 2008-07-28 02:37:15 +00:00
joy
k8temp Fix comment: s/before/after. 2008-07-06 16:18:58 +00:00
kbd Don't include <sys/tty.h> in non-TTY drivers. 2008-07-24 09:54:10 +00:00
kbdmux Don't include <sys/tty.h> in non-TTY drivers. 2008-07-24 09:54:10 +00:00
le
led Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
lge
lmc Rename several functions in if_lmc with potential name collisions with 2008-07-05 16:39:24 +00:00
malo
mc146818
mca
mcd
md Remove the distinction between device minor and unit numbers. 2008-05-29 12:50:46 +00:00
mem
mfi Tweak the output of event log messages from the controller: 2008-06-26 22:36:38 +00:00
mii Restore link state handling which was broken in rev 1.69. 2008-08-12 00:57:39 +00:00
mk48txx
mlx
mly
mmc
mpt Allocate a single CCB at the start of the main loop of the RAID monitoring 2008-07-21 18:43:02 +00:00
mse
msk
mxge Clean up mxge's use of callouts as pointed out by jhb, 2008-07-17 15:46:35 +00:00
my
ncv
nfe
nge
nmdm Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
nsp
null
nve Import rewritten nve device id's, which brings this more 2008-05-31 14:17:36 +00:00
nvram - Use an sx lock to serialize writes since they update the checksum. 2008-08-01 20:39:18 +00:00
nxge
ofw Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
patm
pbio
pccard Fix a small problem in the comment about departure from NetBSD. 2008-08-07 21:16:14 +00:00
pccbb Read the config space of the child, not the bridge, to determine when 2008-08-10 09:55:14 +00:00
pcf - Consolidate module version for the pcf module into just pcf.c instead 2008-08-05 17:39:37 +00:00
pci The config space registers holding the upper 32-bits of the prefetchable 2008-08-20 18:29:59 +00:00
pcn Move pcn driver from sys/pci to sys/dev/pcn. 2008-08-14 20:34:46 +00:00
pdq
powermac_nvram
ppbus Add locking to the various iicbus(4) bridge drivers: 2008-08-04 20:46:15 +00:00
ppc
pst
puc The SIIG 4 port serial card based on the Oxford OX16PCI954 is 2008-05-29 07:15:52 +00:00
quicc
ral Change the calling convention for ic_node_alloc to deal with 2008-06-07 18:38:02 +00:00
random
ray
rc
re Fix VLAN hardware tag insertion/stripping on big-endian 2008-08-13 03:40:08 +00:00
rndtest
rp
safe
scc
scd
sf
si Remove sicontrol(8)'s "ttystat". 2008-06-09 08:43:27 +00:00
sio
sis Move sis to sys/dev/sis for consistency. 2008-08-10 10:00:14 +00:00
sk
smbus - Store the device_t of the smbX device in the softc. 2008-06-06 18:45:32 +00:00
smc - Move ether_ifdetach earlier. 2008-06-17 05:48:42 +00:00
sn
snc Convert to new style PC Card front end driver. Add support for the 2008-08-07 20:55:20 +00:00
snp Convert the snp(4) driver to use cdevpriv. 2008-08-15 13:07:07 +00:00
sound Don't include <sys/tty.h> in our sound layer. It is not needed. 2008-08-19 19:45:08 +00:00
speaker
spibus
sr
ste Move the ste driver from sys/pci to sys/dev/ste. 2008-08-14 20:09:58 +00:00
stg
stge
streams
sym Allow 53C1010 without NVRAM to negotiate Ultra-3. 2008-08-07 23:41:17 +00:00
syscons Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
tdfx
ti
tl Move the tl driver form sys/pci to sys/dev/tl. 2008-08-14 20:02:34 +00:00
trm
tsec
twa
twe
tx Make tx(4) MPSAFE 2008-06-10 17:59:43 +00:00
txp
uart Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
ubsec
usb Bring in support for the MC8755 Sierra UMTS card. 2008-08-20 13:14:58 +00:00
utopia
vge
vkbd Don't enforce unique device minor number policy anymore. 2008-06-11 18:55:19 +00:00
vr Fix a multicast handling regression on VT6105M introduced in 2008-07-16 08:35:29 +00:00
vx
watchdog
wb Move wb driver from sys/pci to sys/dev/wb. 2008-08-14 21:26:29 +00:00
wds
wi Add an altnerative Siemens SpeedStream ID. This one is for a Prism 3 2008-08-02 20:50:13 +00:00
wl
wpi - Fix compile if WPI_DEBUG is not defined 2008-06-23 15:40:56 +00:00
xe Style(9) xe(4). The MD5 sums are different, but comparing the dissassemblies 2008-06-04 20:26:57 +00:00
xen For reasons that I have not delved in to Xen 3.2 netback now does header splitting 2008-08-21 02:40:26 +00:00
xl Move the xl driver form sys/pci to sys/dev/xl for consistency. 2008-08-10 09:45:52 +00:00