Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2002 22:23:31 -0700 (PDT)
From:      "Jin Guojun[VFF]" <jin@adsl-63-198-35-122.dsl.snfc21.pacbell.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/40516: ti driver has no buadrate set
Message-ID:  <200207130523.g6D5NVO00484@adsl-63-198-35-122.dsl.snfc21.pacbell.net>

next in thread | raw e-mail | index | archive | help

>Number:         40516
>Category:       kern
>Synopsis:       ti driver has no buadrate set
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 12 22:30:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jin Guojun[VFF]
>Release:        FreeBSD 4.x-RELEASE i386
>Organization:
>Environment:


	/sys/pci/if_ti.c

>Description:
	Network driver if_ti does not set the baudrate. It causes inquery
	to return 10,000,000 baudrate instead of 1,000,000,000.

119 /sys/pci: nic-info
NIC     fxp0    baudrate        100000000 type 0x06 (06) srt 0
NIC      lp0    baudrate                0 type 0x22 (34) srt 0
NIC      ti0    baudrate         10000000 type 0x06 (06) srt 0
NIC      sk0    baudrate       1000000000 type 0x06 (06) srt 0
NIC      lo0    baudrate                0 type 0x18 (24) srt 0
NIC     ppp0    baudrate                0 type 0x17 (23) srt 0
NIC      sl0    baudrate                0 type 0x1c (28) srt 0
NIC   faith0    baudrate                0 type 0x38 (56) srt 0

>How-To-Repeat:
	
>Fix:

	apply the following patch to 4.6-RELEASE /sys/pci/if_ti.c:

*** /sys/pci/if_ti.c	Thu Feb 14 20:20:20 2002
--- if_ti.c	Fri Jul 12 22:12:56 2002
***************
*** 1721,1726 ****
--- 1721,1727 ----
  	ifp->if_start = ti_start;
  	ifp->if_watchdog = ti_watchdog;
  	ifp->if_init = ti_init;
+ 	ifp->if_baudrate = 1000000000;
  	ifp->if_mtu = ETHERMTU;
  	ifp->if_snd.ifq_maxlen = TI_TX_RING_CNT - 1;
  
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207130523.g6D5NVO00484>