Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2004 21:22:43 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Sam <sah@softcardsystems.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: dev_t ? 
Message-ID:  <80721.1093980163@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 31 Aug 2004 15:21:23 CDT." <Pine.LNX.4.60.0408311517420.7530@athena> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.LNX.4.60.0408311517420.7530@athena>, Sam writes:
>Following dev/ata/ata-disk.c:200 I'm doing the following:
>
>dev = disk_create(...);
>dev->si_drv1 = d;
>dev->si_iosize_max = 1024;
>d->dev = dev;
>
>When compiling I get "dereferencing pointer to incomplete type" errors.
>
>Am I missing something here?  Both code sets use dev_t types.

#include <sys/conf.h>

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80721.1093980163>