~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to arch/sparc/include/asm/oplib_32.h

  • Committer: Bazaar Package Importer
  • Author(s): John Rigby, John Rigby
  • Date: 2011-01-08 18:34:41 UTC
  • Revision ID: james.westby@ubuntu.com-20110108183441-002wttt2gz2sah4b
Tags: 2.6.37-1002.5
[ John Rigby ]

* rebase to new upstreams: 
  v2.6.37 final
  Ubuntu-2.6.37-12.28
* Clean up lintian errors and warnings
  - LP: #697317

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
extern char *prom_mapio(char *virt_hint, int io_space, unsigned int phys_addr, unsigned int num_bytes);
61
61
extern void prom_unmapio(char *virt_addr, unsigned int num_bytes);
62
62
 
63
 
/* Device operations. */
64
 
 
65
 
/* Open the device described by the passed string.  Note, that the format
66
 
 * of the string is different on V0 vs. V2->higher proms.  The caller must
67
 
 * know what he/she is doing!  Returns the device descriptor, an int.
68
 
 */
69
 
extern int prom_devopen(char *device_string);
70
 
 
71
 
/* Close a previously opened device described by the passed integer
72
 
 * descriptor.
73
 
 */
74
 
extern int prom_devclose(int device_handle);
75
 
 
76
 
/* Do a seek operation on the device described by the passed integer
77
 
 * descriptor.
78
 
 */
79
 
extern void prom_seek(int device_handle, unsigned int seek_hival,
80
 
                      unsigned int seek_lowval);
81
 
 
82
63
/* Miscellaneous routines, don't really fit in any category per se. */
83
64
 
84
65
/* Reboot the machine with the command line passed. */
121
102
/* Get the prom firmware revision. */
122
103
extern int prom_getprev(void);
123
104
 
124
 
/* Character operations to/from the console.... */
125
 
 
126
 
/* Non-blocking get character from console. */
127
 
extern int prom_nbgetchar(void);
128
 
 
129
 
/* Non-blocking put character to console. */
130
 
extern int prom_nbputchar(char character);
131
 
 
132
 
/* Blocking get character from console. */
133
 
extern char prom_getchar(void);
134
 
 
135
 
/* Blocking put character to console. */
136
 
extern void prom_putchar(char character);
 
105
/* Write a buffer of characters to the console. */
 
106
extern void prom_console_write_buf(const char *buf, int len);
137
107
 
138
108
/* Prom's internal routines, don't use in kernel/boot code. */
139
109
extern void prom_printf(const char *fmt, ...);
238
208
extern int prom_setprop(phandle node, const char *prop_name, char *prop_value,
239
209
                        int value_size);
240
210
 
241
 
extern phandle prom_pathtoinode(char *path);
242
211
extern phandle prom_inst2pkg(int);
243
212
 
244
213
/* Dorking with Bus ranges... */