Thread (32 messages) 32 messages, 4 authors, 2007-11-26

Re: [PATCH 10/21] r8169: merge with version 6.001.00 of Realtek's r8169 driver

From: Francois Romieu <romieu@fr.zoreil.com>
Date: 2007-06-30 09:44:29

Jeff Garzik [off-list ref] :
Arjan van de Ven wrote:
quoted
quoted
+	pci_write_config_byte(tp->pci_dev, PCI_LATENCY_TIMER, 0x40);
can you create a pci_set_latency_timer() for this please?
[...]
quoted
quoted
+	if (tp->mac_version <= RTL_GIGA_MAC_VER_06)
+		pci_write_config_byte(tp->pci_dev, PCI_CACHE_LINE_SIZE, 
0x08);
and something for this as well?
Why?  Nothing here seems generic to me.
I.e. no need for pci_set_latency_timer(struct pci_dev *dev, u8 latency)
neither pci_set_cache_line_size(struct pci_dev *dev, u8 size) ?

-- 
Ueimor
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help