Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: ssumci.c
- ===================================================================
- RCS file: /cvsroot/src/sys/arch/evbsh3/t_sh7706lan/ssumci.c,v
- retrieving revision 1.2
- diff -u -r1.2 ssumci.c
- --- ssumci.c 21 Jan 2012 19:44:29 -0000 1.2
- +++ ssumci.c 8 Aug 2013 04:17:45 -0000
- @@ -137,21 +137,9 @@
- _reg_write_2((reg), _r); \
- } while (/*CONSTCOND*/0)
- -#define SCPCR_CLK_MASK 0x000C
- -#define SCPCR_CLK_IN 0x000C
- -#define SCPCR_CLK_OUT 0x0004
- -#define SCPDR_CLK 0x02
- -#define SCPCR_DAT_MASK 0x0003
- -#define SCPCR_DAT_IN 0x0003
- -#define SCPCR_DAT_OUT 0x0001
- -#define SCPDR_DAT 0x01
- -#define SCPCR_CMD_MASK 0x0030
- -#define SCPCR_CMD_IN 0x0030
- -#define SCPCR_CMD_OUT 0x0010
- -#define SCPDR_CMD 0x04
- #define SCPCR_CS_MASK 0x000C
- #define SCPCR_CS_OUT 0x0004
- -#define SCPDR_CS 0x08
- +#define SCPDR_CS 0x02
- #define SCPCR_EJECT 0x00C0
- #define SCPDR_EJECT 0x08
- @@ -381,7 +369,7 @@
- break;
- }
- if (timo == 0) {
- - DPRINTF(1,(sc->sc_dev, "response timeout\n"));
- + aprint_error_dev(sc->sc_dev, "response timeout\n");
- cmd->c_error = ETIMEDOUT;
- goto out;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement