Thread (12 messages) 12 messages, 5 authors, 2008-12-04

Re: Realtek 8169 problems with net booting

From: David Miller <davem@davemloft.net>
Date: 2008-11-24 21:57:10

From: Alan Cox <redacted>
Date: Mon, 24 Nov 2008 18:14:56 +0000
8169 does this

	pci_set_master
	twiddle a few bits
	soft reset chip

The master bit is off when the driver is loaded it appears but surely the
driver should do

	twiddle a few bits
	soft reset chip
	pci_set_master

otherwise it has no idea if a warm boot from Linux without neat shutdown,
or a BIOS tftp has left the chip trying to spew into main memory ?
Yes, a lot of drivers will enable bus mastering before resetting
the chip.

The basic assumption is that the chip is quiescent at driver load
time.

Since switching around this order across the board is too
gigantic a project, I would suggest just handling things on
a case-by-case basis where we know the BIOS or firmware leave
the chip in a crud state like this.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help