From: Michael Schmitz <schmitzmic@googlemail.com>
To: Finn Thain <fthain@telegraphics.com.au>
Cc: Michael Schmitz <schmitzmic@googlemail.com>,
"Christian T. Steigies" <cts@debian.org>,
Linux/m68k <linux-m68k@lists.linux-m68k.org>
Subject: Re: 8390 drivers
Date: Sat, 23 Jul 2011 15:41:05 +1200 [thread overview]
Message-ID: <4E2A42D1.4040201@gmail.com> (raw)
In-Reply-To: <alpine.OSX.2.00.1107201304410.189@ibook.intranet>
Hi Finn,
>> Is lib8390.c ever compiled standalone (as opposed to it being included
>> in each driver)?
>>
>
> That probably depends on Christian's .config (I don't know how modularity
> affects things) but in general yes: apne.c links in 8390.o. (Whereas hydra
> and zorro8390 #include the library.)
>
OK, I missed apne.c here - not sure it is even built in the default
config though.
>> Either way, to avoid multiple inclusion of lib8390 symbols confusing the
>> zorro8390 driver, Christian could disable the apne and eventual other
>> ISA 8390 drivers in the build.
>>
>
> If he did that instead of testing the patch, and fixed the problem, he
> would then have to perform another test for the same patch, no?
>
Right - I'm working on the assumption it is not necessarily symbol
clashes. Duplicate symbols should have been reported at link time (or
when a module is inserted, at latest).
>> If that's not helping, something in the Amiga interrupt code may be at
>> fault. Your Mac driver withstands a flood ping OK (that still leaves you
>> open to concurrent net and disk I/O presenting a problem BTW -
>> transferring a big amount of data using netcat might be a better
>> approximation of Christian's problem).
>>
>
> Yes, but if the NIC works with idle disk and fails with SCSI load, would
> you not blame the VIA driver?
>
Not necessarily - there may be a driver locking out interrupts for too
long so the timeout happens before the interrupt gets serviced. Not very
likely - the timeout would have to run before the net bottom half.
> Anyway, I shall try that test before I send the patch for the VIA driver
> to fix the nubus slot IRQ issue.
>
>
>> The Atari EtherNEC driver has withstood 15 minutes of single-source
>> flooding with a single log message:
>>
>> Jul 20 02:26:24 hobbes kernel: eth0: bogus packet: status=0x37
>> nxpg=0x4f size=102
>>
>> I've seen that quite a bit when transferring files in the past, but it
>> never stopped the driver from working.
>>
>> The main difference between the EtherNEC driver and the other 8390
>> drivers is that I still link to 8390.o explicitly, instead of including
>> lib8390.c (shame on me).
>>
>
> I guess there are benefits to each approach? I assume that linking to
> 8390.o, though simpler, would end up slower (?)
>
That, and it ends up not using net_ops in the driver at all. Obsolete
interface ...
Michael
> Finn
>
>
>> Cheers,
>>
>> Michael
>>
next prev parent reply other threads:[~2011-07-23 3:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-09 20:38 8390 drivers (was: Re: Debian kernel 2.6.38-5) Geert Uytterhoeven
2011-05-09 21:32 ` Christian T. Steigies
2011-05-10 6:52 ` Geert Uytterhoeven
2011-05-10 7:29 ` Christian T. Steigies
2011-05-23 20:44 ` Christian T. Steigies
2011-05-24 10:06 ` Finn Thain
2011-05-24 11:33 ` Finn Thain
2011-07-18 9:46 ` Finn Thain
2011-07-19 11:31 ` Finn Thain
2011-07-19 13:55 ` Finn Thain
2011-07-20 0:32 ` Michael Schmitz
2011-07-20 3:36 ` Finn Thain
2011-07-23 3:41 ` Michael Schmitz [this message]
2011-07-23 6:03 ` 8390 drivers Finn Thain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E2A42D1.4040201@gmail.com \
--to=schmitzmic@googlemail.com \
--cc=cts@debian.org \
--cc=fthain@telegraphics.com.au \
--cc=linux-m68k@lists.linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox