Deleted Added
full compact
envy24ht.c (267581) envy24ht.c (274035)
1/*-
2 * Copyright (c) 2006 Konstantin Dimitrov <kosio.dimitrov@gmail.com>
3 * Copyright (c) 2001 Katsurajima Naoto <raven@katsurajima.seya.yokohama.jp>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 37 unchanged lines hidden (view full) ---

46#include <dev/sound/pci/spicds.h>
47#include <dev/sound/pci/envy24ht.h>
48
49#include <dev/pci/pcireg.h>
50#include <dev/pci/pcivar.h>
51
52#include "mixer_if.h"
53
1/*-
2 * Copyright (c) 2006 Konstantin Dimitrov <kosio.dimitrov@gmail.com>
3 * Copyright (c) 2001 Katsurajima Naoto <raven@katsurajima.seya.yokohama.jp>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 37 unchanged lines hidden (view full) ---

46#include <dev/sound/pci/spicds.h>
47#include <dev/sound/pci/envy24ht.h>
48
49#include <dev/pci/pcireg.h>
50#include <dev/pci/pcivar.h>
51
52#include "mixer_if.h"
53
54SND_DECLARE_FILE("$FreeBSD: head/sys/dev/sound/pci/envy24ht.c 267581 2014-06-17 16:07:57Z jhb $");
54SND_DECLARE_FILE("$FreeBSD: head/sys/dev/sound/pci/envy24ht.c 274035 2014-11-03 11:11:45Z bapt $");
55
56static MALLOC_DEFINE(M_ENVY24HT, "envy24ht", "envy24ht audio");
57
58/* -------------------------------------------------------------------- */
59
60struct sc_info;
61
62#define ENVY24HT_PLAY_CHNUM 8

--- 2520 unchanged lines hidden (view full) ---

2583 DEVMETHOD(device_attach, envy24ht_pci_attach),
2584 DEVMETHOD(device_detach, envy24ht_pci_detach),
2585 { 0, 0 }
2586};
2587
2588static driver_t envy24ht_driver = {
2589 "pcm",
2590 envy24ht_methods,
55
56static MALLOC_DEFINE(M_ENVY24HT, "envy24ht", "envy24ht audio");
57
58/* -------------------------------------------------------------------- */
59
60struct sc_info;
61
62#define ENVY24HT_PLAY_CHNUM 8

--- 2520 unchanged lines hidden (view full) ---

2583 DEVMETHOD(device_attach, envy24ht_pci_attach),
2584 DEVMETHOD(device_detach, envy24ht_pci_detach),
2585 { 0, 0 }
2586};
2587
2588static driver_t envy24ht_driver = {
2589 "pcm",
2590 envy24ht_methods,
2591#if __FreeBSD_version > 500000
2592 PCM_SOFTC_SIZE,
2591 PCM_SOFTC_SIZE,
2593#else
2594 sizeof(struct snddev_info),
2595#endif
2596};
2597
2598DRIVER_MODULE(snd_envy24ht, pci, envy24ht_driver, pcm_devclass, 0, 0);
2599MODULE_DEPEND(snd_envy24ht, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
2600MODULE_DEPEND(snd_envy24ht, snd_spicds, 1, 1, 1);
2601MODULE_VERSION(snd_envy24ht, 1);
2592};
2593
2594DRIVER_MODULE(snd_envy24ht, pci, envy24ht_driver, pcm_devclass, 0, 0);
2595MODULE_DEPEND(snd_envy24ht, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
2596MODULE_DEPEND(snd_envy24ht, snd_spicds, 1, 1, 1);
2597MODULE_VERSION(snd_envy24ht, 1);