[PATCH] fix fd.o bug 5158, add TYPE_RBC (from 2.6.14) to blockdev.c

Richard Hughes hughsient at gmail.com
Tue Nov 29 09:48:20 PST 2005


On Tue, 2005-11-29 at 00:16 +0100, Danny Kukawka wrote:
> +                       case 0:  /* Disk */
> +                       case 14: /* Simple Direct Access Device, set
> it to disk */

Shouldn't these magic numbers be #define'd somewhere? 14 is a bit random
to me, but DEV_RBC (or something like that) might be clearer.

Richard.



More information about the hal mailing list