It appears the nodes are already made when I check /dev.
I assume the file open call fails to find the device file because it gets confused by several other nodes with the same major device number (shown below)
I did not add these drivers in myself and do not know where they come from. If the major number is not the issue, please let me know what I am missing.
----- Original Message ----
From: Dr. Johann Pfefferl <j.pfefferl@xxxxxxxxx>
To: microblaze-uclinux@xxxxxxxxxxxxxx
Sent: Tuesday, January 29, 2008 12:57:44 AM
Subject: Re: [microblaze-uclinux] FSLFIFO major number
Hello,
the FSL link device belongs to the so called "misc" device class. These
devices have always the major number 10. The minor number starts at 192
(according to the source file ./drivers/misc/fslfifo/fslfifo.h). So you
have to create a device node like this:
mknod /dev/fslfifo0 c 10 192
mknod /dev/fslfifo1 c 10 193
...
Hope this helps,
Hans
Simon Tam <
simontam1234@xxxxxxxxx> wrote:
> Hi John,
>
> I am using the FSLFIFO in the v0.3-RC1 release. The predefined
device driver major number is 10. It clashes with several other devices.
Can you help changing the major number to somewhere say 20? It will be
great if you can show how I can do it myself too so I know how to fish
in the future.
>
>
> Thanks,
>
> Simon
>
--
Dr. Johann Pfefferl ------------ mailto j.pfefferl at eubus dot net
Eubus GmbH
http://www.eubus.net ++++
http://www.ebmhydraxc.comGollierstr. 70
D-80339 Muenchen
Phone: +49 (0)89 45 22 578-67 Fax: +49 (0)89 45 22 578-55
Registergericht Muenchen HRB 145 336, Ust-Id Nr. DE 225 783 933
Geschaeftsfuehrer: Volker Ulrich, Peter Sibities
==
-o) A computer program does what you tell it to do,
/\\ not what you want it to do.
_\_v-
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxxProject Home Page :
http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinuxMailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/