RE: minor device number request for /dev/kvm (kernel-based virtual machine)

2007-03-01 Thread Mathiasen, Torben
> > If it does not increase memory usage, then possibly: > > > > __register_chrdev_region(major, 0, (~0U) & MINORMASK, name); > > or (1< clear > > > > > > I'm more worried about something in the chardev bowels not supporting > >8bit minors well. > I was

RE: lanana: Add major/minor entries for PPC QE UART devices

2007-03-01 Thread Mathiasen, Torben
> We are making a very complicated problem > out of nothing. This hasn't caused any problems > in the past, and changing the existing names and > minors will cause problems for everyone today. > > Just leave it alone, fix up the documentation, > and have the driver print some warning if it >

RE: lanana: Add major/minor entries for PPC QE UART devices

2007-03-01 Thread Mathiasen, Torben
We are making a very complicated problem out of nothing. This hasn't caused any problems in the past, and changing the existing names and minors will cause problems for everyone today. Just leave it alone, fix up the documentation, and have the driver print some warning if it allocates

RE: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Mathiasen, Torben
> > Mathiasen, Torben wrote: > > > Assuming QE has 4 entries, I would expect CPM to be the same. But we > > need verification of that. If it needs 6, we are in more trouble. > > The QE can have up to 8, actually, but I'm willing to limit the driver > to 4. Its yo

RE: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Mathiasen, Torben
> Mathiasen, Torben wrote: > > > > Got around looking at this one. I'm fine with this approach, but the > > CPM5 fix looks wrong. Shouldn't it be: > > > > 49 = /dev/ttyCPM3 PPC CPM (SCC or SMC) - port 3 > > > > instead? > > > > W

RE: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Mathiasen, Torben
> --- devices-2.6+.txt 2007-02-22 13:37:18.0 -0600 > +++ devices-2.6+.new 2007-02-22 13:42:50.0 -0600 > @@ -2770,7 +2770,10 @@ >45 = /dev/ttyMM1 Marvell MPSC - port 1 >46 = /dev/ttyCPM0 PPC CPM (SCC or SMC) - port 0 >

RE: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Mathiasen, Torben
--- devices-2.6+.txt 2007-02-22 13:37:18.0 -0600 +++ devices-2.6+.new 2007-02-22 13:42:50.0 -0600 @@ -2770,7 +2770,10 @@ 45 = /dev/ttyMM1 Marvell MPSC - port 1 46 = /dev/ttyCPM0 PPC CPM (SCC or SMC) - port 0

RE: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Mathiasen, Torben
Mathiasen, Torben wrote: Got around looking at this one. I'm fine with this approach, but the CPM5 fix looks wrong. Shouldn't it be: 49 = /dev/ttyCPM3 PPC CPM (SCC or SMC) - port 3 instead? Well, how many CPM devices can exist? If there are really 6 ports possible

RE: lanana: Add major/minor entries for PPC QE UART devices

2007-02-28 Thread Mathiasen, Torben
Mathiasen, Torben wrote: Assuming QE has 4 entries, I would expect CPM to be the same. But we need verification of that. If it needs 6, we are in more trouble. The QE can have up to 8, actually, but I'm willing to limit the driver to 4. Its your choice if you want to limit it to 4

RE: [PATCH] New updated devices.txt - LANANA

2006-12-01 Thread Mathiasen, Torben
> On Dec 1 2006 11:30, Torben Mathiasen wrote: > >Here's the updated version with additonal spelling fixes. > > > >Please use this one instead of the one that was sent 2 days ago. > > And here's a style update (have one free line between each, > and a few tabs). Applies _on top_ of yours. >

RE: [PATCH] New updated devices.txt - LANANA

2006-12-01 Thread Mathiasen, Torben
On Dec 1 2006 11:30, Torben Mathiasen wrote: Here's the updated version with additonal spelling fixes. Please use this one instead of the one that was sent 2 days ago. And here's a style update (have one free line between each, and a few tabs). Applies _on top_ of yours. Thanks,

RE: [PATCH] devices.txt - LANANA merge

2006-11-29 Thread Mathiasen, Torben
> > +258 block ROM/Flash read-only translation layer > > + 0 = /dev/blockrom0First ROM card's > translation layer interface > > + 1 = /dev/blockrom0Second ROM card's > translation layer interface > ^^^ > > Shouldn't here be '1',

RE: [PATCH] devices.txt - LANANA merge

2006-11-29 Thread Mathiasen, Torben
+258 block ROM/Flash read-only translation layer + 0 = /dev/blockrom0First ROM card's translation layer interface + 1 = /dev/blockrom0Second ROM card's translation layer interface ^^^ Shouldn't here be '1', ie,

RE: Probable endianess problem in TLAN driver

2001-06-09 Thread Mathiasen, Torben
Paulo, Thanks for the update/patch. Sorry I missed your first email, bu I've been way too busy with other stuff the last couple of months. There's a lot of endianess issues in the tlan driver, but none really bothered fixing them. No one really assumed the tlan adapters would be used on

RE: Probable endianess problem in TLAN driver

2001-06-09 Thread Mathiasen, Torben
Paulo, Thanks for the update/patch. Sorry I missed your first email, bu I've been way too busy with other stuff the last couple of months. There's a lot of endianess issues in the tlan driver, but none really bothered fixing them. No one really assumed the tlan adapters would be used on

RE: Alpha SCSI error on 2.4.0-test11

2000-11-30 Thread Mathiasen, Torben
Its probaly due to the semaphore changes that went in to test11 by Richard Henderson. scsi_wait_req will grab one on entry. Did test10 work for you on Alpha? Regards, Torben Mathiasen > -Original Message- > From: Rival, Frank > Sent: 30. november 2000 21:37 > To: Ezolt, Phillip > Cc:

RE: Alpha SCSI error on 2.4.0-test11

2000-11-30 Thread Mathiasen, Torben
Its probaly due to the semaphore changes that went in to test11 by Richard Henderson. scsi_wait_req will grab one on entry. Did test10 work for you on Alpha? Regards, Torben Mathiasen -Original Message- From: Rival, Frank Sent: 30. november 2000 21:37 To: Ezolt, Phillip Cc: