Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/if_tireg.h
RevisionDateAuthorComments
 1.32  21-Feb-2023  andvar s/jumo/jumbo/ in comments.
 1.31  05-Jun-2021  thorpej Back out the following changes:

http://mail-index.netbsd.org/source-changes/2020/02/29/msg114581.html
http://mail-index.netbsd.org/source-changes/2020/02/29/msg114583.html

They have reportedly caused some issues with link detection, and will
be revisited later.
 1.30  02-Apr-2020  msaitoh branches: 1.30.8; 1.30.12;
No functional change:
- s/u_int64_t/uint64_t/
- s/alignes/aligns/
- indent, tabify
 1.29  02-Apr-2020  msaitoh s/impliment/implement/ in comment.
 1.28  05-Mar-2020  msaitoh u_int*_t -> unit*_t. No funcitonal change.
 1.27  05-Mar-2020  msaitoh miscelaneous -> miscellaneous in comment.
 1.26  05-Mar-2020  msaitoh No functional change:

- Fix typo in comment.
- Whitespace
 1.25  29-Feb-2020  thorpej G/C the never-used version of ti_hostaddr that can't possibly be correct.
 1.24  29-Feb-2020  thorpej - Change the definition and usage of TI_HOSTADDR() to allow for 64-bit
DMA addresses. Modeled after similar usage in the bge(4) driver (the
chips supported by bge(4) are descendants of those supported by ti(4)).
- Use the 64-bit PCI DMA tag if available, otherwise we're allocating (and
using) bounce buffers needlessly.
 1.23  01-Feb-2020  thorpej Adopt <net/if_stats.h>.
 1.22  13-Sep-2019  msaitoh branches: 1.22.2;
if_flags is neither int nor short. It's unsigned short.
 1.21  05-Mar-2019  msaitoh branches: 1.21.4;
Centralize ETHER_ALIGN into net/if_ether.h. Note that this commit also changes
if_upgt.c's ETHER_ALIGN from 0 to 2.
 1.20  27-Oct-2012  chs branches: 1.20.30; 1.20.38;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.19  07-Sep-2007  tnn branches: 1.19.58; 1.19.68;
First part of ti(4) overhaul:
- Sanitise macros
- Apply KNF
Should have no functional changes.
 1.18  04-Mar-2007  christos branches: 1.18.2; 1.18.10; 1.18.14; 1.18.16;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.17  11-Dec-2005  christos branches: 1.17.26;
merge ktrace-lwp.
 1.16  30-May-2005  christos branches: 1.16.2;
- const poisoning
- avoid variable shadowing.
 1.15  27-Feb-2005  perry nuke trailing whitespace
 1.14  27-Jul-2004  he branches: 1.14.4; 1.14.6;
Make the SSLOTS, MSLOTS and JSLOTS tunable (redefineable).
Bump the default values for these to the values used by FreeBSD,
and also adjust ti_init_rx_ring_jumbo() to use the same constant
that FreeBSD uses. Yes, this consumes more kernel memory.

The effect of this is that you can use jumbo frames in a back-to-back
setup with TCP windows up to about 250KB and get ~930Mbit/s throughput,
while we were earlier limited to around 3-400Mbit/s, and trying to push
above that mark by widening the TCP window caused
ti0: jumbo buffer allocation failed
messages to be logged and a corresponding stall in the traffic.
 1.13  18-Mar-2004  bouyer branches: 1.13.2;
Use the bus_space_*_stream_* methods to access the chip's registers.
As we turn the chip to big-endian mode on big-endian systems, we should
never byte-swap the data read/written from/to registers. Tested on sparc64.
Finally fix kern/13341 by Jason R. Thorpe (really, the hard work of putting
bus_dmamap_sync() calls at the right places has been done my Jason mid-2001 :)
 1.12  14-May-2003  wiz branches: 1.12.2;
coaless -> coalesce.
 1.11  30-Jun-2001  bjh21 branches: 1.11.16;
IFM_1000_TX -> IFM_1000_T, as (breifly) discussed on tech-net.
 1.10  30-Jun-2001  thorpej Add macros to sync the various bits of the DMA'd control data.
 1.9  30-Jun-2001  thorpej Use macros (like those in every other network driver I have written)
to compute the offset of a structure in the DMA'd control data, and
the DMA address of that structure.
 1.8  30-Jun-2001  thorpej Split the tx-end-of-frame routine into Tigon 1 and Tigon 2 verions,
for the same reason we split the tx encap routine.
 1.7  30-Jun-2001  thorpej Split the transmit encap routine into two versions: one for the Tigon 1
and another for the Tigon 2. This eliminates a conditional in the
loop around the DMA segments, and will make further cleanup easier.
 1.6  30-Jun-2001  thorpej Move the `ti_tx_ring_nic' pointer out of the ring-data structure
and into the softc. Garbage-collect the `ti_cmd_ring' pointer,
since bus_space is properly used to access the command ring.
 1.5  03-Jun-2001  thorpej Replace a bunch of home-grown Ethernet related constants with
ones defined in <net/if_ether.h>
 1.4  15-May-2001  lukem delint: () protect some macro args
 1.3  17-Nov-2000  bouyer branches: 1.3.2;
Pull up FreeBSD changes:
1.39:
Have if_ti stop "hiding" the softc pointer in the buffer region. Rather,
use the available void * passed to the free routine and pass the softc
pointer through there.
1.33:
Add support for the Netgear GA620T copper gigabit card.
1.32:
Tweak probe message so that 1000baseSX and 1000baseT cards are
explicitly identified.
1.31:
Update the Tigon driver to support 1000baseTX gigE over copper AceNIC
cards. This basically involves switching to the 12.4.13 firmware, plus
a couple of minor tweaks to the driver.

NetBSD changes:
get rid of ti_inuse, the mbuf ref counting code should call ti_free() when
needed.
Use hardware 802.1q support.
 1.2  14-Nov-2000  thorpej NBPG -> PAGE_SIZE
 1.1  01-Sep-1999  drochner branches: 1.1.2; 1.1.4; 1.1.14;
quick 'n dirty port of FreeBSD's Alteon Gigabit Ethernet driver.
todo:
-IPv6
-clean up jumbo buffer allocation - NetBSD provides an opaque argument
to the free function, thus doesn't need the hack done here
-deal correctly with the mapping of the shared memory
 1.1.14.1  31-Dec-2000  jhawk Pull up revision 1.3 (requested by bouyer):
For the ti driver, add hardware 802.1Q support, update firmware
to 12.4.13+wpaul, and support the Netgear GA620T copper gigabit card,
and the Alteon ACEnic 100baseSX and 1000baseT gigabit cards. Various
small changes from FreeBSD.
 1.1.4.1  22-Nov-2000  bouyer Sync with HEAD.
 1.1.2.2  05-Oct-1999  he Pull up revision 1.1 (new, requested by drochner):
Back-port of driver for Alteon Gigabit Ethernet driver, originally
from FreeBSD.
 1.1.2.1  01-Sep-1999  he file if_tireg.h was added on branch netbsd-1-4 on 1999-10-05 22:06:48 +0000
 1.3.2.2  24-Aug-2001  nathanw Catch up with -current.
 1.3.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.11.16.1  26-May-2004  tron Pull up revision 1.13 (requested by bouyer in ticket #1698):
Use the bus_space_*_stream_* methods to access the chip's registers.
As we turn the chip to big-endian mode on big-endian systems, we should
never byte-swap the data read/written from/to registers. Tested on sparc64.
Finally fix kern/13341 by Jason R. Thorpe (really, the hard work of putting
bus_dmamap_sync() calls at the right places has been done my Jason mid-2001 :)
 1.12.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.12.2.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.12.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.12.2.1  03-Aug-2004  skrll Sync with HEAD
 1.13.2.1  28-Jul-2004  tron Pull up revision 1.14 (requested by he in ticket #719):
Make the SSLOTS, MSLOTS and JSLOTS tunable (redefineable).
Bump the default values for these to the values used by FreeBSD,
and also adjust ti_init_rx_ring_jumbo() to use the same constant
that FreeBSD uses. Yes, this consumes more kernel memory.
The effect of this is that you can use jumbo frames in a back-to-back
setup with TCP windows up to about 250KB and get ~930Mbit/s throughput,
while we were earlier limited to around 3-400Mbit/s, and trying to push
above that mark by widening the TCP window caused
ti0: jumbo buffer allocation failed
messages to be logged and a corresponding stall in the traffic.
 1.14.6.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.14.4.1  29-Apr-2005  kent sync with -current
 1.16.2.2  27-Oct-2007  yamt sync with head.
 1.16.2.1  03-Sep-2007  yamt sync with head.
 1.17.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.18.16.1  06-Nov-2007  matt sync with HEAD
 1.18.14.1  02-Oct-2007  joerg Sync with HEAD.
 1.18.10.1  10-Sep-2007  skrll Sync with HEAD.
 1.18.2.1  09-Oct-2007  ad Sync with head.
 1.19.68.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.19.58.1  30-Oct-2012  yamt sync with head
 1.20.38.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.20.38.1  10-Jun-2019  christos Sync with HEAD
 1.20.30.1  05-Aug-2020  martin Pull up the following revisions, requested by msaitoh in ticket #1590:

sys/dev/pci/if_ti.c 1.103, 1.106, 1.108,
1.116-1.120 via patch
sys/dev/pci/if_tireg.h 1.26

- Use pci_intr_establish_xname()
- Don't clear CFI and priority bit to pass them to the upper layer.
- Add support for Farallon PN9000SX from FreeBSD.
- u_int_{8,16,32}_t -> uint_{8,16,32}_t
- Fix typo in comment.
- Style fix.
 1.21.4.1  15-Jul-2020  martin Pull up the following revisions, requested by msaitoh in ticket #1014:

sys/dev/pci/if_ti.c 1.116-1.120 via patch
sys/dev/pci/if_tireg.h 1.26

- Don't clear CFI and priority bit to pass them to the upper layer.
- Add support for Farallon PN9000SX from FreeBSD.
- Fix typo in comment.
- Style fix.
 1.22.2.1  29-Feb-2020  ad Sync with head.
 1.30.12.1  06-Jun-2021  cjep sync with head
 1.30.8.1  17-Jun-2021  thorpej Sync w/ HEAD.

RSS XML Feed