Skip to contentSkip to conversation

configuring unsupported sound-card]

[email protected]: Orm Finnendahl 2 participants 2 messages Sep 4, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

This is a message from Dave Hinds concerning autoconfiguring the PCMCIA. I looked for pci_register_driver and grep only found it in the binaries of snd-hdsp. Has the driver been written with the "modern" kernel API, Dave is referring to?

--
Orm

----- Forwarded message from [email protected] -----

From: [email protected]
To: [email protected]
Subject: [pcmcia-cs - Multifunction Cards] RE: configuring unsupported sound-card

If the driver uses the "modern" PCI kernel API, with pci_register_driver() etc, then it should work fine for hot plug devices.

As I said, for this to work, you need to use the kernel PCMCIA subsystem, and enable CONFIG_HOTPLUG, and get the latest linux-hotplug package.

-- Dave
______________________________________________________________________

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

#1 lore raw
Quoted 4 lines

This is a message from Dave Hinds concerning autoconfiguring the PCMCIA. I looked for pci_register_driver and grep only found it in the binaries of snd-hdsp. Has the driver been written with the "modern" kernel API, Dave is referring to?

yes, all of ALSA does this. we use pci_module_init() and pci_unregister_driver(), amongst others. this is common to all ALSA PCI-based drivers. pci_module_init() calls pci_register_driver() (see linux/include/linux/pci.h)

--p

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390