Merge tag 'v2.6.33' for its firewire changes since last branch point
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
@@ -2136,11 +2136,6 @@ static int ohci_queue_iso_transmit(struct fw_iso_context *base,
|
||||
u32 payload_index, payload_end_index, next_page_index;
|
||||
int page, end_page, i, length, offset;
|
||||
|
||||
/*
|
||||
* FIXME: Cycle lost behavior should be configurable: lose
|
||||
* packet, retransmit or terminate..
|
||||
*/
|
||||
|
||||
p = packet;
|
||||
payload_index = payload;
|
||||
|
||||
@@ -2170,6 +2165,14 @@ static int ohci_queue_iso_transmit(struct fw_iso_context *base,
|
||||
if (!p->skip) {
|
||||
d[0].control = cpu_to_le16(DESCRIPTOR_KEY_IMMEDIATE);
|
||||
d[0].req_count = cpu_to_le16(8);
|
||||
/*
|
||||
* Link the skip address to this descriptor itself. This causes
|
||||
* a context to skip a cycle whenever lost cycles or FIFO
|
||||
* overruns occur, without dropping the data. The application
|
||||
* should then decide whether this is an error condition or not.
|
||||
* FIXME: Make the context's cycle-lost behaviour configurable?
|
||||
*/
|
||||
d[0].branch_address = cpu_to_le32(d_bus | z);
|
||||
|
||||
header = (__le32 *) &d[1];
|
||||
header[0] = cpu_to_le32(IT_HEADER_SY(p->sy) |
|
||||
@@ -2455,6 +2458,7 @@ static void ohci_pmac_off(struct pci_dev *dev)
|
||||
|
||||
#define PCI_VENDOR_ID_AGERE PCI_VENDOR_ID_ATT
|
||||
#define PCI_DEVICE_ID_AGERE_FW643 0x5901
|
||||
#define PCI_DEVICE_ID_TI_TSB43AB23 0x8024
|
||||
|
||||
static int __devinit pci_probe(struct pci_dev *dev,
|
||||
const struct pci_device_id *ent)
|
||||
@@ -2523,7 +2527,8 @@ static int __devinit pci_probe(struct pci_dev *dev,
|
||||
#if !defined(CONFIG_X86_32)
|
||||
/* dual-buffer mode is broken with descriptor addresses above 2G */
|
||||
if (dev->vendor == PCI_VENDOR_ID_TI &&
|
||||
dev->device == PCI_DEVICE_ID_TI_TSB43AB22)
|
||||
(dev->device == PCI_DEVICE_ID_TI_TSB43AB22 ||
|
||||
dev->device == PCI_DEVICE_ID_TI_TSB43AB23))
|
||||
ohci->use_dualbuffer = false;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user