diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2004-12-06 19:54:07 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2004-12-06 19:54:07 +0000 |
commit | 5b3b73770dd65faf1f500232e2299a472b20076c (patch) | |
tree | 3bbc7554428233c3f4903e028b152ddf52faee7d /sys/dev/pci | |
parent | 6dd2a3595cbdbe4a0ee513c4c3c438b69d0cac72 (diff) |
indent
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_iwi.c | 8 | ||||
-rw-r--r-- | sys/dev/pci/if_iwireg.h | 14 |
2 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c index 8261e061833..51d39e2f0a0 100644 --- a/sys/dev/pci/if_iwi.c +++ b/sys/dev/pci/if_iwi.c @@ -1,4 +1,4 @@ -/* $Id: if_iwi.c,v 1.17 2004/12/04 19:40:37 damien Exp $ */ +/* $Id: if_iwi.c,v 1.18 2004/12/06 19:54:05 damien Exp $ */ /*- * Copyright (c) 2004 @@ -796,7 +796,7 @@ iwi_frame_intr(struct iwi_softc *sc, struct iwi_rx_buf *buf, int i, iwi_fix_channel(ic, m); ni = ieee80211_find_rxnode(ic, wh); - + /* Send it up to the upper layer */ ieee80211_input(ifp, m, ni, IWI_RSSI2DBM(frame->rssi, frame->agc), 0); @@ -1522,8 +1522,8 @@ iwi_load_firmware(struct iwi_softc *sc, const char *name) goto fail5; } - /* Copy firmware image to DMA memory */ - bcopy(fw, virtaddr, size); + /* Copy firmware image to DMA memory */ + bcopy(fw, virtaddr, size); /* Make sure the adapter will get up-to-date values */ bus_dmamap_sync(sc->sc_dmat, map, 0, size, BUS_DMASYNC_PREWRITE); diff --git a/sys/dev/pci/if_iwireg.h b/sys/dev/pci/if_iwireg.h index bc5b4322e05..5e30a15bd97 100644 --- a/sys/dev/pci/if_iwireg.h +++ b/sys/dev/pci/if_iwireg.h @@ -1,4 +1,4 @@ -/* $Id: if_iwireg.h,v 1.8 2004/12/04 19:19:24 damien Exp $ */ +/* $Id: if_iwireg.h,v 1.9 2004/12/06 19:54:06 damien Exp $ */ /*- * Copyright (c) 2004 @@ -363,13 +363,13 @@ struct iwi_wep_key { #define IWI_EEPROM_DELAY 1 /* minimum hold time (microsecond) */ -#define IWI_EEPROM_C (1 << 0) /* Serial Clock */ -#define IWI_EEPROM_S (1 << 1) /* Chip Select */ -#define IWI_EEPROM_D (1 << 2) /* Serial data input */ -#define IWI_EEPROM_Q (1 << 4) /* Serial data output */ +#define IWI_EEPROM_C (1 << 0) /* Serial Clock */ +#define IWI_EEPROM_S (1 << 1) /* Chip Select */ +#define IWI_EEPROM_D (1 << 2) /* Serial data input */ +#define IWI_EEPROM_Q (1 << 4) /* Serial data output */ -#define IWI_EEPROM_SHIFT_D 2 -#define IWI_EEPROM_SHIFT_Q 4 +#define IWI_EEPROM_SHIFT_D 2 +#define IWI_EEPROM_SHIFT_Q 4 /* * control and status registers access macros |