[RFCA] Sound: adding /proc/driver/{vendor}/{dev_pci}/ac97 entry for es1371 driver

[RFCA] Sound: adding /proc/driver/{vendor}/{dev_pci}/ac97 entry for es1371 driver

Post by Tommy Reynold » Fri, 11 Jan 2002 01:10:19

Quote:> Doubts:
> 1) This adds something like: /proc/driver/es1371/00:03.00/ac97 I took the
> idea from emu10k1.c module. My doubt is about the `:' it looks wrong in a
> file name, specially when that's usually used to separate file names/paths.
> Should we pass it by a small routine that converts : into something like _?

I wouldn't change it.  In fact, Linux allows _any_ character except a NULL in a
filename, although POSIX doesn't.  (Well, I wouldn't use a '/' in a filename
even if I escaped it out the wazoo!)

Quote:> 2) I used a buffer of fixed length as in other modules, but I don't feel
> really good doing it. What solutions are recommended? (if any)

The kernel stack is really small and doesn't grow, so a buffer allocated on the
stack could cause "load-dependent instability".  Using a "vmalloc" and a "vfree"
is fast, cheap and easy.

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- + -- -- -- -- -- -- -- -- -- --

Red Hat, Inc., Embedded Development Services | Phone:  +1.256.704.9286
307 Wynn Drive NW, Huntsville, AL 35805 USA  | FAX:    +1.256.837.3839
Senior Software Developer                    | Mobile: +1.919.641.2923

< 1K Download

1. Are linux drivers for i810e AMR modems and AC97 sound capabilities in the works?

I'd like to work with low-cost i810e motherboards for some linux terminals I
have to build. I do see mention of i810 support from OSS (is i810e any
different?), and intel has the accelerated X-server
but what about the AMR modem?

I was hoping that since this was now such a common piece of hardware,
someone had found a way to make that particular 'winmodem' a 'linmodem'.

Its important for my project because I have to factor the cost and expansion
slot of a modem in or out, based on the availability of linux 810 drivers.

Thanks for any info.

2. driver for elsa

3. via ac97 sound drivers for linux

4. Zero/tag a HD

5. Intel i810 chipset, AC97 drivers for sound

6. Solaris 2.4 netstat -m problems

7. Intel i810 chipset, AC97 sound driver

8. Question about gdb

9. HELP - No Sound: ES1371 SB Driver

10. via ac97 sound drivers for linux

11. Driver help needed - AC97 Sound and GeForce 256 Graphics - New Machine

12. Driver via ac97 sound problem (VT82C686) Compaq Presario 700

13. via ac97 sound drivers for linux