From: Jeff Garzik <jgarzik@pobox.com>
To: Brent Casavant <bcasavan@sgi.com>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3] ioc4: Driver rework
Date: Mon, 23 May 2005 21:56:22 -0400 [thread overview]
Message-ID: <429289C6.9080707@pobox.com> (raw)
In-Reply-To: <20050523192157.V75588@chenjesu.americas.sgi.com>
Brent Casavant wrote:
> - The IOC4 chip implements multiple functions (serial, IDE, others not
> yet implemented in the mainline kernel) but is not a multifunction
> PCI device. In order to properly handle device addition and removal
> as well as module insertion and deletion, an intermediary IOC4-specific
> driver layer is needed to handle these operations cleanly.
I disagree that a layer is needed.
Just write a PCI driver that does the following in probe:
register IDE
register serial
...
and undoes all that in remove.
Device addition and removal work just fine with that scheme.
Jeff
next prev parent reply other threads:[~2005-05-24 1:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-24 0:48 [PATCH 0/3] ioc4: Driver rework Brent Casavant
2005-05-24 1:56 ` Jeff Garzik [this message]
2005-05-24 16:22 ` Brent Casavant
2005-05-24 19:39 ` Brent Casavant
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=429289C6.9080707@pobox.com \
--to=jgarzik@pobox.com \
--cc=akpm@osdl.org \
--cc=bcasavan@sgi.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