All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [alsa-cvslog] alsa-kernel: snd-emu10k1: Add support for EMU1212m card.
       [not found] <ALOGGER1152655949.31@alsa-project.org>
@ 2006-07-11 22:28 ` Lee Revell
  2006-07-12  9:58   ` Takashi Iwai
  0 siblings, 1 reply; 8+ messages in thread
From: Lee Revell @ 2006-07-11 22:28 UTC (permalink / raw)
  To: James Courtier-Dutton; +Cc: alsa-devel

On Wed, 2006-07-12 at 00:12 +0200, James Courtier-Dutton wrote:
> +const static unsigned char emu1212m_netlist1[] = {
> +0xFF, 0xFF, 0xFF, 0xFF, 0x55, 0x99, 0xAA, 0x66,
> +0x0C, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0xE0,
> +0x0C, 0x80, 0x06, 0x80, 0x00, 0x00, 0x00, 0xD0,

[ etc ]

You're going to bloat everyone's emu10k1 driver with this gigantic
structure?  Can't you use the firmware loading interface?  The kernel
guys will flip when they see this.

Lee



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [alsa-cvslog] alsa-kernel: snd-emu10k1: Add support for EMU1212m card.
  2006-07-11 22:28 ` [alsa-cvslog] alsa-kernel: snd-emu10k1: Add support for EMU1212m card Lee Revell
@ 2006-07-12  9:58   ` Takashi Iwai
  2006-07-12 10:01     ` Takashi Iwai
  2006-07-12 10:03     ` James Courtier-Dutton
  0 siblings, 2 replies; 8+ messages in thread
From: Takashi Iwai @ 2006-07-12  9:58 UTC (permalink / raw)
  To: Lee Revell; +Cc: alsa-devel, James Courtier-Dutton

At Tue, 11 Jul 2006 18:28:48 -0400,
Lee Revell wrote:
> 
> On Wed, 2006-07-12 at 00:12 +0200, James Courtier-Dutton wrote:
> > +const static unsigned char emu1212m_netlist1[] = {
> > +0xFF, 0xFF, 0xFF, 0xFF, 0x55, 0x99, 0xAA, 0x66,
> > +0x0C, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0xE0,
> > +0x0C, 0x80, 0x06, 0x80, 0x00, 0x00, 0x00, 0xD0,
> 
> [ etc ]
> 
> You're going to bloat everyone's emu10k1 driver with this gigantic
> structure?  Can't you use the firmware loading interface?  The kernel
> guys will flip when they see this.

Agreed, that's too big.  You should put the binary image in
alsa-firmware package and use request_firmware() to read it.

Any chance to revert the patch (as exception) from HG tree?


Takashi


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [alsa-cvslog] alsa-kernel: snd-emu10k1: Add support for EMU1212m card.
  2006-07-12  9:58   ` Takashi Iwai
@ 2006-07-12 10:01     ` Takashi Iwai
  2006-07-12 10:03     ` James Courtier-Dutton
  1 sibling, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2006-07-12 10:01 UTC (permalink / raw)
  To: Lee Revell; +Cc: alsa-devel, James Courtier-Dutton

At Wed, 12 Jul 2006 11:58:43 +0200,
I wrote:
> 
> At Tue, 11 Jul 2006 18:28:48 -0400,
> Lee Revell wrote:
> > 
> > On Wed, 2006-07-12 at 00:12 +0200, James Courtier-Dutton wrote:
> > > +const static unsigned char emu1212m_netlist1[] = {
> > > +0xFF, 0xFF, 0xFF, 0xFF, 0x55, 0x99, 0xAA, 0x66,
> > > +0x0C, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0xE0,
> > > +0x0C, 0x80, 0x06, 0x80, 0x00, 0x00, 0x00, 0xD0,
> > 
> > [ etc ]
> > 
> > You're going to bloat everyone's emu10k1 driver with this gigantic
> > structure?  Can't you use the firmware loading interface?  The kernel
> > guys will flip when they see this.
> 
> Agreed, that's too big.  You should put the binary image in
> alsa-firmware package and use request_firmware() to read it.
> 
> Any chance to revert the patch (as exception) from HG tree?

Also, avoid C++ style comments.  It's a consensus although not clearly
mentioned in CodingStyle document.


Takashi


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [alsa-cvslog] alsa-kernel: snd-emu10k1: Add support for EMU1212m card.
  2006-07-12  9:58   ` Takashi Iwai
  2006-07-12 10:01     ` Takashi Iwai
@ 2006-07-12 10:03     ` James Courtier-Dutton
  2006-07-12 10:07       ` Takashi Iwai
  1 sibling, 1 reply; 8+ messages in thread
From: James Courtier-Dutton @ 2006-07-12 10:03 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Lee Revell, alsa-devel

Takashi Iwai wrote:
> At Tue, 11 Jul 2006 18:28:48 -0400,
> Lee Revell wrote:
>   
>> On Wed, 2006-07-12 at 00:12 +0200, James Courtier-Dutton wrote:
>>     
>>> +const static unsigned char emu1212m_netlist1[] = {
>>> +0xFF, 0xFF, 0xFF, 0xFF, 0x55, 0x99, 0xAA, 0x66,
>>> +0x0C, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0xE0,
>>> +0x0C, 0x80, 0x06, 0x80, 0x00, 0x00, 0x00, 0xD0,
>>>       
>> [ etc ]
>>
>> You're going to bloat everyone's emu10k1 driver with this gigantic
>> structure?  Can't you use the firmware loading interface?  The kernel
>> guys will flip when they see this.
>>     
>
> Agreed, that's too big.  You should put the binary image in
> alsa-firmware package and use request_firmware() to read it.
>
> Any chance to revert the patch (as exception) from HG tree?
>
>
> Takashi
>   
I will sort it out this weekend.
I just wanted to get the code in there so people interested in emu1212m 
support could see it.
The support for the emu1212m has been a long time coming (years in fact).

James



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [alsa-cvslog] alsa-kernel: snd-emu10k1: Add support for EMU1212m card.
  2006-07-12 10:03     ` James Courtier-Dutton
@ 2006-07-12 10:07       ` Takashi Iwai
  2006-07-12 10:41         ` James Courtier-Dutton
  0 siblings, 1 reply; 8+ messages in thread
From: Takashi Iwai @ 2006-07-12 10:07 UTC (permalink / raw)
  To: James Courtier-Dutton; +Cc: Lee Revell, alsa-devel

At Wed, 12 Jul 2006 11:03:51 +0100,
James Courtier-Dutton wrote:
> 
> Takashi Iwai wrote:
> > At Tue, 11 Jul 2006 18:28:48 -0400,
> > Lee Revell wrote:
> >   
> >> On Wed, 2006-07-12 at 00:12 +0200, James Courtier-Dutton wrote:
> >>     
> >>> +const static unsigned char emu1212m_netlist1[] = {
> >>> +0xFF, 0xFF, 0xFF, 0xFF, 0x55, 0x99, 0xAA, 0x66,
> >>> +0x0C, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0xE0,
> >>> +0x0C, 0x80, 0x06, 0x80, 0x00, 0x00, 0x00, 0xD0,
> >>>       
> >> [ etc ]
> >>
> >> You're going to bloat everyone's emu10k1 driver with this gigantic
> >> structure?  Can't you use the firmware loading interface?  The kernel
> >> guys will flip when they see this.
> >>     
> >
> > Agreed, that's too big.  You should put the binary image in
> > alsa-firmware package and use request_firmware() to read it.
> >
> > Any chance to revert the patch (as exception) from HG tree?
> >
> >
> > Takashi
> >   
> I will sort it out this weekend.
> I just wanted to get the code in there so people interested in emu1212m 
> support could see it.
> The support for the emu1212m has been a long time coming (years in fact).

The problem is, if you commit codes into alsa-kernel tree, it means
automatically that the code will appear on linux kernel tree.
So, you're pushing unneeded bunch of binary data to the kernel tree
now.  The point here is not how well the device is supported.


Takashi


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [alsa-cvslog] alsa-kernel: snd-emu10k1: Add support for EMU1212m card.
  2006-07-12 10:07       ` Takashi Iwai
@ 2006-07-12 10:41         ` James Courtier-Dutton
  2006-07-12 11:01           ` Jaroslav Kysela
  0 siblings, 1 reply; 8+ messages in thread
From: James Courtier-Dutton @ 2006-07-12 10:41 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Lee Revell, alsa-devel

Takashi Iwai wrote:
> At Wed, 12 Jul 2006 11:03:51 +0100,
> James Courtier-Dutton wrote:
>   
>> Takashi Iwai wrote:
>>     
>>> At Tue, 11 Jul 2006 18:28:48 -0400,
>>> Lee Revell wrote:
>>>   
>>>       
>>>> On Wed, 2006-07-12 at 00:12 +0200, James Courtier-Dutton wrote:
>>>>     
>>>>         
>>>>> +const static unsigned char emu1212m_netlist1[] = {
>>>>> +0xFF, 0xFF, 0xFF, 0xFF, 0x55, 0x99, 0xAA, 0x66,
>>>>> +0x0C, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0xE0,
>>>>> +0x0C, 0x80, 0x06, 0x80, 0x00, 0x00, 0x00, 0xD0,
>>>>>       
>>>>>           
>>>> [ etc ]
>>>>
>>>> You're going to bloat everyone's emu10k1 driver with this gigantic
>>>> structure?  Can't you use the firmware loading interface?  The kernel
>>>> guys will flip when they see this.
>>>>     
>>>>         
>>> Agreed, that's too big.  You should put the binary image in
>>> alsa-firmware package and use request_firmware() to read it.
>>>
>>> Any chance to revert the patch (as exception) from HG tree?
>>>
>>>
>>> Takashi
>>>   
>>>       
>> I will sort it out this weekend.
>> I just wanted to get the code in there so people interested in emu1212m 
>> support could see it.
>> The support for the emu1212m has been a long time coming (years in fact).
>>     
>
> The problem is, if you commit codes into alsa-kernel tree, it means
> automatically that the code will appear on linux kernel tree.
> So, you're pushing unneeded bunch of binary data to the kernel tree
> now.  The point here is not how well the device is supported.
>
>
> Takashi
>   
So, how do I undo this?
I need a hg repository on the net somewhere that I can use for 
development work like this. I would use it to backup work in progress 
alsa development.
That was always possible with the alsa cvs tree. I did not think that 
had changed with the hg tree.

James



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [alsa-cvslog] alsa-kernel: snd-emu10k1: Add support for EMU1212m card.
  2006-07-12 10:41         ` James Courtier-Dutton
@ 2006-07-12 11:01           ` Jaroslav Kysela
  2006-07-12 17:53             ` Takashi Iwai
  0 siblings, 1 reply; 8+ messages in thread
From: Jaroslav Kysela @ 2006-07-12 11:01 UTC (permalink / raw)
  To: James Courtier-Dutton; +Cc: Takashi Iwai, Lee Revell, alsa-devel

On Wed, 12 Jul 2006, James Courtier-Dutton wrote:

> Takashi Iwai wrote:
> > At Wed, 12 Jul 2006 11:03:51 +0100,
> > James Courtier-Dutton wrote:
> >   
> >> Takashi Iwai wrote:
> >>     
> >>> At Tue, 11 Jul 2006 18:28:48 -0400,
> >>> Lee Revell wrote:
> >>>   
> >>>       
> >>>> On Wed, 2006-07-12 at 00:12 +0200, James Courtier-Dutton wrote:
> >>>>     
> >>>>         
> >>>>> +const static unsigned char emu1212m_netlist1[] = {
> >>>>> +0xFF, 0xFF, 0xFF, 0xFF, 0x55, 0x99, 0xAA, 0x66,
> >>>>> +0x0C, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0xE0,
> >>>>> +0x0C, 0x80, 0x06, 0x80, 0x00, 0x00, 0x00, 0xD0,
> >>>>>       
> >>>>>           
> >>>> [ etc ]
> >>>>
> >>>> You're going to bloat everyone's emu10k1 driver with this gigantic
> >>>> structure?  Can't you use the firmware loading interface?  The kernel
> >>>> guys will flip when they see this.
> >>>>     
> >>>>         
> >>> Agreed, that's too big.  You should put the binary image in
> >>> alsa-firmware package and use request_firmware() to read it.
> >>>
> >>> Any chance to revert the patch (as exception) from HG tree?
> >>>
> >>>
> >>> Takashi
> >>>   
> >>>       
> >> I will sort it out this weekend.
> >> I just wanted to get the code in there so people interested in emu1212m 
> >> support could see it.
> >> The support for the emu1212m has been a long time coming (years in fact).
> >>     
> >
> > The problem is, if you commit codes into alsa-kernel tree, it means
> > automatically that the code will appear on linux kernel tree.
> > So, you're pushing unneeded bunch of binary data to the kernel tree
> > now.  The point here is not how well the device is supported.
> >
> >
> > Takashi
> >   
> So, how do I undo this?

I did 'hg revert' in alsa-kernel repo.

> I need a hg repository on the net somewhere that I can use for 
> development work like this. I would use it to backup work in progress 
> alsa development.

The temporary development should go to the alsa-driver repository.

> That was always possible with the alsa cvs tree. I did not think that 
> had changed with the hg tree.

Nope. The rules are exactly same. The alsa-kernel tree is for stable code 
which goes directly to the kernel tree. The experimental code should go to 
the alsa-driver tree.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [alsa-cvslog] alsa-kernel: snd-emu10k1: Add support for EMU1212m card.
  2006-07-12 11:01           ` Jaroslav Kysela
@ 2006-07-12 17:53             ` Takashi Iwai
  0 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2006-07-12 17:53 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: Lee Revell, alsa-devel, James Courtier-Dutton

At Wed, 12 Jul 2006 13:01:13 +0200 (CEST),
Jaroslav Kysela wrote:
> 
> On Wed, 12 Jul 2006, James Courtier-Dutton wrote:
> 
> > Takashi Iwai wrote:
> > > At Wed, 12 Jul 2006 11:03:51 +0100,
> > > James Courtier-Dutton wrote:
> > >   
> > >> Takashi Iwai wrote:
> > >>     
> > >>> At Tue, 11 Jul 2006 18:28:48 -0400,
> > >>> Lee Revell wrote:
> > >>>   
> > >>>       
> > >>>> On Wed, 2006-07-12 at 00:12 +0200, James Courtier-Dutton wrote:
> > >>>>     
> > >>>>         
> > >>>>> +const static unsigned char emu1212m_netlist1[] = {
> > >>>>> +0xFF, 0xFF, 0xFF, 0xFF, 0x55, 0x99, 0xAA, 0x66,
> > >>>>> +0x0C, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0xE0,
> > >>>>> +0x0C, 0x80, 0x06, 0x80, 0x00, 0x00, 0x00, 0xD0,
> > >>>>>       
> > >>>>>           
> > >>>> [ etc ]
> > >>>>
> > >>>> You're going to bloat everyone's emu10k1 driver with this gigantic
> > >>>> structure?  Can't you use the firmware loading interface?  The kernel
> > >>>> guys will flip when they see this.
> > >>>>     
> > >>>>         
> > >>> Agreed, that's too big.  You should put the binary image in
> > >>> alsa-firmware package and use request_firmware() to read it.
> > >>>
> > >>> Any chance to revert the patch (as exception) from HG tree?
> > >>>
> > >>>
> > >>> Takashi
> > >>>   
> > >>>       
> > >> I will sort it out this weekend.
> > >> I just wanted to get the code in there so people interested in emu1212m 
> > >> support could see it.
> > >> The support for the emu1212m has been a long time coming (years in fact).
> > >>     
> > >
> > > The problem is, if you commit codes into alsa-kernel tree, it means
> > > automatically that the code will appear on linux kernel tree.
> > > So, you're pushing unneeded bunch of binary data to the kernel tree
> > > now.  The point here is not how well the device is supported.
> > >
> > >
> > > Takashi
> > >   
> > So, how do I undo this?
> 
> I did 'hg revert' in alsa-kernel repo.

Thanks.

> > I need a hg repository on the net somewhere that I can use for 
> > development work like this. I would use it to backup work in progress 
> > alsa development.
> 
> The temporary development should go to the alsa-driver repository.

Yes.  But in this case, it's a bit difficult since the part of the
stuff was already merged.

> > That was always possible with the alsa cvs tree. I did not think that 
> > had changed with the hg tree.
> 
> Nope. The rules are exactly same. The alsa-kernel tree is for stable code 
> which goes directly to the kernel tree. The experimental code should go to 
> the alsa-driver tree.

We may have an implicit rule, e.g. post RFC first to alsa-devel if you
have a big chunk of patch to alsa-kernel tree (e.g. a new driver or a
big ammount of code addition)...
Of course, it's not for alsa-driver tree.


Takashi


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-07-12 17:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <ALOGGER1152655949.31@alsa-project.org>
2006-07-11 22:28 ` [alsa-cvslog] alsa-kernel: snd-emu10k1: Add support for EMU1212m card Lee Revell
2006-07-12  9:58   ` Takashi Iwai
2006-07-12 10:01     ` Takashi Iwai
2006-07-12 10:03     ` James Courtier-Dutton
2006-07-12 10:07       ` Takashi Iwai
2006-07-12 10:41         ` James Courtier-Dutton
2006-07-12 11:01           ` Jaroslav Kysela
2006-07-12 17:53             ` Takashi Iwai

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.