Re: How to get a device_t

2003-08-12 Thread Eric Jacobs
On Wed, 6 Aug 2003 13:00:13 +0200 Bernd Walter <[EMAIL PROTECTED]> wrote: > > Back to the original question: > How do I get the device_t from nexus? > Is there a get_nexus() function somewhere? You can do it this way: devclass_t nexusdc = devclass_find("nexus"); device_t nexus = devclass_get_de

Re: possible deadlocks?

2003-08-12 Thread John Baldwin
On 11-Aug-2003 Ted Unangst wrote: > one more. This falls into the very improbable category. Ordinarily, I > don't think this is possible because FreeBSD doesn't support hotplug PCI, > so sk attachment can't be raced. > > However, assuming I had some hot plug sk card, it seems like running > ifc

Re: USB versus SMP and Epson printers.

2003-08-12 Thread Don Lewis
On 6 Aug, Frank Mayhar wrote: > On Monday I received my brand-new Epson C82, a replacement for a 900N with > a dead print head. I had already configured CUPS so I imagined that I would > just hook it up with USB and everything would be happy. > > Well, that's not how it turned out. > > I tried

Re: possible deadlocks?

2003-08-12 Thread John Baldwin
On 12-Aug-2003 Peter Jeremy wrote: > On Mon, Aug 11, 2003 at 03:50:26PM -0700, Ted Unangst wrote: >>On Mon, 11 Aug 2003, John Baldwin wrote: >>> Also, SK_LOCK != SK_IF_LOCK, or is that a typo? If it is a typo, >>> then the lock order should still be fixed in some fashion. >> >>They are the same.