ALSA: oxygen: do not show chip revision in card longname
[firewire-audio.git] / drivers / staging / cxt1e1 / pmcc4_sysdep.h
blob697f1943670feb07088cf7f3e45fef9e42f81e86
1 #ifndef _INC_PMCC4_SYSDEP_H_
2 #define _INC_PMCC4_SYSDEP_H_
4 /*-----------------------------------------------------------------------------
5 * pmcc4_sysdep.h -
7 * Copyright (C) 2005 SBE, Inc.
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
20 /* reduce multiple autoconf entries to a single definition */
22 #ifdef CONFIG_SBE_PMCC4_HDLC_V7_MODULE
23 #undef CONFIG_SBE_PMCC4_HDLC_V7
24 #define CONFIG_SBE_PMCC4_HDLC_V7 1
25 #endif
27 #ifdef CONFIG_SBE_PMCC4_NCOMM_MODULE
28 #undef CONFIG_SBE_PMCC4_NCOMM
29 #define CONFIG_SBE_PMCC4_NCOMM 1
30 #endif
33 /* FLUSH MACROS - if using ioremap_nocache(), then these can be NOOPS,
34 * otherwise a memory barrier needs to be inserted.
37 #define FLUSH_PCI_READ() rmb()
38 #define FLUSH_PCI_WRITE() wmb()
39 #define FLUSH_MEM_READ() rmb()
40 #define FLUSH_MEM_WRITE() wmb()
44 * System dependent callbacks routines, not inlined...
45 * For inlined system dependent routines, see include/sbecom_inlinux_linux.h
49 * passes received memory token back to the system, <user> is parameter from
50 * sd_new_chan() used to create the channel which the data arrived on
53 void sd_recv_consume(void *token, size_t len, void *user);
55 void sd_disable_xmit (void *user);
56 void sd_enable_xmit (void *user);
57 int sd_line_is_ok (void *user);
58 void sd_line_is_up (void *user);
59 void sd_line_is_down (void *user);
60 int sd_queue_stopped (void *user);
62 #endif /*** _INC_PMCC4_SYSDEP_H_ ***/