[xtensa-cvscommit] linux/arch/xtensa/platform-iss console.c,1.1.1.1,1.2 io.c,1.1.1.1,1.2
Brought to you by:
zankel
|
From: <joe...@us...> - 2003-02-13 18:19:27
|
Update of /cvsroot/xtensa/linux/arch/xtensa/platform-iss
In directory sc8-pr-cvs1:/tmp/cvs-serv6671/arch/xtensa/platform-iss
Modified Files:
console.c io.c
Log Message:
Documentation updates only, focused on removing many XTFIXME comments that no longer apply, are already resolved, were erroneous, etc.
Index: console.c
===================================================================
RCS file: /cvsroot/xtensa/linux/arch/xtensa/platform-iss/console.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** console.c 28 Aug 2002 16:10:14 -0000 1.1.1.1
--- console.c 13 Feb 2003 18:19:22 -0000 1.2
***************
*** 162,169 ****
* tmp_buf, if necessary. */
! #if 0 // XTFIXME
struct async_struct *info;
int retval;
! #endif // XTFIXME
int line;
unsigned long page;
--- 162,169 ----
* tmp_buf, if necessary. */
! #if __DISABLE_FOR_ISS
struct async_struct *info;
int retval;
! #endif // __DISABLE_FOR_ISS
int line;
unsigned long page;
***************
*** 175,179 ****
return -ENODEV;
}
! #if 0 // XTFIXME
retval = get_async_struct(line, &info);
if (retval) {
--- 175,179 ----
return -ENODEV;
}
! #if __DISABLE_FOR_ISS
retval = get_async_struct(line, &info);
if (retval) {
***************
*** 187,195 ****
return -ENODEV;
}
! #endif // XTFIXME
printk("rs_open %s\n", tty->driver.name);
! #if 0 // XTFIXME
#ifdef SERIAL_DEBUG_OPEN
printk("rs_open %s%d, count = %d\n", tty->driver.name, info->line,
--- 187,195 ----
return -ENODEV;
}
! #endif // __DISABLE_FOR_ISS
printk("rs_open %s\n", tty->driver.name);
! #if __DISABLE_FOR_ISS
#ifdef SERIAL_DEBUG_OPEN
printk("rs_open %s%d, count = %d\n", tty->driver.name, info->line,
***************
*** 199,203 ****
info->tty->low_latency = (info->flags & ASYNC_LOW_LATENCY) ? 1 : 0;
#endif
! #endif // XTFIXME
if (!tmp_buf) {
--- 199,203 ----
info->tty->low_latency = (info->flags & ASYNC_LOW_LATENCY) ? 1 : 0;
#endif
! #endif // __DISABLE_FOR_ISS
if (!tmp_buf) {
***************
*** 213,217 ****
}
! #if 0 // XTFIXME
/*
* If the port is the middle of closing, bail out now
--- 213,217 ----
}
! #if __DISABLE_FOR_ISS
/*
* If the port is the middle of closing, bail out now
***************
*** 271,275 ****
#endif
! #endif // XTFIXME
return 0;
--- 271,275 ----
#endif
! #endif // __DISABLE_FOR_ISS
return 0;
***************
*** 403,409 ****
int *eof, void *data)
{
! #if 0 // XTFIXME
int i, l;
! #endif // XTFIXME
int len = 0;
off_t begin = 0;
--- 403,409 ----
int *eof, void *data)
{
! #if __DISABLE_FOR_ISS
int i, l;
! #endif // __DISABLE_FOR_ISS
int len = 0;
off_t begin = 0;
***************
*** 411,415 ****
len += sprintf(page, "serinfo:1.0 iss driver stub:%s%s revision:%s\n",
serial_version, LOCAL_VERSTRING, serial_revdate);
! #if 0 // XTFIXME
for (i = 0; i < NR_PORTS && len < 4000; i++) {
l = line_info(page + len, &rs_table[i]);
--- 411,415 ----
len += sprintf(page, "serinfo:1.0 iss driver stub:%s%s revision:%s\n",
serial_version, LOCAL_VERSTRING, serial_revdate);
! #if __DISABLE_FOR_ISS
for (i = 0; i < NR_PORTS && len < 4000; i++) {
l = line_info(page + len, &rs_table[i]);
***************
*** 427,431 ****
return 0;
*start = page + (off-begin);
! #endif // XTFIXME
return ((count < begin+len-off) ? count : begin+len-off);
}
--- 427,431 ----
return 0;
*start = page + (off-begin);
! #endif // __DISABLE_FOR_ISS
return ((count < begin+len-off) ? count : begin+len-off);
}
***************
*** 438,442 ****
int __init rs_init(void)
{
! #if 0 // XTFIXME
int i;
struct serial_state * state;
--- 438,442 ----
int __init rs_init(void)
{
! #if __DISABLE_FOR_ISS
int i;
struct serial_state * state;
***************
*** 468,472 ****
#endif
! #endif // XTFIXME
show_serial_version();
--- 468,472 ----
#endif
! #endif // __DISABLE_FOR_ISS
show_serial_version();
***************
*** 544,548 ****
panic("Couldn't register callout driver\n");
! #if 0 // XTFIXME
for (i = 0, state = rs_table; i < NR_PORTS; i++,state++) {
state->magic = SSTATE_MAGIC;
--- 544,548 ----
panic("Couldn't register callout driver\n");
! #if __DISABLE_FOR_ISS
for (i = 0, state = rs_table; i < NR_PORTS; i++,state++) {
state->magic = SSTATE_MAGIC;
***************
*** 591,595 ****
#endif
! #endif // XTFIXME
return 0;
--- 591,595 ----
#endif
! #endif // __DISABLE_FOR_ISS
return 0;
Index: io.c
===================================================================
RCS file: /cvsroot/xtensa/linux/arch/xtensa/platform-iss/io.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** io.c 28 Aug 2002 16:10:14 -0000 1.1.1.1
--- io.c 13 Feb 2003 18:19:22 -0000 1.2
***************
*** 1,3 ****
! #ifdef XTFIXME /* this file isn't really needed right now... */
#include <asm/io.h>
--- 1,5 ----
! /* This file isn't really needed right now. */
!
! #if 0
#include <asm/io.h>
***************
*** 27,30 ****
/*#error Need I/O ports to specific hardware!*/
! #endif /*XTFIXME*/
--- 29,32 ----
/*#error Need I/O ports to specific hardware!*/
! #endif
|