Subject: Re: okay, I give up... where's device_lookup defined?
To: Matthew Jacob <mjacob@feral.com>
From: Jason R Thorpe <thorpej@zembu.com>
List: current-users
Date: 07/19/2000 00:40:30
On Tue, Jul 18, 2000 at 11:59:56PM -0700, Matthew Jacob wrote:

 > It's in these files in my freshly updated sys tree, but nowhere
 > else....somebody give me a clue?

It's a macro in sys/device.h:

dr-evil:thorpej 3$ grep device_lookup /usr/src/sys/sys/*
/usr/src/sys/sys/device.h:#define       device_lookup(cfd, unit)                

 > 
 > ./dev/ata/wd.c
 > ./dev/audio.c
 > ./dev/midi.c
 > ./dev/ic/ca.c
 > ./dev/ic/cac.c
 > ./dev/ic/clmpcc.c
 > ./dev/ic/com.c
 > ./dev/ic/cy.c
 > ./dev/ic/dpt.c
 > ./dev/ic/lpt.c
 > ./dev/ic/midway.c
 > ./dev/ic/rrunner.c
 > ./dev/ic/z8530tty.c
 > ./dev/isa/fd.c
 > ./dev/isa/mcd.c
 > ./dev/isa/satlink.c
 > ./dev/isa/seagate.c
 > ./dev/isa/wt.c
 > 
 > 
 > 
 > 
 > 

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>