Loading arch/ppc/4xx_io/serial_sicc.c +5 −5 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ * * Based on drivers/char/serial_amba.c, by ARM Ltd. * * Copyright 2001 IBM Crop. * Copyright 2001 IBM Corp. * Author: IBM China Research Lab * Yudong Yang <yangyud@cn.ibm.com> * Yi Ge <geyi@cn.ibm.com> Loading Loading @@ -155,16 +155,16 @@ /* serial port transmit command register */ #define _TxCR_ET_MASK 0x80 /* transmiter enable mask */ #define _TxCR_ET_MASK 0x80 /* transmitter enable mask */ #define _TxCR_DME_MASK 0x60 /* dma mode mask */ #define _TxCR_TIE_MASK 0x10 /* empty interrupt enable mask */ #define _TxCR_EIE_MASK 0x08 /* error interrupt enable mask */ #define _TxCR_SPE_MASK 0x04 /* stop/pause mask */ #define _TxCR_TB_MASK 0x02 /* transmit break mask */ #define _TxCR_ET_ENABLE _TxCR_ET_MASK /* transmiter enabled */ #define _TxCR_DME_DISABLE 0x00 /* transmiter disabled, TBR intr disabled */ #define _TxCR_DME_TBR 0x20 /* transmiter disabled, TBR intr enabled */ #define _TxCR_ET_ENABLE _TxCR_ET_MASK /* transmitter enabled */ #define _TxCR_DME_DISABLE 0x00 /* transmitter disabled, TBR intr disabled */ #define _TxCR_DME_TBR 0x20 /* transmitter disabled, TBR intr enabled */ #define _TxCR_DME_CHAN_2 0x40 /* dma enabled, destination chann 2 */ #define _TxCR_DME_CHAN_3 0x60 /* dma enabled, destination chann 3 */ Loading arch/ppc/8xx_io/commproc.c +1 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ m8xx_cpm_reset(void) /* Set SDMA Bus Request priority 5. * On 860T, this also enables FEC priority 6. I am not sure * this is what we realy want for some applications, but the * this is what we really want for some applications, but the * manual recommends it. * Bit 25, FAM can also be set to use FEC aggressive mode (860T). */ Loading arch/ppc/8xx_io/fec.c +1 −1 Original line number Diff line number Diff line Loading @@ -1878,7 +1878,7 @@ fec_restart(struct net_device *dev, int duplex) bdp--; bdp->cbd_sc |= BD_SC_WRAP; /* ...and the same for transmmit. /* ...and the same for transmit. */ bdp = fep->tx_bd_base; for (i=0; i<TX_RING_SIZE; i++) { Loading arch/ppc/boot/lib/vreset.c +1 −1 Original line number Diff line number Diff line Loading @@ -518,7 +518,7 @@ setTextRegs(struct VgaRegs *svp) outb(0x3c6, 0xff); /* MASK */ for ( i = 0; i < 0x10; i++) writeAttr(i, AC[i], 0); /* pallete */ writeAttr(i, AC[i], 0); /* palette */ writeAttr(0x10, 0x0c, 0); /* text mode */ writeAttr(0x11, 0x00, 0); /* overscan color (border) */ writeAttr(0x12, 0x0f, 0); /* plane enable */ Loading arch/ppc/boot/simple/m8xx_tty.c +1 −1 Original line number Diff line number Diff line /* Minimal serial functions needed to send messages out the serial * port on the MBX console. * * The MBX uxes SMC1 for the serial port. We reset the port and use * The MBX uses SMC1 for the serial port. We reset the port and use * only the first BD that EPPC-Bug set up as a character FIFO. * * Later versions (at least 1.4, maybe earlier) of the MBX EPPC-Bug Loading Loading
arch/ppc/4xx_io/serial_sicc.c +5 −5 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ * * Based on drivers/char/serial_amba.c, by ARM Ltd. * * Copyright 2001 IBM Crop. * Copyright 2001 IBM Corp. * Author: IBM China Research Lab * Yudong Yang <yangyud@cn.ibm.com> * Yi Ge <geyi@cn.ibm.com> Loading Loading @@ -155,16 +155,16 @@ /* serial port transmit command register */ #define _TxCR_ET_MASK 0x80 /* transmiter enable mask */ #define _TxCR_ET_MASK 0x80 /* transmitter enable mask */ #define _TxCR_DME_MASK 0x60 /* dma mode mask */ #define _TxCR_TIE_MASK 0x10 /* empty interrupt enable mask */ #define _TxCR_EIE_MASK 0x08 /* error interrupt enable mask */ #define _TxCR_SPE_MASK 0x04 /* stop/pause mask */ #define _TxCR_TB_MASK 0x02 /* transmit break mask */ #define _TxCR_ET_ENABLE _TxCR_ET_MASK /* transmiter enabled */ #define _TxCR_DME_DISABLE 0x00 /* transmiter disabled, TBR intr disabled */ #define _TxCR_DME_TBR 0x20 /* transmiter disabled, TBR intr enabled */ #define _TxCR_ET_ENABLE _TxCR_ET_MASK /* transmitter enabled */ #define _TxCR_DME_DISABLE 0x00 /* transmitter disabled, TBR intr disabled */ #define _TxCR_DME_TBR 0x20 /* transmitter disabled, TBR intr enabled */ #define _TxCR_DME_CHAN_2 0x40 /* dma enabled, destination chann 2 */ #define _TxCR_DME_CHAN_3 0x60 /* dma enabled, destination chann 3 */ Loading
arch/ppc/8xx_io/commproc.c +1 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ m8xx_cpm_reset(void) /* Set SDMA Bus Request priority 5. * On 860T, this also enables FEC priority 6. I am not sure * this is what we realy want for some applications, but the * this is what we really want for some applications, but the * manual recommends it. * Bit 25, FAM can also be set to use FEC aggressive mode (860T). */ Loading
arch/ppc/8xx_io/fec.c +1 −1 Original line number Diff line number Diff line Loading @@ -1878,7 +1878,7 @@ fec_restart(struct net_device *dev, int duplex) bdp--; bdp->cbd_sc |= BD_SC_WRAP; /* ...and the same for transmmit. /* ...and the same for transmit. */ bdp = fep->tx_bd_base; for (i=0; i<TX_RING_SIZE; i++) { Loading
arch/ppc/boot/lib/vreset.c +1 −1 Original line number Diff line number Diff line Loading @@ -518,7 +518,7 @@ setTextRegs(struct VgaRegs *svp) outb(0x3c6, 0xff); /* MASK */ for ( i = 0; i < 0x10; i++) writeAttr(i, AC[i], 0); /* pallete */ writeAttr(i, AC[i], 0); /* palette */ writeAttr(0x10, 0x0c, 0); /* text mode */ writeAttr(0x11, 0x00, 0); /* overscan color (border) */ writeAttr(0x12, 0x0f, 0); /* plane enable */ Loading
arch/ppc/boot/simple/m8xx_tty.c +1 −1 Original line number Diff line number Diff line /* Minimal serial functions needed to send messages out the serial * port on the MBX console. * * The MBX uxes SMC1 for the serial port. We reset the port and use * The MBX uses SMC1 for the serial port. We reset the port and use * only the first BD that EPPC-Bug set up as a character FIFO. * * Later versions (at least 1.4, maybe earlier) of the MBX EPPC-Bug Loading