Skip to contentSkip to conversation

alsa-kernel: snd-emu10k1: Add support for EMU1212m card.

alsa-cvslog Lee Revell 4 participants 8 messages Jul 11, 2006 – Jul 12, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Lee Revell

author
#1 lore raw
Quoted 4 lines · James Courtier-Dutton

+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

#2 lore raw

At Tue, 11 Jul 2006 18:28:48 -0400,

Quoted 7 lines · Lee Revell
Quoted 4 lines · James Courtier-Dutton

+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,

Quoted 5 lines

[ 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

#3 lore raw

At Wed, 12 Jul 2006 11:58:43 +0200,

Quoted 12 lines · I wrote:

At Tue, 11 Jul 2006 18:28:48 -0400,

Quoted 9 lines · Lee Revell
Quoted 4 lines · James Courtier-Dutton

+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 ]

Quoted 8 lines
Quoted 3 lines

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

#4 lore raw
In reply to Takashi Iwai
Quoted 17 lines · Takashi Iwai

At Tue, 11 Jul 2006 18:28:48 -0400,

Quoted 7 lines · Lee Revell
Quoted 5 lines · James Courtier-Dutton

+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,

Quoted 6 lines

[ 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.

Quoted 8 lines

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

#5 lore raw

At Wed, 12 Jul 2006 11:03:51 +0100,

Quoted 25 lines · James Courtier-Dutton
Quoted 23 lines · Takashi Iwai

At Tue, 11 Jul 2006 18:28:48 -0400,

Quoted 7 lines · Lee Revell
Quoted 5 lines · James Courtier-Dutton

+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,

Quoted 6 lines

[ 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?

Quoted 6 lines
Quoted 2 lines

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

#6 lore raw
Quoted 40 lines · Takashi Iwai

At Wed, 12 Jul 2006 11:03:51 +0100,

Quoted 28 lines · James Courtier-Dutton
Quoted 26 lines · Takashi Iwai

At Tue, 11 Jul 2006 18:28:48 -0400,

Quoted 9 lines · Lee Revell
Quoted 6 lines · James Courtier-Dutton

+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,

Quoted 7 lines

[ 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?

Quoted 8 lines
Quoted 3 lines

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).

Quoted 8 lines

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

#7 lore raw
Quoted 47 lines · James Courtier-Dutton
Quoted 46 lines · Takashi Iwai

At Wed, 12 Jul 2006 11:03:51 +0100,

Quoted 28 lines · James Courtier-Dutton
Quoted 26 lines · Takashi Iwai

At Tue, 11 Jul 2006 18:28:48 -0400,

Quoted 9 lines · Lee Revell
Quoted 6 lines · James Courtier-Dutton

+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,

Quoted 7 lines

[ 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?

Quoted 8 lines
Quoted 3 lines

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.

Quoted 3 lines
Quoted 2 lines

Takashi

So, how do I undo this?

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

Quoted 3 lines

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.

Quoted 2 lines

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 <[email protected]>
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

#8 lore raw

At Wed, 12 Jul 2006 13:01:13 +0200 (CEST),

Quoted 50 lines · Jaroslav Kysela
Quoted 47 lines · James Courtier-Dutton
Quoted 46 lines · Takashi Iwai

At Wed, 12 Jul 2006 11:03:51 +0100,

Quoted 28 lines · James Courtier-Dutton
Quoted 26 lines · Takashi Iwai

At Tue, 11 Jul 2006 18:28:48 -0400,

Quoted 9 lines · Lee Revell
Quoted 6 lines · James Courtier-Dutton

+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,

Quoted 7 lines

[ 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?

Quoted 8 lines
Quoted 3 lines

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.

Quoted 5 lines
Quoted 3 lines
Quoted 2 lines

Takashi

So, how do I undo this?

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

Thanks.

Quoted 5 lines
Quoted 3 lines

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.

Quoted 6 lines
Quoted 2 lines

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