Skip to contentSkip to conversation

mtdchar major , 90 or 91?

DISCUSSION Nikolai Vladychevski 2 participants 4 messages Aug 24, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Why in MAKEDEV the char device has major 90 and in mtdchar.c it has redefined from 90 to 91 in one of the first lines of code:

#undef MTD_CHAR_MAJOR
#define MTD_CHAR_MAJOR 91

I had to comment this definition in order to recognize /dev/mtd0 in the doc millenium .... this is strange, why this numbers change from place to place?

Nikolai
p.s.
I downloaded lastests release 2 days ago from cvs

#1 lore raw
Quoted 2 lines · [email protected] said:

Why in MAKEDEV the char device has major 90 and in mtdchar.c it has
redefined from 90 to 91 in one of the first lines of code:

Eep, sorry. That was a local hack which shouldn't have escaped my tree. Reverted.

--
dwmw2

#2 lore raw
Quoted 7 lines · David Woodhouse
Quoted 2 lines · [email protected] said:

Why in MAKEDEV the char device has major 90 and in mtdchar.c it has
redefined from 90 to 91 in one of the first lines of code:

Eep, sorry. That was a local hack which shouldn't have escaped my tree. Reverted.

that's what I tought, last question, do you think I can use the lastest cvs for production, or I should stay on 20000704..... (It's just I wanted to use Ollie Who's new DoC millenium driver and be up to date.....)

Nikolai

#3 lore raw
Quoted 4 lines · [email protected] said:

that's what I tought, last question, do you think I can use the
lastest cvs for production, or I should stay on 20000704..... (It's just I wanted to use Ollie Who's new DoC millenium driver and be up to date.....)

Definitely use the latest CVS.

--
dwmw2