Revision b03c720211ea5ec027ad85f1e147e3d8122429ba authored by Pyun YongHyeon on 14 January 2010, 21:54:20 UTC, committed by Pyun YongHyeon on 14 January 2010, 21:54:20 UTC
  Add bus_dma(9) and endianness support to ste(4).
   o Sorted includes and added missing header files.
   o Added basic endianness support. In theory ste(4) should work on
     any architectures.
   o Remove the use of contigmalloc(9), contigfree(9) and vtophys(9).
   o Added 8 byte alignment limitation of TX/RX descriptor.
   o Added 1 byte alignment requirement for TX/RX buffers.
   o ste(4) controllers does not support DAC. Limit DMA address space
     to be within 32bit address.
   o Added spare DMA map to gracefully recover from DMA map failure.
   o Removed dead code for checking STE_RXSTAT_DMADONE bit. The bit
     was already checked in each iteration of loop so it can't be true.
   o Added second argument count to ste_rxeof(). It is used to limit
     number of iterations done in RX handler. ATM polling is the only
     consumer.
   o Removed ste_rxeoc() which was added to address RX stuck issue
     (cvs rev 1.66). Unlike TX descriptors, ST201 supports chaining
     descriptors to form a ring for RX descriptors. If RX descriptor
     chaining is not supported it's possible for controller to stop
     receiving incoming frames once controller pass the end of RX
     descriptor which in turn requires driver post new RX
     descriptors to receive more frames. For TX descriptors which
     does not support chaning, we exactly do manual chaining in
     driver by concatenating new descriptors to the end of previous
     TX chain.
     Maybe the workaround was borrowed from other drivers that does
     not support RX descriptor chaining, which is not valid for ST201
     controllers. I still have no idea how this address RX stuck
     issue and I can't reproduce the RX stuck issue on DFE-550TX
     controller.
   o Removed hw.ste_rxsyncs sysctl as the workaround was removed.
   o TX/RX side bus_dmamap_load_mbuf_sg(9) support.
   o Reimplemented optimized ste_encap().
   o Simplified TX logic of ste_start_locked().
   o Added comments for TFD/RFD requirements.
   o Increased number of RX descriptors to 128 from 64. 128 gave much
     better performance than 64 under high network loads.
1 parent d982c88
History
File Mode Size
bluetooth
defaults
etc.amd64
etc.arm
etc.i386
etc.ia64
etc.powerpc
etc.sparc64
gss
isdn
mail
mtree
namedb
pam.d
periodic
ppp
rc.d
root
sendmail
Makefile -rw-r--r-- 8.6 KB
amd.map -rw-r--r-- 154 bytes
apmd.conf -rw-r--r-- 1.2 KB
auth.conf -rw-r--r-- 173 bytes
crontab -rw-r--r-- 670 bytes
csh.cshrc -rw-r--r-- 52 bytes
csh.login -rw-r--r-- 421 bytes
csh.logout -rw-r--r-- 53 bytes
ddb.conf -rw-r--r-- 505 bytes
devd.conf -rw-r--r-- 9.5 KB
devfs.conf -rw-r--r-- 2.0 KB
dhclient.conf -rw-r--r-- 205 bytes
disktab -rw-r--r-- 5.5 KB
fbtab -rw-r--r-- 90 bytes
freebsd-update.conf -rw-r--r-- 2.4 KB
ftpusers -rw-r--r-- 195 bytes
gettytab -rw-r--r-- 5.9 KB
group -rw-r--r-- 364 bytes
hosts -rw-r--r-- 1.0 KB
hosts.allow -rw-r--r-- 3.2 KB
hosts.equiv -rw-r--r-- 53 bytes
hosts.lpd -rw-r--r-- 43 bytes
inetd.conf -rw-r--r-- 5.0 KB
libalias.conf -rw-r--r-- 170 bytes
login.access -rw-r--r-- 1.7 KB
login.conf -rw-r--r-- 6.6 KB
mac.conf -rw-r--r-- 507 bytes
man.alias -rw-r--r-- 43 bytes
master.passwd -rw-r--r-- 1.3 KB
minfree -rw-r--r-- 5 bytes
motd -rw-r--r-- 1.1 KB
netconfig -rw-r--r-- 729 bytes
netstart -rwxr-xr-x 2.2 KB
network.subr -rw-r--r-- 21.6 KB
networks -rw-r--r-- 310 bytes
newsyslog.conf -rw-r--r-- 1.8 KB
nls.alias -rw-r--r-- 65 bytes
nscd.conf -rw-r--r-- 231 bytes
nsmb.conf -rw-r--r-- 1.6 KB
nsswitch.conf -rw-r--r-- 255 bytes
opieaccess -rw-r--r-- 377 bytes
pccard_ether -rwxr-xr-x 2.2 KB
pf.os -rw-r--r-- 27.7 KB
phones -rw-r--r-- 183 bytes
portsnap.conf -rw-r--r-- 1.4 KB
printcap -rw-r--r-- 2.0 KB
profile -rw-r--r-- 561 bytes
protocols -rw-r--r-- 5.9 KB
rc -rw-r--r-- 3.6 KB
rc.bsdextended -rw-r--r-- 4.4 KB
rc.firewall -rw-r--r-- 13.3 KB
rc.firewall6 -rw-r--r-- 9.2 KB
rc.initdiskless -rw-r--r-- 12.5 KB
rc.resume -rwxr-xr-x 2.2 KB
rc.sendmail -rw-r--r-- 5.6 KB
rc.shutdown -rw-r--r-- 3.2 KB
rc.subr -rw-r--r-- 35.1 KB
rc.suspend -rwxr-xr-x 2.2 KB
remote -rw-r--r-- 2.3 KB
rpc -rw-r--r-- 1.6 KB
services -rw-r--r-- 81.0 KB
shells -rw-r--r-- 165 bytes
snmpd.config -rw-r--r-- 2.3 KB
sysctl.conf -rw-r--r-- 311 bytes
syslog.conf -rw-r--r-- 1.2 KB
termcap.small -rw-r--r-- 10.4 KB

back to top