diff options
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/core-card.c | 2 | ||||
-rw-r--r-- | drivers/firewire/core-device.c | 2 | ||||
-rw-r--r-- | drivers/firewire/core-topology.c | 2 | ||||
-rw-r--r-- | drivers/firewire/core.h | 2 | ||||
-rw-r--r-- | drivers/firewire/net.c | 6 | ||||
-rw-r--r-- | drivers/firewire/nosy.c | 2 | ||||
-rw-r--r-- | drivers/firewire/ohci.c | 6 |
7 files changed, 14 insertions, 8 deletions
diff --git a/drivers/firewire/core-card.c b/drivers/firewire/core-card.c index 29d2423fae6d..85661b060ed7 100644 --- a/drivers/firewire/core-card.c +++ b/drivers/firewire/core-card.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <linux/spinlock.h> | 32 | #include <linux/spinlock.h> |
33 | #include <linux/workqueue.h> | 33 | #include <linux/workqueue.h> |
34 | 34 | ||
35 | #include <asm/atomic.h> | 35 | #include <linux/atomic.h> |
36 | #include <asm/byteorder.h> | 36 | #include <asm/byteorder.h> |
37 | 37 | ||
38 | #include "core.h" | 38 | #include "core.h" |
diff --git a/drivers/firewire/core-device.c b/drivers/firewire/core-device.c index 95a471401892..8ba7f7928f1f 100644 --- a/drivers/firewire/core-device.c +++ b/drivers/firewire/core-device.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/string.h> | 38 | #include <linux/string.h> |
39 | #include <linux/workqueue.h> | 39 | #include <linux/workqueue.h> |
40 | 40 | ||
41 | #include <asm/atomic.h> | 41 | #include <linux/atomic.h> |
42 | #include <asm/byteorder.h> | 42 | #include <asm/byteorder.h> |
43 | #include <asm/system.h> | 43 | #include <asm/system.h> |
44 | 44 | ||
diff --git a/drivers/firewire/core-topology.c b/drivers/firewire/core-topology.c index 193ed9233144..94d3b494ddfb 100644 --- a/drivers/firewire/core-topology.c +++ b/drivers/firewire/core-topology.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/spinlock.h> | 30 | #include <linux/spinlock.h> |
31 | 31 | ||
32 | #include <asm/atomic.h> | 32 | #include <linux/atomic.h> |
33 | #include <asm/byteorder.h> | 33 | #include <asm/byteorder.h> |
34 | #include <asm/system.h> | 34 | #include <asm/system.h> |
35 | 35 | ||
diff --git a/drivers/firewire/core.h b/drivers/firewire/core.h index 0fe4e4e6eda7..b45be5767529 100644 --- a/drivers/firewire/core.h +++ b/drivers/firewire/core.h | |||
@@ -9,7 +9,7 @@ | |||
9 | #include <linux/slab.h> | 9 | #include <linux/slab.h> |
10 | #include <linux/types.h> | 10 | #include <linux/types.h> |
11 | 11 | ||
12 | #include <asm/atomic.h> | 12 | #include <linux/atomic.h> |
13 | 13 | ||
14 | struct device; | 14 | struct device; |
15 | struct fw_card; | 15 | struct fw_card; |
diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c index 512492a122df..03a7a85d0424 100644 --- a/drivers/firewire/net.c +++ b/drivers/firewire/net.c | |||
@@ -262,16 +262,16 @@ static int fwnet_header_rebuild(struct sk_buff *skb) | |||
262 | } | 262 | } |
263 | 263 | ||
264 | static int fwnet_header_cache(const struct neighbour *neigh, | 264 | static int fwnet_header_cache(const struct neighbour *neigh, |
265 | struct hh_cache *hh) | 265 | struct hh_cache *hh, __be16 type) |
266 | { | 266 | { |
267 | struct net_device *net; | 267 | struct net_device *net; |
268 | struct fwnet_header *h; | 268 | struct fwnet_header *h; |
269 | 269 | ||
270 | if (hh->hh_type == cpu_to_be16(ETH_P_802_3)) | 270 | if (type == cpu_to_be16(ETH_P_802_3)) |
271 | return -1; | 271 | return -1; |
272 | net = neigh->dev; | 272 | net = neigh->dev; |
273 | h = (struct fwnet_header *)((u8 *)hh->hh_data + 16 - sizeof(*h)); | 273 | h = (struct fwnet_header *)((u8 *)hh->hh_data + 16 - sizeof(*h)); |
274 | h->h_proto = hh->hh_type; | 274 | h->h_proto = type; |
275 | memcpy(h->h_dest, neigh->ha, net->addr_len); | 275 | memcpy(h->h_dest, neigh->ha, net->addr_len); |
276 | hh->hh_len = FWNET_HLEN; | 276 | hh->hh_len = FWNET_HLEN; |
277 | 277 | ||
diff --git a/drivers/firewire/nosy.c b/drivers/firewire/nosy.c index 0618145376ad..763626b739d1 100644 --- a/drivers/firewire/nosy.c +++ b/drivers/firewire/nosy.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <linux/uaccess.h> | 37 | #include <linux/uaccess.h> |
38 | #include <linux/wait.h> | 38 | #include <linux/wait.h> |
39 | 39 | ||
40 | #include <asm/atomic.h> | 40 | #include <linux/atomic.h> |
41 | #include <asm/byteorder.h> | 41 | #include <asm/byteorder.h> |
42 | 42 | ||
43 | #include "nosy.h" | 43 | #include "nosy.h" |
diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c index ded0c9bf96f4..57cd3a406edf 100644 --- a/drivers/firewire/ohci.c +++ b/drivers/firewire/ohci.c | |||
@@ -263,6 +263,7 @@ static char ohci_driver_name[] = KBUILD_MODNAME; | |||
263 | #define PCI_DEVICE_ID_AGERE_FW643 0x5901 | 263 | #define PCI_DEVICE_ID_AGERE_FW643 0x5901 |
264 | #define PCI_DEVICE_ID_JMICRON_JMB38X_FW 0x2380 | 264 | #define PCI_DEVICE_ID_JMICRON_JMB38X_FW 0x2380 |
265 | #define PCI_DEVICE_ID_TI_TSB12LV22 0x8009 | 265 | #define PCI_DEVICE_ID_TI_TSB12LV22 0x8009 |
266 | #define PCI_VENDOR_ID_PINNACLE_SYSTEMS 0x11bd | ||
266 | 267 | ||
267 | #define QUIRK_CYCLE_TIMER 1 | 268 | #define QUIRK_CYCLE_TIMER 1 |
268 | #define QUIRK_RESET_PACKET 2 | 269 | #define QUIRK_RESET_PACKET 2 |
@@ -3207,6 +3208,11 @@ static int __devinit pci_probe(struct pci_dev *dev, | |||
3207 | int i, err; | 3208 | int i, err; |
3208 | size_t size; | 3209 | size_t size; |
3209 | 3210 | ||
3211 | if (dev->vendor == PCI_VENDOR_ID_PINNACLE_SYSTEMS) { | ||
3212 | dev_err(&dev->dev, "Pinnacle MovieBoard is not yet supported\n"); | ||
3213 | return -ENOSYS; | ||
3214 | } | ||
3215 | |||
3210 | ohci = kzalloc(sizeof(*ohci), GFP_KERNEL); | 3216 | ohci = kzalloc(sizeof(*ohci), GFP_KERNEL); |
3211 | if (ohci == NULL) { | 3217 | if (ohci == NULL) { |
3212 | err = -ENOMEM; | 3218 | err = -ENOMEM; |