KINDLY HELP : error while kldloading a pci,character driver

Daniel O'Connor doconnor at gsoft.com.au
Tue Sep 20 22:50:53 PDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050921/b4feea56/attachment.bin


More information about the freebsd-hackers mailing list