Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pmac_zilog.c File Reference
#include <linux/module.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/major.h>
#include <linux/string.h>
#include <linux/fcntl.h>
#include <linux/mm.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/adb.h>
#include <linux/pmu.h>
#include <linux/bitops.h>
#include <linux/sysrq.h>
#include <linux/mutex.h>
#include <asm/sections.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <linux/platform_device.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
#include "pmac_zilog.h"

Go to the source code of this file.

Macros

#define of_machine_is_compatible(x)   (0)
 
#define PMACZILOG_MAJOR   204
 
#define PMACZILOG_MINOR   192
 
#define PMACZILOG_NAME   "ttyPZ"
 
#define pmz_debug(fmt, arg...)   pr_debug("ttyPZ%d: " fmt, uap->port.line, ## arg)
 
#define pmz_error(fmt, arg...)   pr_err("ttyPZ%d: " fmt, uap->port.line, ## arg)
 
#define pmz_info(fmt, arg...)   pr_info("ttyPZ%d: " fmt, uap->port.line, ## arg)
 
#define PMACZILOG_CONSOLE   (NULL)
 

Functions

 MODULE_AUTHOR ("Benjamin Herrenschmidt <[email protected]>")
 
 MODULE_DESCRIPTION ("Driver for the Mac and PowerMac serial ports.")
 
 MODULE_LICENSE ("GPL")
 
 module_init (init_pmz)
 
 module_exit (exit_pmz)
 

Variables

struct platform_device scc_a_pdev scc_b_pdev
 

Macro Definition Documentation

#define of_machine_is_compatible (   x)    (0)

Definition at line 72 of file pmac_zilog.c.

#define PMACZILOG_CONSOLE   (NULL)

Definition at line 1826 of file pmac_zilog.c.

#define PMACZILOG_MAJOR   204

Definition at line 97 of file pmac_zilog.c.

#define PMACZILOG_MINOR   192

Definition at line 98 of file pmac_zilog.c.

#define PMACZILOG_NAME   "ttyPZ"

Definition at line 99 of file pmac_zilog.c.

#define pmz_debug (   fmt,
  arg... 
)    pr_debug("ttyPZ%d: " fmt, uap->port.line, ## arg)

Definition at line 102 of file pmac_zilog.c.

#define pmz_error (   fmt,
  arg... 
)    pr_err("ttyPZ%d: " fmt, uap->port.line, ## arg)

Definition at line 103 of file pmac_zilog.c.

#define pmz_info (   fmt,
  arg... 
)    pr_info("ttyPZ%d: " fmt, uap->port.line, ## arg)

Definition at line 104 of file pmac_zilog.c.

Function Documentation

MODULE_AUTHOR ( "Benjamin Herrenschmidt <[email protected]>"  )
MODULE_DESCRIPTION ( "Driver for the Mac and PowerMac serial ports."  )
module_exit ( exit_pmz  )
module_init ( init_pmz  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

Definition at line 848 of file config.c.