3c59x with linuxppc

Andreas Tobler toa@pop.agri.ch
Tue May 9 11:18:10 2000



Bogdan Costescu wrote:
> 
> On Tue, 9 May 2000, Andreas Tobler wrote:
> 
> > What about when I put in here:
> > -------->   next_tick = media_tbl[dev->if_port].wait
> > ...
> > And what about the approach from Don, in his N,L series he sets the
> > next_tick at init to 60*HZ?
> 
> That's what I also noticed 30 seconds after sending my reply...

Ok, I put the line above BEFORE the switch statement. Below you'll see a
dbg = 3 trace.
It looks better I think.
What would be better, initialize to zero and handle all cases or
initialize it to 60*HZ and don't worry?

-----
May  9 16:58:55 pm7200 kernel: 3c59x.c:v0.99H 11/17/98 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html 
May  9 16:58:55 pm7200 kernel:   The PCI BIOS has not enabled the device
at 0/104. Updating PCI command 0004->0005. 
May  9 16:58:55 pm7200 kernel: eth1: 3Com 3c590 Vortex 10Mbps at 0x480, 
00:a0:24:7e:38:ab, IRQ 23 
May  9 16:58:55 pm7200 kernel:   Internal config register is 1020010,
transceivers 0xe138. 
May  9 16:58:55 pm7200 kernel:   8K byte-wide RAM 5:3 Rx:Tx split,
10baseT interface. 
May  9 16:58:55 pm7200 kernel: eth1: Overriding PCI latency timer (CFLT)
setting of 32, new value is 248. 
May  9 16:58:55 pm7200 kernel:   The PCI BIOS has not enabled the device
at 0/120. Updating PCI command 0014->0015. 
May  9 16:58:55 pm7200 kernel: eth2: 3Com 3c905B Cyclone 100baseTx at
0x400,  00:50:da:43:59:fd, IRQ 25 
May  9 16:58:55 pm7200 kernel:   Internal config register is 1800000,
transceivers 0xa. 
May  9 16:58:55 pm7200 kernel:   8K byte-wide RAM 5:3 Rx:Tx split,
10baseT interface. 
May  9 16:58:55 pm7200 kernel:   Enabling bus-master transmits and
whole-frame receives. 
[snip] 
May  9 17:10:13 pm7200 kernel: eth1: Initial media type 10baseT. 
May  9 17:10:13 pm7200 kernel: eth1: vortex_open() InternalConfig
01020010. 
May  9 17:10:13 pm7200 kernel: eth1: vortex_open() irq 23 media status
8800. 
May  9 17:10:14 pm7200 kernel: eth1: Media selection timer tick
happened, 10baseT. 
May  9 17:10:14 pm7200 kernel: eth1: Media 10baseT has link beat, 88c0. 
May  9 17:10:14 pm7200 kernel: eth1: Media selection timer finished,
10baseT. 
May  9 17:10:16 pm7200 kernel: eth1: Media selection timer tick
happened, 10baseT. 
May  9 17:10:16 pm7200 kernel: eth1: Media 10baseT has link beat, 88c0. 
May  9 17:10:16 pm7200 kernel: eth1: Media selection timer finished,
10baseT. 
May  9 17:10:17 pm7200 kernel: eth1: Media selection timer tick
happened, 10baseT. 
May  9 17:10:17 pm7200 kernel: eth1: Media 10baseT has link beat, 88c0. 
---continuing---
--- etc -----

Regards

Andreas
-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-vortex-request@beowulf.org