#define PROCSTR "dgap" /* /proc entries */
#define DEVSTR "/dev/dg/dgap" /* /dev entries */
-#define DRVSTR "dgap" /* Driver name string
+#define DRVSTR "dgap" /* Driver name string
* displayed by APR */
#define APR(args) do { PRINTF_TO_KMEM(args); printk(DRVSTR": "); printk args; \
} while (0)
#endif
#if defined TRC_TO_KMEM
-#define PRINTF_TO_KMEM(args) dgap_tracef args
+#define PRINTF_TO_KMEM(args) dgap_tracef args
#else //!defined TRC_TO_KMEM
#define PRINTF_TO_KMEM(args)
#endif
* Our major for the mgmt devices.
*
* We can use 22, because Digi was allocated 22 and 23 for the epca driver.
- * 22 has now become obsolete now that the "cu" devices have
+ * 22 has now become obsolete now that the "cu" devices have
* been removed from 2.6.
* Also, this *IS* the epca driver, just PCI only now.
*/
extern char *dgap_driver_state_text[];
-/*
+/*
* Modem line constants are defined as macros because DSR and
* DCD are swapable using the ditty altpin option.
*/
};
-/************************************************************************
+/************************************************************************
* Device flag definitions for bd_flags.
************************************************************************/
#define BD_FEP5PLUS 0x0001 /* Supports FEP5 Plus commands */
int type; /* Type of board */
char *name; /* Product Name */
- struct pci_dev *pdev; /* Pointer to the pci_dev struct */
+ struct pci_dev *pdev; /* Pointer to the pci_dev struct */
u16 vendor; /* PCI vendor ID */
u16 device; /* PCI device ID */
u16 subvendor; /* PCI subsystem vendor ID */
-/************************************************************************
+/************************************************************************
* Unit flag definitions for un_flags.
************************************************************************/
#define UN_ISOPEN 0x0001 /* Device is open */
struct device;
/************************************************************************
- * Structure for terminal or printer unit.
+ * Structure for terminal or printer unit.
************************************************************************/
struct un_t {
int magic; /* Unit Magic Number. */
};
-/************************************************************************
+/************************************************************************
* Device flag definitions for ch_flags.
************************************************************************/
#define CH_PRON 0x0001 /* Printer on string */
#define SNIFF_WAIT_SPACE 0x4
-/************************************************************************
+/************************************************************************
* Channel information structure.
************************************************************************/
struct channel_t {
* Global functions declared in dgap_fep5.c, but must be hidden from
* user space programs.
*/
-extern void dgap_poll_tasklet(unsigned long data);
+extern void dgap_poll_tasklet(unsigned long data);
extern void dgap_cmdb(struct channel_t *ch, uchar cmd, uchar byte1, uchar byte2, uint ncmds);
extern void dgap_cmdw(struct channel_t *ch, uchar cmd, u16 word, uint ncmds);
extern void dgap_wmove(struct channel_t *ch, char *buf, uint cnt);