Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2011 09:00:44 -0600
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Mitya <mitya@cabletv.dp.ua>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Cosmetic path to bsdinstall
Message-ID:  <4D66729C.6040303@freebsd.org>
In-Reply-To: <4D64FF99.2070908@cabletv.dp.ua>
References:  <4D64FF99.2070908@cabletv.dp.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks! I've received basically this patch from a couple people now. I'm 
going to investigate whether this is a more generic way to get this 
information (so the list doesn't grow infinitely long), and will commit 
this if I can't. Having CAM devices be part of newbus would simplify 
this a very great deal...
-Nathan

On 02/23/11 06:37, Mitya wrote:
> Add usually used RAID controller
>
> --- usr.sbin/bsdinstall/partedit/part_wizard.c.orig    2011-02-19 
> 17:22:06.000000000 +0200
> +++ usr.sbin/bsdinstall/partedit/part_wizard.c    2011-02-21 
> 17:20:28.000000000 +0200
> @@ -122,6 +122,18 @@
>                      strcat(diskdesc, " ATA Hard Disk");
>                  else if (strncmp(pp->lg_name, "da", 2) == 0)
>                      strcat(diskdesc, " SCSI Hard Disk");
> +                else if (strncmp(pp->lg_name, "aacd", 4) == 0)
> +                    strcat(diskdesc, " Adaptec Raid Disk");
> +                else if (strncmp(pp->lg_name, "amrd", 4) == 0)
> +                    strcat(diskdesc, " LSI Raid Disk");
> +                else if (strncmp(pp->lg_name, "mfid", 4) == 0)
> +                    strcat(diskdesc, " LSI Raid Disk");
> +                else if (strncmp(pp->lg_name, "mlxd", 4) == 0)
> +                    strcat(diskdesc, " Mylex Raid Disk");
> +                else if (strncmp(pp->lg_name, "twed", 4) == 0)
> +                    strcat(diskdesc, " 3ware Raid Disk");
> +                else if (strncmp(pp->lg_name, "pst", 3) == 0)
> +                    strcat(diskdesc, " Promise Raid Disk");
>                  else if (strncmp(pp->lg_name, "md", 2) == 0)
>                      strcat(diskdesc, " Memory Disk");
>                  else if (strncmp(pp->lg_name, "cd", 2) == 0) {
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe@freebsd.org"




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