Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265440
b: refs/heads/master
c: c3ccb33
h: refs/heads/master
v: v3
  • Loading branch information
Larry Finger authored and John W. Linville committed Aug 9, 2011
1 parent cecdcdb commit c652196
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 886e14b65a8fcaedd72cf5f5c4c76e69de028a0f
refs/heads/master: c3ccb3341ec05444c8374d1829edc5157fc94853
26 changes: 0 additions & 26 deletions trunk/drivers/net/wireless/rtlwifi/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ struct mp_adapter {
u16 pcibridge_vendorid;
u16 pcibridge_deviceid;

u32 pcicfg_addrport;
u8 num4bytes;

u8 pcibridge_pciehdr_offset;
Expand Down Expand Up @@ -273,29 +272,4 @@ static inline void pci_write32_async(struct rtl_priv *rtlpriv,
writel(val, (u8 __iomem *) rtlpriv->io.pci_mem_start + addr);
}

static inline void rtl_pci_raw_write_port_ulong(u32 port, u32 val)
{
outl(val, port);
}

static inline void rtl_pci_raw_write_port_uchar(u32 port, u8 val)
{
outb(val, port);
}

static inline void rtl_pci_raw_read_port_uchar(u32 port, u8 *pval)
{
*pval = inb(port);
}

static inline void rtl_pci_raw_read_port_ushort(u32 port, u16 *pval)
{
*pval = inw(port);
}

static inline void rtl_pci_raw_read_port_ulong(u32 port, u32 *pval)
{
*pval = inl(port);
}

#endif

0 comments on commit c652196

Please sign in to comment.