From: Marc Singer <elf@buici.com>
To: Jan Bernatik <jan.bernatik@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: platform device / driver question
Date: Fri, 25 Aug 2006 10:07:05 -0700 [thread overview]
Message-ID: <20060825170705.GA1655@buici.com> (raw)
In-Reply-To: <dca824fc0608250608s3b371291qd313986cffc1e028@mail.gmail.com>
On Fri, Aug 25, 2006 at 03:08:51PM +0200, Jan Bernatik wrote:
> hi, I am newbie to linux kernel development, but I couldn't get my
> question answered on #kernelnewbies, and I am not able to get it right
> from code.
>
> I studied smc91x driver to understand how platform driver / device
> subsystem works. On #kernelnewbies channel I was told this driver is
> "hopelessly broken". How should one create and register the
> platform_device/driver ? Is the implementation in smc91x correct ?
Whoever told you that the driver is broken is mistaken. The driver
works well. The *chip*, on the other hand, isn't the best of show.
The trouble with the SMC chip is that it has only 4 packet buffers.
When it is used in a design with either a relatively slow CPU or in a
design with other IO performance bottlenecks, it will tend to drop
packets as it is very easy for the buffers to fill with incoming data
before the CPU can unload them. Nico reported excellent throughput on
one board.
> If someone could clarify this, I will appreciate that, and certainly
> write some newbie-understandable documentation. It is not covered by
> LDD AFAIK.
>
> thanks, have a nice day
> please CC me, I am not on the list
>
> J.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2006-08-25 17:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-25 13:08 platform device / driver question Jan Bernatik
2006-08-25 13:39 ` Russell King
2006-08-25 17:07 ` Marc Singer [this message]
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=20060825170705.GA1655@buici.com \
--to=elf@buici.com \
--cc=jan.bernatik@gmail.com \
--cc=linux-kernel@vger.kernel.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