Ignore:
Timestamp:
May 2, 2007, 9:13:43 AM (18 years ago)
Author:
Brendan Oakley
Message:

Merged 0.9.0beta6 to 0.9.0beta12. Fixed a few compilation errors.
Left include/sound/driver.h at beta9 until I figure out why it contains
so many modifications to sections that were removed in beta10.
Does not yet build. Needs more fixing.
Added a few new files that were in the copy Paul gave me to work from.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/alsa-resync1/alsa-kernel/isa/sgalaxy.c

    r32 r92  
    1818 *   You should have received a copy of the GNU General Public License
    1919 *   along with this program; if not, write to the Free Software
    20  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     20 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
    2121 *
    2222 */
    2323
    24 #define SNDRV_MAIN_OBJECT_FILE
    2524#include <sound/driver.h>
     25#include <asm/dma.h>
     26#include <linux/init.h>
     27#include <linux/delay.h>
     28#include <linux/time.h>
     29#include <sound/core.h>
    2630#include <sound/sb.h>
    2731#include <sound/ad1848.h>
     
    3236
    3337EXPORT_NO_SYMBOLS;
     38
     39MODULE_AUTHOR("Christopher Butler <chrisb@sandy.force9.co.uk>");
    3440MODULE_DESCRIPTION("Aztech Sound Galaxy");
     41MODULE_LICENSE("GPL");
    3542MODULE_CLASSES("{sound}");
    3643MODULE_DEVICES("{{Aztech Systems,Sound Galaxy}}");
     
    117124        if ((tmp = inb(port + 3)) == 0xff)
    118125        {
    119                 snd_printdd("I/O address dead (0x%lx)\n", tmp);
     126                snd_printdd("I/O address dead (0x%lx)\n", port);
    120127                return 0;
    121128        }
     
    299306        if (!cards) {
    300307#ifdef MODULE
    301                 snd_printk("Sound Galaxy soundcard not found or device busy\n");
     308                printk(KERN_ERR "Sound Galaxy soundcard not found or device busy\n");
    302309#endif
    303310                return -ENODEV;
     
    320327#ifndef MODULE
    321328
    322 /* format is: snd-card-sgalaxy=snd_enable,snd_index,snd_id,
     329/* format is: snd-sgalaxy=snd_enable,snd_index,snd_id,
    323330                               snd_sbport,snd_wssport,
    324331                               snd_irq,snd_dma1 */
     
    341348}
    342349
    343 __setup("snd-card-sgalaxy=", alsa_card_sgalaxy_setup);
     350__setup("snd-sgalaxy=", alsa_card_sgalaxy_setup);
    344351
    345352#endif /* ifndef MODULE */
Note: See TracChangeset for help on using the changeset viewer.