Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272393
b: refs/heads/master
c: a74477d
h: refs/heads/master
i:
  272391: e1273bc
v: v3
  • Loading branch information
Stephan Gatzka authored and Stefan Richter committed Oct 9, 2011
1 parent 7d7c627 commit 4716a55
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 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: 4ec4a67aa100268b4ac5ae32b54843d975969969
refs/heads/master: a74477db9171e677b7a37b89e6e0ac8a15ba1f26
9 changes: 2 additions & 7 deletions trunk/drivers/firewire/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -1121,17 +1121,12 @@ static int fwnet_broadcast_start(struct fwnet_device *dev)
unsigned u;

if (dev->local_fifo == FWNET_NO_FIFO_ADDR) {
/* outside OHCI posted write area? */
static const struct fw_address_region region = {
.start = 0xffff00000000ULL,
.end = CSR_REGISTER_BASE,
};

dev->handler.length = 4096;
dev->handler.address_callback = fwnet_receive_packet;
dev->handler.callback_data = dev;

retval = fw_core_add_address_handler(&dev->handler, &region);
retval = fw_core_add_address_handler(&dev->handler,
&fw_high_memory_region);
if (retval < 0)
goto failed_initial;

Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/firewire/ohci.c
Original file line number Diff line number Diff line change
Expand Up @@ -2045,7 +2045,8 @@ static irqreturn_t irq_handler(int irq, void *data)
reg_read(ohci, OHCI1394_PostedWriteAddressLo);
reg_write(ohci, OHCI1394_IntEventClear,
OHCI1394_postedWriteErr);
fw_error("PCI posted write error\n");
if (printk_ratelimit())
fw_error("PCI posted write error\n");
}

if (unlikely(event & OHCI1394_cycleTooLong)) {
Expand Down

0 comments on commit 4716a55

Please sign in to comment.