All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: "KOCHI, Takayoshi" <t-kouchi@mvf.biglobe.ne.jp>
Cc: andrew.grover@intel.com, jung-ik.lee@intel.com,
	linux-kernel@vger.kernel.org
Subject: Re: bare pci configuration access functions ?
Date: Thu, 31 Oct 2002 17:13:58 -0800	[thread overview]
Message-ID: <20021101011358.GF12405@kroah.com> (raw)
In-Reply-To: <20021101092358.JADUC0A8264C.1C79D883@mvf.biglobe.ne.jp>

On Thu, Oct 31, 2002 at 04:23:56PM -0800, KOCHI, Takayoshi wrote:
> 
> On Thu, 31 Oct 2002 15:54:57 -0800
> Greg KH <greg@kroah.com> wrote:
> 
> > > That's the way ACPI driver designers took and Linux can benefit
> > > from other OS's feedback in OS-independent part.
> > 
> > Can I ask if any of the development for other OSs has actually helped
> > Linux development?  I'm just curious.
> 
> FreeBSD's acpi project is a good example.
> http://www.jp.freebsd.org/acpi/index.html
> (though this page doesn't seem to reflect recent status)
> 
> They share the same code base (OS-independent part) as Linux
> and troubles FreeBSD had are troubles Linux will have or vice versa.
> 
> Its mailing-list is based in Japan but most discussions
> are in English and some intel developers are also in the list.

Nice, thanks for pointing that out.  But what about the fact that I
think we can now start optimizing certain parts of the "generic" code to
play nicer with Linux?

> AFAIK the aic7xxx driver has similar structure.

Some other SCSI drivers have this kind of structure.  And in the end,
it's a big pain.  If it makes the aic7xxx driver author's life easier,
all the better, as he's doing that work.  I just hope the upcoming 2.5
scsi core changes will not mess with him too much.

And that's the biggest problem with portions of code that try to be "os
independent", it usually causes bloat, and keeps other developers from
trying to help out with the project (any change I would make would most
likely be a Linux specific change, and be refused by the maintainer.)
It requires yet another "shim" layer between the driver's core logic,
and the OS, and the kernel sure doesn't need anymore of those...

OS independent drivers have been proven to not work, you don't see UDI
in production use now do you?

Now I don't mean this to be an ACPI rant, I know why they did their code
this way, and without it, there probably would not be any ACPI Linux
code.  I just don't think it's the best way (from an engineering
standpoint) to do things.  And again, we are getting way off topic from
the original problem, sorry.

thanks,

greg k-h

  reply	other threads:[~2002-11-01  1:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-31 22:00 bare pci configuration access functions ? Grover, Andrew
2002-10-31 22:11 ` Greg KH
2002-10-31 22:50   ` Scott Murray
2002-10-31 23:46     ` Greg KH
2002-11-01  0:23       ` Scott Murray
2002-10-31 23:37   ` KOCHI, Takayoshi
2002-10-31 23:54     ` Greg KH
2002-11-01  0:23       ` KOCHI, Takayoshi
2002-11-01  1:13         ` Greg KH [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-01  2:07 Grover, Andrew
2002-11-01  2:45 ` Greg KH
2002-10-31 21:07 Grover, Andrew
2002-10-31 21:23 ` Greg KH
2002-10-31 23:40 ` Kai Germaschewski

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=20021101011358.GF12405@kroah.com \
    --to=greg@kroah.com \
    --cc=andrew.grover@intel.com \
    --cc=jung-ik.lee@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=t-kouchi@mvf.biglobe.ne.jp \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.