public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Greg KH <greg@kroah.com>, Jaroslav Kysela <perex@suse.cz>,
	Adam Belay <ambx1@neo.rr.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] pnp & pci structure cleanups
Date: Mon, 30 Dec 2002 20:47:29 -0500	[thread overview]
Message-ID: <20021231014729.GB28152@gtf.org> (raw)
In-Reply-To: <1041299426.13956.191.camel@irongate.swansea.linux.org.uk>

On Tue, Dec 31, 2002 at 01:50:26AM +0000, Alan Cox wrote:
> Ok. Suggestion for how to handle this (not yet tried). Change the
> assumption about the end marker. Right now the end marker only uses the
> first fields and the user data happens to always be zero. If we change
> the pci matching code to interpret end markers with a non zero userdata
> as a pointer to the next table it all seems to come out in the wash,

I like it


> although there are some tricky details to consider - who frees up the
> extra tables on a module unload (if anyone), and how do we manage
> multiple modules with chains of tables (or do we just disallow that
> case). 

There will definitely be cases where people will want to black out
existing entries too.
Or would that open up to too much potential vendor abuse?  


> I think it also means we need to be able to go pci table -> owner ?

I don't really see why.  If you wanted to be terribly correct have
these things as refcounting kobjects or similar...  But really, with all
those other wonderfully unlocked PCI lists in the core, why starting
doing it The Right Way now?  ;-)

	Jeff





  reply	other threads:[~2002-12-31  1:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-29 11:33 [PATCH] pnp & pci structure cleanups Jaroslav Kysela
2002-12-30 22:12 ` Greg KH
2002-12-30 23:12   ` Alan Cox
2002-12-30 22:50     ` Jeff Garzik
2002-12-30 22:51       ` Greg KH
2002-12-30 23:14         ` Jeff Garzik
2002-12-30 23:59           ` Greg KH
2002-12-31  1:50           ` Alan Cox
2002-12-31  1:47             ` Jeff Garzik [this message]
2002-12-31  2:47               ` Alan Cox

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=20021231014729.GB28152@gtf.org \
    --to=jgarzik@pobox.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=ambx1@neo.rr.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@suse.cz \
    /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