[BACK]Return to ncr5380.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / atari / dev

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/atari/dev/ncr5380.c between version 1.67 and 1.68

version 1.67, 2010/04/13 13:30:37 version 1.68, 2010/04/17 12:54:29
Line 96  static SC_REQ *free_head = NULL; /* Free
Line 96  static SC_REQ *free_head = NULL; /* Free
  * some cases (especially when using my tapedrive, a Tandberg 3600) the   * some cases (especially when using my tapedrive, a Tandberg 3600) the
  * device is busy internally and the first SCSI-phase will be delayed.   * device is busy internally and the first SCSI-phase will be delayed.
  */   */
 extern inline int wait_req_true(void)  static inline int
   wait_req_true(void)
 {  {
         int timeout = 250000;          int timeout = 250000;
   
Line 109  extern inline int wait_req_true(void)
Line 110  extern inline int wait_req_true(void)
  * Wait for request-line to become inactive. When it doesn't return 0.   * Wait for request-line to become inactive. When it doesn't return 0.
  * Otherwise return != 0.   * Otherwise return != 0.
  */   */
 extern inline int wait_req_false(void)  static inline int
   wait_req_false(void)
 {  {
         int timeout = 250000;          int timeout = 250000;
   
Line 118  extern inline int wait_req_false(void)
Line 120  extern inline int wait_req_false(void)
         return (GET_5380_REG(NCR5380_IDSTAT) & SC_S_REQ) == 0;          return (GET_5380_REG(NCR5380_IDSTAT) & SC_S_REQ) == 0;
 }  }
   
 extern inline void ack_message(void)  static inline void
   ack_message(void)
 {  {
   
         SET_5380_REG(NCR5380_ICOM, 0);          SET_5380_REG(NCR5380_ICOM, 0);
 }  }
   
 extern inline void nack_message(SC_REQ *reqp, u_char msg)  static inline void
   nack_message(SC_REQ *reqp, u_char msg)
 {  {
   
         SET_5380_REG(NCR5380_ICOM, SC_A_ATN);          SET_5380_REG(NCR5380_ICOM, SC_A_ATN);
         reqp->msgout = msg;          reqp->msgout = msg;
 }  }
   
 extern inline void finish_req(SC_REQ *reqp)  static inline void
   finish_req(SC_REQ *reqp)
 {  {
         int                     sps;          int                     sps;
         struct scsipi_xfer      *xs = reqp->xs;          struct scsipi_xfer      *xs = reqp->xs;

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68

CVSweb <webmaster@jp.NetBSD.org>