Commit cbef6c0f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Merge kroah.com:/home/greg/linux/BK/bleed-2.5

into kroah.com:/home/greg/linux/BK/pci-2.5
parents c8feeced ebb11c7e
...@@ -105,7 +105,7 @@ prom_putchar(char c) ...@@ -105,7 +105,7 @@ prom_putchar(char c)
/* Query for input device type */ /* Query for input device type */
enum prom_input_device enum prom_input_device
prom_query_input_device() prom_query_input_device(void)
{ {
unsigned long flags; unsigned long flags;
int st_p; int st_p;
...@@ -155,7 +155,7 @@ prom_query_input_device() ...@@ -155,7 +155,7 @@ prom_query_input_device()
/* Query for output device type */ /* Query for output device type */
enum prom_output_device enum prom_output_device
prom_query_output_device() prom_query_output_device(void)
{ {
unsigned long flags; unsigned long flags;
int st_p; int st_p;
......
...@@ -15,7 +15,7 @@ quiet_cmd_elftoaout = ELT2AOUT $@ ...@@ -15,7 +15,7 @@ quiet_cmd_elftoaout = ELT2AOUT $@
quiet_cmd_piggy = PIGGY $@ quiet_cmd_piggy = PIGGY $@
cmd_piggy = $(obj)/piggyback $@ System.map $(ROOT_IMG) cmd_piggy = $(obj)/piggyback $@ System.map $(ROOT_IMG)
quiet_cmd_strip = STRIP $@ quiet_cmd_strip = STRIP $@
cmd_strip = $(STRIP) -R .comment -R .note vmlinux -o $@ cmd_strip = $(STRIP) -R .comment -R .note -K sun4u_init -K _end -K _start vmlinux -o $@
# Actual linking # Actual linking
......
...@@ -76,7 +76,7 @@ prom_puts(char *s, int len) ...@@ -76,7 +76,7 @@ prom_puts(char *s, int len)
/* Query for input device type */ /* Query for input device type */
enum prom_input_device enum prom_input_device
prom_query_input_device() prom_query_input_device(void)
{ {
int st_p; int st_p;
char propb[64]; char propb[64];
...@@ -111,7 +111,7 @@ prom_query_input_device() ...@@ -111,7 +111,7 @@ prom_query_input_device()
/* Query for output device type */ /* Query for output device type */
enum prom_output_device enum prom_output_device
prom_query_output_device() prom_query_output_device(void)
{ {
int st_p; int st_p;
char propb[64]; char propb[64];
......
...@@ -191,7 +191,7 @@ static void class_dev_release(struct kobject * kobj) ...@@ -191,7 +191,7 @@ static void class_dev_release(struct kobject * kobj)
pr_debug("device class '%s': release.\n",cd->class_id); pr_debug("device class '%s': release.\n",cd->class_id);
if (cls->release) if (cls->release)
cd->release(cd); cls->release(cd);
} }
static struct kobj_type ktype_class_device = { static struct kobj_type ktype_class_device = {
......
...@@ -231,8 +231,10 @@ static void transmit_chars(struct uart_sunsab_port *up, ...@@ -231,8 +231,10 @@ static void transmit_chars(struct uart_sunsab_port *up,
set_bit(SAB82532_ALLS, &up->irqflags); set_bit(SAB82532_ALLS, &up->irqflags);
} }
#if 0 /* bde@nwlink.com says this check causes problems */
if (!(stat->sreg.isr1 & SAB82532_ISR1_XPR)) if (!(stat->sreg.isr1 & SAB82532_ISR1_XPR))
return; return;
#endif
if (!(readb(&up->regs->r.star) & SAB82532_STAR_XFW)) if (!(readb(&up->regs->r.star) & SAB82532_STAR_XFW))
return; return;
...@@ -242,6 +244,7 @@ static void transmit_chars(struct uart_sunsab_port *up, ...@@ -242,6 +244,7 @@ static void transmit_chars(struct uart_sunsab_port *up,
if (uart_circ_empty(xmit) || uart_tx_stopped(&up->port)) { if (uart_circ_empty(xmit) || uart_tx_stopped(&up->port)) {
up->interrupt_mask1 |= SAB82532_IMR1_XPR; up->interrupt_mask1 |= SAB82532_IMR1_XPR;
writeb(up->interrupt_mask1, &up->regs->w.imr1); writeb(up->interrupt_mask1, &up->regs->w.imr1);
uart_write_wakeup(&up->port);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment