08 Jan, 2010
1 commit
-
Use DEFINE_PCI_DEVICE_TABLE() so we get place PCI ids table into correct section
in every case.Signed-off-by: Alexey Dobriyan
Signed-off-by: David S. Miller
01 Feb, 2008
1 commit
-
The MSSR constants didn't match the reality - bitfield declarations used
to be correct (1000BT_FD - bit 11, 1000BT_HD - bit 10), but enum had
them the other way round. Went unnoticed until the switch from the
bitfields use to the explicit arithmetics and I hadn't caught that one
when verifying correctness of change...Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
19 Jan, 2008
5 commits
-
remove an unused union-with-bitfield of the same sort,
add missing conversions in debugging printkSigned-off-by: Al Viro
Signed-off-by: Jeff Garzik -
Signed-off-by: Al Viro
Signed-off-by: Jeff Garzik -
Signed-off-by: Al Viro
Signed-off-by: Jeff Garzik -
same story, different registers...
Signed-off-by: Al Viro
Signed-off-by: Jeff Garzik -
broken use of bitfields; FUBAR on big-endian (and not valid C,
strictly speaking).Signed-off-by: Al Viro
Signed-off-by: Jeff Garzik
23 Dec, 2007
1 commit
-
* shift before cpu_to_le64(), not after it
* writel() converts to l-e itself
* misc missing conversions
* in set_multicast() hash_table[] is host-endian; we feed it to card
via writel() and populate it as host-endian, so we'd better put the
first element into it also in host-endian
* pci_unmap_single() et.al. expect host-endian, not little-endianSigned-off-by: Al Viro
Signed-off-by: Jeff Garzik
11 Oct, 2007
1 commit
-
Actually, D-Link modified the VendorID/ProductID of the TC902x.
The TC902x is the original chipset.Signed-off-by: Komuro
Signed-off-by: Jeff Garzik
12 Jul, 2007
1 commit
-
Instead of all drivers reading pci config space to get the revision
ID, they can now use the pci_device->revision member.This exposes some issues where drivers where reading a word or a dword
for the revision number, and adding useless error-handling around the
read. Some drivers even just read it for no purpose of all.In devices where the revision ID is being copied over and used in what
appears to be the equivalent of hotpath, I have left the copy code
and the cached copy as not to influence the driver's performance.Compile tested with make all{yes,mod}config on x86_64 and i386.
Signed-off-by: Auke Kok
Acked-by: Dave Jones
Signed-off-by: Greg Kroah-Hartman
14 Sep, 2006
1 commit
-
Signed-off-by: Jeff Garzik
27 Jun, 2006
1 commit
-
Symbols such as PCI_USES_IO, PCI_ADDR0, etc. originated from Donald
Becker's net driver template, but have been long unused. Remove.In a few drivers, this allows the further eliminate of the pci_flags (or
just plain flags) member in the template driver probe structure.Most of this logic is simply open-coded in most drivers, since it never
changes.Made a few other cleanups while I was in there, too:
* constify, __devinitdata several PCI ID tables
* replace table terminating entries such as "{0,}," and "{NULL},"
with a more-clean "{ }".Signed-off-by: Jeff Garzik
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!