Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2005 15:20:43 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-hackers@freebsd.org, nsrashmi@gmail.com
Cc:        bugi@lists.redbrick.dcu.ie
Subject:   Re: KINDLY HELP : error while kldloading a pci,character driver
Message-ID:  <200509211520.44476.doconnor@gsoft.com.au>
In-Reply-To: <9f99931605092022396c685991@mail.gmail.com>
References:  <9f99931605092022396c685991@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Wednesday 21 September 2005 15:09, rashmi ns wrote:
>         .d_name     = "hdlc_cdev",
>         .d_maj      = CDEV_MAJOR,   /*251*/
>         .d_open     = hdlc_open,
>         .d_read     = hdlc_read,

> but why do i get this error

You need
.d_version = D_VERSION,

in your cdevsw.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBDMPS05ZPcIHs/zowRAkeSAJsH18Jm1Ei/6KYJccEOV2E2gbxEdgCfXkNy
5zjcnyc2e+i8W4UMhiE3Js8=
=BteG
-----END PGP SIGNATURE-----
help

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