All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Pat Gefre <pfg@sgi.com>
Cc: pfg@sgi.com, erikj@subway.americas.sgi.com,
	rmk+lkml@arm.linux.org.uk, cw@f00f.org, hch@infradead.org,
	jbarnes@engr.sgi.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6] Altix serial driver
Date: Mon, 28 Jun 2004 15:20:00 -0700	[thread overview]
Message-ID: <20040628152000.4b7665c6.akpm@osdl.org> (raw)
In-Reply-To: <Pine.SGI.3.96.1040628170609.36430N-100000@fsgi900.americas.sgi.com>

Pat Gefre <pfg@sgi.com> wrote:
>
> On Mon, 28 Jun 2004, Andrew Morton wrote:
> 
> + Pat Gefre <pfg@sgi.com> wrote:
> + >
> + > We think we should stick with the major/minor set we have proposed.  We
> + >  don't like hacking the 8250 code, dynamic allocation doesn't work (once
> + >  that works we will update our driver to use it), registering for our
> + >  own major/minor may not work (if we DO get one we will update the
> + >  driver to reflect it) but in the meantime we need to get something in
> + >  the community that works.
> + 
> + "we don't like" isn't a very strong argument ;)
> + 
> + It does sound to me like some work is needed in the generic serial layer to
> + teach it to get its sticky paws off the ttyS0 major/minor if there is no
> + corresponding hardware.  AFAICT nobody has scoped out exactly what has to
> + be done for a clean solution there - it may not be very complex.  So could
> + we please explore that a little further?
> + 
> + If that proves to be impractical for some reason then I'd be inclined to
> + allocate a new misc minor, stick it in devices.txt and be done with it.
> 
> I'm not sure I understand what you mean by this. Use a different major
> (one that is likely to not be used by anyone else on our system) and a
> minor that no one is assigned ?
> 

Or use dynamic allocation.  I'm trying to understand why early-boot code
needs to know the major/minor when it will be accessing the driver via
/dev/console anyway.


  reply	other threads:[~2004-06-28 22:21 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-23 14:48 [PATCH 2.6] Altix serial driver Pat Gefre
2004-06-23 15:06 ` Christoph Hellwig
2004-06-23 21:38 ` Andrew Morton
2004-06-23 21:54   ` Jesse Barnes
2004-06-25  3:15     ` Erik Jacobson
2004-06-25  8:31       ` Christoph Hellwig
2004-06-25 12:46         ` Erik Jacobson
2004-06-25 12:48           ` Christoph Hellwig
2004-06-25 13:00             ` Erik Jacobson
2004-06-26 23:52               ` Chris Wedgwood
2004-06-28  0:24                 ` Erik Jacobson
2004-06-28  0:33                   ` Chris Wedgwood
2004-06-28  1:14                     ` Russell King
2004-06-28  1:44                       ` Chris Wedgwood
2004-06-28  7:54                         ` Russell King
2004-06-28  8:14                           ` Chris Wedgwood
2004-06-28  9:02                           ` Russell King
2004-06-28 12:28                           ` Erik Jacobson
2004-06-28 19:04                             ` Pat Gefre
2004-06-28 19:13                               ` Andrew Morton
2004-06-28 19:47                                 ` Russell King
2004-06-28 20:57                                   ` Andrew Morton
2004-06-28 22:09                                 ` Pat Gefre
2004-06-28 22:20                                   ` Andrew Morton [this message]
2004-06-28 23:10                                     ` Russell King
2004-06-25 15:10         ` Jesse Barnes
2004-06-25 15:53           ` Christoph Hellwig
2004-06-25 20:45             ` Andrew Morton
2004-06-25 20:46               ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2004-06-22 16:16 Pat Gefre
2004-06-22 18:24 ` Andrew Morton
2004-06-22 18:36   ` Christoph Hellwig
2004-06-23 14:42     ` Pat Gefre
2004-06-23 15:02       ` Christoph Hellwig
2004-06-23 15:07         ` Erik Jacobson

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=20040628152000.4b7665c6.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=cw@f00f.org \
    --cc=erikj@subway.americas.sgi.com \
    --cc=hch@infradead.org \
    --cc=jbarnes@engr.sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pfg@sgi.com \
    --cc=rmk+lkml@arm.linux.org.uk \
    /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.