/[orinoco]/orinoco/hermes.c
ViewVC logotype

Diff of /orinoco/hermes.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by dgibson, Fri Sep 12 03:12:24 2003 UTC revision 1.4 by dgibson, Mon Sep 29 05:23:30 2003 UTC
# Line 13  Line 13 
13   * (wvlan_hcf.c) library, and the NetBSD wireless driver (in no   * (wvlan_hcf.c) library, and the NetBSD wireless driver (in no
14   * particular order).   * particular order).
15   *   *
16   * Copyright (C) 2000, David Gibson, Linuxcare Australia <hermes@gibson.dropbear.id.au>   * Copyright (C) 2000, David Gibson, Linuxcare Australia.
17   * (C) Copyright David Gibson, IBM Corp. 2001-2003.   * (C) Copyright David Gibson, IBM Corp. 2001-2003.
18   *   *
19   * The contents of this file are subject to the Mozilla Public License   * The contents of this file are subject to the Mozilla Public License
# Line 395  static int hermes_bap_seek(hermes_t *hw, Line 395  static int hermes_bap_seek(hermes_t *hw,
395          if (reg & HERMES_OFFSET_BUSY)          if (reg & HERMES_OFFSET_BUSY)
396                  return -ETIMEDOUT;                  return -ETIMEDOUT;
397    
398            if (reg != offset) {
399                    printk(KERN_ERR "hermes @ %s0x%lx: "
400                           "BAP offset error: reg=0x%x offset=0x%x\n",
401                           IO_TYPE(hw), hw->iobase, reg, offset);
402            }
403    
404          /* Now we actually set up the transfer */          /* Now we actually set up the transfer */
405          hermes_write_reg(hw, sreg, id);          hermes_write_reg(hw, sreg, id);
406          hermes_write_reg(hw, oreg, offset);          hermes_write_reg(hw, oreg, offset);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26