Re: Need an alternative to DELAY()

2011-04-11 Thread Hans Petter Selasky
On Monday 11 April 2011 03:59:13 dieter...@engineer.com wrote: > FreeBSD 8.2 amd64 uniprocessor > > kernel: siisch1: DISCONNECT requested > kernel: siisch1: SIIS reset... > kernel: siisch1: siis_sata_connect() calling DELAY(1000) > last message repeated 59 times > kernel: siisch1: SATA connect t

Re: ifconfig output: ipv4 netmask format

2011-04-11 Thread Sergey Vinogradov
On 09.04.2011 16:07, Damien Fleuriot wrote: On 4/9/11 7:33 AM, Garrett Cooper wrote: Although I see the value of your and Sergey's argument, the problem is that it may cause unexpected breakage for other third parties that depend on a particular behavior in FreeBSD as Bjoern and others have s

Re: ifconfig output: ipv4 netmask format

2011-04-11 Thread Sergey Vinogradov
On 08.04.2011 16:08, Sergey Vinogradov wrote: Hi, hackers. I have a question: why ipv4 netmask is displayed by ifconfig in hex format? Isn't dot-decimal notation more human-readable? Will the attached patch break something in the very bad way? ___ fr

Re: Kernel Tracking Question.. regarding kernel and boot files

2011-04-11 Thread Mohammed Farrag
Hey All, Please check this. Check this to use Eclipse/Qemu for Kernel Debugging. http://issaris.blogspot.com/2007/12/download-linux-kernel-sourcecode-from.html It was designed to debug linux kernel. Regards, Mohammed On Sun, Apr 10, 2011 at 9:28 AM, Devin Teske wrote: > On Apr 9, 201

Re: Need an alternative to DELAY()

2011-04-11 Thread dieterbsd
FreeBSD 8.2 amd64 uniprocessor kernel: siisch1: DISCONNECT requested kernel: siisch1: SIIS reset... kernel: siisch1: siis_sata_connect() calling DELAY(1000) last message repeated 59 times kernel: siisch1: SATA connect time=60ms status=0123 kernel: siisch1: SIIS reset done: devices=0001

Re: Need an alternative to DELAY()

2011-04-11 Thread Warner Losh
I don't suppose that your driver could cause the hardware to interrupt after a little time? That would be more resource friendly... Otherwise, 1ms is long enough that a msleep or tsleep would likely work quite nicely. Warner On Apr 11, 2011, at 1:43 PM, dieter...@engineer.com wrote: >>> Free