Date: Thu, 14 Apr 2011 17:19:34 +0000 (UTC) From: Bernhard Schmidt <bschmidt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r220633 - head/sys/dev/iwn Message-ID: <201104141719.p3EHJYBr041750@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bschmidt Date: Thu Apr 14 17:19:33 2011 New Revision: 220633 URL: http://svn.freebsd.org/changeset/base/220633 Log: Remove IWN_FLAG_HAS_5GHZ and IWN_PCI_BAR0, both unused. Modified: head/sys/dev/iwn/if_iwn.c head/sys/dev/iwn/if_iwnreg.h head/sys/dev/iwn/if_iwnvar.h Modified: head/sys/dev/iwn/if_iwn.c ============================================================================== --- head/sys/dev/iwn/if_iwn.c Thu Apr 14 17:08:23 2011 (r220632) +++ head/sys/dev/iwn/if_iwn.c Thu Apr 14 17:19:33 2011 (r220633) @@ -1792,7 +1792,6 @@ iwn_read_eeprom_band(struct iwn_softc *s c->ic_freq = ieee80211_ieee2mhz(chan, IEEE80211_CHAN_A); c->ic_flags = IEEE80211_CHAN_A | nflags; - sc->sc_flags |= IWN_FLAG_HAS_5GHZ; } #if 0 /* HT */ /* XXX no constraints on using HT20 */ Modified: head/sys/dev/iwn/if_iwnreg.h ============================================================================== --- head/sys/dev/iwn/if_iwnreg.h Thu Apr 14 17:08:23 2011 (r220632) +++ head/sys/dev/iwn/if_iwnreg.h Thu Apr 14 17:19:33 2011 (r220633) @@ -50,9 +50,6 @@ #define IWN_HIADDR(paddr) (0) #endif -/* Base Address Register. */ -#define IWN_PCI_BAR0 PCI_MAPREG_START - /* * Control and status registers. */ Modified: head/sys/dev/iwn/if_iwnvar.h ============================================================================== --- head/sys/dev/iwn/if_iwnvar.h Thu Apr 14 17:08:23 2011 (r220632) +++ head/sys/dev/iwn/if_iwnvar.h Thu Apr 14 17:19:33 2011 (r220633) @@ -215,7 +215,6 @@ struct iwn_softc { struct resource *irq; u_int sc_flags; -#define IWN_FLAG_HAS_5GHZ (1 << 0) #define IWN_FLAG_HAS_OTPROM (1 << 1) #define IWN_FLAG_CALIB_DONE (1 << 2) #define IWN_FLAG_USE_ICT (1 << 3)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104141719.p3EHJYBr041750>