Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113622
b: refs/heads/master
c: e7f2f99
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Oct 13, 2008
1 parent b191a43 commit 38086fa
Show file tree
Hide file tree
Showing 109 changed files with 2,887 additions and 4,406 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c00193f9f09f9b852249a66391985f585d066084
refs/heads/master: e7f2f9918c0e97aa98ba147ca387e2c7238f0711
8 changes: 0 additions & 8 deletions trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,6 @@ Who: Glauber Costa <gcosta@redhat.com>

---------------------------

What: old style serial driver for ColdFire (CONFIG_SERIAL_COLDFIRE)
When: 2.6.28
Why: This driver still uses the old interface and has been replaced
by CONFIG_SERIAL_MCF.
Who: Sebastian Siewior <sebastian@breakpoint.cc>

---------------------------

What: /sys/o2cb symlink
When: January 2010
Why: /sys/fs/o2cb is the proper location for this information - /sys/o2cb
Expand Down
18 changes: 9 additions & 9 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -2797,15 +2797,6 @@ L: linux-mtd@lists.infradead.org
T: git git://git.infradead.org/mtd-2.6.git
S: Maintained

MEI MN10300/AM33 PORT
P: David Howells
M: dhowells@redhat.com
P: Koichi Yasutake
M: yasutake.koichi@jp.panasonic.com
L: linux-am33-list@redhat.com (moderated for non-subscribers)
W: ftp://ftp.redhat.com/pub/redhat/gnupro/AM33/
S: Maintained

MICROTEK X6 SCANNER
P: Oliver Neukum
M: oliver@neukum.name
Expand Down Expand Up @@ -3170,6 +3161,15 @@ M: olof@lixom.net
L: i2c@lm-sensors.org
S: Maintained

PANASONIC MN10300/AM33 PORT
P: David Howells
M: dhowells@redhat.com
P: Koichi Yasutake
M: yasutake.koichi@jp.panasonic.com
L: linux-am33-list@redhat.com (moderated for non-subscribers)
W: ftp://ftp.redhat.com/pub/redhat/gnupro/AM33/
S: Maintained

PARALLEL PORT SUPPORT
L: linux-parport@lists.infradead.org (subscribers-only)
S: Orphan
Expand Down
13 changes: 6 additions & 7 deletions trunk/arch/blackfin/kernel/bfin_dma_5xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,14 @@ int request_dma(unsigned int channel, char *device_id)

#ifdef CONFIG_BF54x
if (channel >= CH_UART2_RX && channel <= CH_UART3_TX) {
if (strncmp(device_id, "BFIN_UART", 9) == 0) {
dma_ch[channel].regs->peripheral_map &= 0x0FFF;
dma_ch[channel].regs->peripheral_map |=
unsigned int per_map;
per_map = dma_ch[channel].regs->peripheral_map & 0xFFF;
if (strncmp(device_id, "BFIN_UART", 9) == 0)
dma_ch[channel].regs->peripheral_map = per_map |
((channel - CH_UART2_RX + 0xC)<<12);
} else {
dma_ch[channel].regs->peripheral_map &= 0x0FFF;
dma_ch[channel].regs->peripheral_map |=
else
dma_ch[channel].regs->peripheral_map = per_map |
((channel - CH_UART2_RX + 0x6)<<12);
}
}
#endif

Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/blackfin/mach-bf527/include/mach/bfin_serial_5xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@
# define CONFIG_UART1_RTS_PIN -1
# endif
#endif

#define BFIN_UART_TX_FIFO_SIZE 2

/*
* The pin configuration is different from schematic
*/
Expand Down Expand Up @@ -119,7 +122,6 @@ static inline void UART_CLEAR_LSR(struct bfin_serial_port *uart)
bfin_write16(uart->port.membase + OFFSET_LSR, -1);
}

struct bfin_serial_port bfin_serial_ports[BFIN_UART_NR_PORTS];
struct bfin_serial_res {
unsigned long uart_base_addr;
int uart_irq;
Expand Down Expand Up @@ -164,8 +166,6 @@ struct bfin_serial_res bfin_serial_resource[] = {
#endif
};

int nr_ports = ARRAY_SIZE(bfin_serial_resource);

#define DRIVER_NAME "bfin-uart"

static void bfin_serial_hw_init(struct bfin_serial_port *uart)
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
# endif
#endif

#define BFIN_UART_TX_FIFO_SIZE 2

struct bfin_serial_port {
struct uart_port port;
unsigned int old_status;
Expand Down Expand Up @@ -111,7 +113,6 @@ static inline void UART_CLEAR_LSR(struct bfin_serial_port *uart)
bfin_write16(uart->port.membase + OFFSET_LSR, -1);
}

struct bfin_serial_port bfin_serial_ports[BFIN_UART_NR_PORTS];
struct bfin_serial_res {
unsigned long uart_base_addr;
int uart_irq;
Expand Down Expand Up @@ -142,7 +143,6 @@ struct bfin_serial_res bfin_serial_resource[] = {

#define DRIVER_NAME "bfin-uart"

int nr_ports = BFIN_UART_NR_PORTS;
static void bfin_serial_hw_init(struct bfin_serial_port *uart)
{

Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/blackfin/mach-bf537/include/mach/bfin_serial_5xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@
# define CONFIG_UART1_RTS_PIN -1
# endif
#endif

#define BFIN_UART_TX_FIFO_SIZE 2

/*
* The pin configuration is different from schematic
*/
Expand Down Expand Up @@ -119,7 +122,6 @@ static inline void UART_CLEAR_LSR(struct bfin_serial_port *uart)
bfin_write16(uart->port.membase + OFFSET_LSR, -1);
}

struct bfin_serial_port bfin_serial_ports[BFIN_UART_NR_PORTS];
struct bfin_serial_res {
unsigned long uart_base_addr;
int uart_irq;
Expand Down Expand Up @@ -164,8 +166,6 @@ struct bfin_serial_res bfin_serial_resource[] = {
#endif
};

int nr_ports = ARRAY_SIZE(bfin_serial_resource);

#define DRIVER_NAME "bfin-uart"

static void bfin_serial_hw_init(struct bfin_serial_port *uart)
Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/blackfin/mach-bf548/include/mach/bfin_serial_5xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@
# define CONFIG_UART1_RTS_PIN -1
# endif
#endif

#define BFIN_UART_TX_FIFO_SIZE 2

/*
* The pin configuration is different from schematic
*/
Expand All @@ -105,7 +108,6 @@ struct bfin_serial_port {
#endif
};

struct bfin_serial_port bfin_serial_ports[BFIN_UART_NR_PORTS];
struct bfin_serial_res {
unsigned long uart_base_addr;
int uart_irq;
Expand Down Expand Up @@ -170,8 +172,6 @@ struct bfin_serial_res bfin_serial_resource[] = {
#endif
};

int nr_ports = ARRAY_SIZE(bfin_serial_resource);

#define DRIVER_NAME "bfin-uart"

static void bfin_serial_hw_init(struct bfin_serial_port *uart)
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
# endif
#endif

#define BFIN_UART_TX_FIFO_SIZE 2

struct bfin_serial_port {
struct uart_port port;
unsigned int old_status;
Expand Down Expand Up @@ -111,7 +113,6 @@ static inline void UART_CLEAR_LSR(struct bfin_serial_port *uart)
bfin_write16(uart->port.membase + OFFSET_LSR, -1);
}

struct bfin_serial_port bfin_serial_ports[BFIN_UART_NR_PORTS];
struct bfin_serial_res {
unsigned long uart_base_addr;
int uart_irq;
Expand Down Expand Up @@ -142,7 +143,6 @@ struct bfin_serial_res bfin_serial_resource[] = {

#define DRIVER_NAME "bfin-uart"

int nr_ports = BFIN_UART_NR_PORTS;
static void bfin_serial_hw_init(struct bfin_serial_port *uart)
{

Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/sparc/include/asm/serial.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#ifndef __SPARC_SERIAL_H
#define __SPARC_SERIAL_H

#define BASE_BAUD ( 1843200 / 16 )

#endif /* __SPARC_SERIAL_H */
2 changes: 2 additions & 0 deletions trunk/arch/um/drivers/line.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ int line_ioctl(struct tty_struct *tty, struct file * file,
case TIOCGLTC:
case TIOCSLTC:
#endif
/* Note: these are out of date as we now have TCGETS2 etc but this
whole lot should probably go away */
case TCGETS:
case TCSETSF:
case TCSETSW:
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/bluetooth/hci_ldisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ static int hci_uart_tty_ioctl(struct tty_struct *tty, struct file * file,
return -EUNATCH;

default:
err = n_tty_ioctl(tty, file, cmd, arg);
err = n_tty_ioctl_helper(tty, file, cmd, arg);
break;
};

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/char/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ config STALDRV

config STALLION
tristate "Stallion EasyIO or EC8/32 support"
depends on STALDRV && BROKEN_ON_SMP && (ISA || EISA || PCI)
depends on STALDRV && (ISA || EISA || PCI)
help
If you have an EasyIO or EasyConnection 8/32 multiport Stallion
card, then this is for you; say Y. Make sure to read
Expand All @@ -361,7 +361,7 @@ config STALLION

config ISTALLION
tristate "Stallion EC8/64, ONboard, Brumby support"
depends on STALDRV && BROKEN_ON_SMP && (ISA || EISA || PCI)
depends on STALDRV && (ISA || EISA || PCI)
help
If you have an EasyConnection 8/64, ONboard, Brumby or Stallion
serial multiport card, say Y here. Make sure to read
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/char/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
FONTMAPFILE = cp437.uni

obj-y += mem.o random.o tty_io.o n_tty.o tty_ioctl.o tty_ldisc.o
obj-y += mem.o random.o tty_io.o n_tty.o tty_ioctl.o tty_ldisc.o tty_buffer.o tty_port.o

obj-$(CONFIG_LEGACY_PTYS) += pty.o
obj-$(CONFIG_UNIX98_PTYS) += pty.o
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/char/amiserial.c
Original file line number Diff line number Diff line change
Expand Up @@ -837,9 +837,6 @@ static int rs_put_char(struct tty_struct *tty, unsigned char ch)
struct async_struct *info;
unsigned long flags;

if (!tty)
return 0;

info = tty->driver_data;

if (serial_paranoia_check(info, tty->name, "rs_put_char"))
Expand Down Expand Up @@ -892,9 +889,6 @@ static int rs_write(struct tty_struct * tty, const unsigned char *buf, int count
struct async_struct *info;
unsigned long flags;

if (!tty)
return 0;

info = tty->driver_data;

if (serial_paranoia_check(info, tty->name, "rs_write"))
Expand Down
6 changes: 2 additions & 4 deletions trunk/drivers/char/applicom.c
Original file line number Diff line number Diff line change
Expand Up @@ -712,8 +712,7 @@ static int ac_ioctl(struct inode *inode, struct file *file, unsigned int cmd, un

IndexCard = adgl->num_card-1;

if(cmd != 0 && cmd != 6 &&
((IndexCard >= MAX_BOARD) || !apbs[IndexCard].RamIO)) {
if(cmd != 6 && ((IndexCard >= MAX_BOARD) || !apbs[IndexCard].RamIO)) {
static int warncount = 10;
if (warncount) {
printk( KERN_WARNING "APPLICOM driver IOCTL, bad board number %d\n",(int)IndexCard+1);
Expand Down Expand Up @@ -832,8 +831,7 @@ static int ac_ioctl(struct inode *inode, struct file *file, unsigned int cmd, un
}
break;
default:
printk(KERN_INFO "APPLICOM driver ioctl, unknown function code %d\n",cmd) ;
ret = -EINVAL;
ret = -ENOTTY;
break;
}
Dummy = readb(apbs[IndexCard].RamIO + VERS);
Expand Down
21 changes: 12 additions & 9 deletions trunk/drivers/char/cyclades.c
Original file line number Diff line number Diff line change
Expand Up @@ -4993,12 +4993,14 @@ static int __devinit cy_pci_probe(struct pci_dev *pdev,
device_id == PCI_DEVICE_ID_CYCLOM_Y_Hi) {
card_name = "Cyclom-Y";

addr0 = pci_iomap(pdev, 0, CyPCI_Yctl);
addr0 = ioremap_nocache(pci_resource_start(pdev, 0),
CyPCI_Yctl);
if (addr0 == NULL) {
dev_err(&pdev->dev, "can't remap ctl region\n");
goto err_reg;
}
addr2 = pci_iomap(pdev, 2, CyPCI_Ywin);
addr2 = ioremap_nocache(pci_resource_start(pdev, 2),
CyPCI_Ywin);
if (addr2 == NULL) {
dev_err(&pdev->dev, "can't remap base region\n");
goto err_unmap;
Expand All @@ -5013,7 +5015,8 @@ static int __devinit cy_pci_probe(struct pci_dev *pdev,
} else if (device_id == PCI_DEVICE_ID_CYCLOM_Z_Hi) {
struct RUNTIME_9060 __iomem *ctl_addr;

ctl_addr = addr0 = pci_iomap(pdev, 0, CyPCI_Zctl);
ctl_addr = addr0 = ioremap_nocache(pci_resource_start(pdev, 0),
CyPCI_Zctl);
if (addr0 == NULL) {
dev_err(&pdev->dev, "can't remap ctl region\n");
goto err_reg;
Expand All @@ -5026,8 +5029,8 @@ static int __devinit cy_pci_probe(struct pci_dev *pdev,

mailbox = (u32)readl(&ctl_addr->mail_box_0);

addr2 = pci_iomap(pdev, 2, mailbox == ZE_V1 ?
CyPCI_Ze_win : CyPCI_Zwin);
addr2 = ioremap_nocache(pci_resource_start(pdev, 2),
mailbox == ZE_V1 ? CyPCI_Ze_win : CyPCI_Zwin);
if (addr2 == NULL) {
dev_err(&pdev->dev, "can't remap base region\n");
goto err_unmap;
Expand Down Expand Up @@ -5159,9 +5162,9 @@ static int __devinit cy_pci_probe(struct pci_dev *pdev,
cy_card[card_no].base_addr = NULL;
free_irq(irq, &cy_card[card_no]);
err_unmap:
pci_iounmap(pdev, addr0);
iounmap(addr0);
if (addr2)
pci_iounmap(pdev, addr2);
iounmap(addr2);
err_reg:
pci_release_regions(pdev);
err_dis:
Expand All @@ -5186,9 +5189,9 @@ static void __devexit cy_pci_remove(struct pci_dev *pdev)
cy_writew(cinfo->ctl_addr + 0x68,
readw(cinfo->ctl_addr + 0x68) & ~0x0900);

pci_iounmap(pdev, cinfo->base_addr);
iounmap(cinfo->base_addr);
if (cinfo->ctl_addr)
pci_iounmap(pdev, cinfo->ctl_addr);
iounmap(cinfo->ctl_addr);
if (cinfo->irq
#ifndef CONFIG_CYZ_INTR
&& !IS_CYC_Z(*cinfo)
Expand Down
5 changes: 1 addition & 4 deletions trunk/drivers/char/epca.c
Original file line number Diff line number Diff line change
Expand Up @@ -1376,6 +1376,7 @@ static void post_fep_init(unsigned int crd)
unsigned long flags;
u16 tseg, rseg;

tty_port_init(&ch->port);
ch->brdchan = bc;
ch->mailbox = gd;
INIT_WORK(&ch->tqueue, do_softint);
Expand Down Expand Up @@ -1510,10 +1511,6 @@ static void post_fep_init(unsigned int crd)
ch->fepstopca = 0;

ch->close_delay = 50;
ch->port.count = 0;
ch->port.blocked_open = 0;
init_waitqueue_head(&ch->port.open_wait);
init_waitqueue_head(&ch->port.close_wait);

spin_unlock_irqrestore(&epca_lock, flags);
}
Expand Down
Loading

0 comments on commit 38086fa

Please sign in to comment.