fdc.c (42117b6c4d8866c78525f26816000706128759e2) | fdc.c (2ac8c61ac4394d5247be860034e5401a5105689a) |
---|---|
1/* 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Don Ahn. 7 * 8 * Libretto PCMCIA floppy support by David Horwitt (dhorwitt@ucsd.edu) --- 867 unchanged lines hidden (view full) --- 876 switch (ic_type) { 877 case 0x80: 878 device_set_desc(dev, "NEC 765 or clone"); 879 fdc->fdct = FDC_NE765; 880 break; 881 case 0x81: /* not mentioned in any hardware doc */ 882 case 0x90: 883 device_set_desc(dev, | 1/* 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Don Ahn. 7 * 8 * Libretto PCMCIA floppy support by David Horwitt (dhorwitt@ucsd.edu) --- 867 unchanged lines hidden (view full) --- 876 switch (ic_type) { 877 case 0x80: 878 device_set_desc(dev, "NEC 765 or clone"); 879 fdc->fdct = FDC_NE765; 880 break; 881 case 0x81: /* not mentioned in any hardware doc */ 882 case 0x90: 883 device_set_desc(dev, |
884 "enhanced floppy controller (i82077, NE72065 or clone)"); | 884 "Enhanced floppy controller (i82077, NE72065 or clone)"); |
885 fdc->fdct = FDC_ENHANCED; 886 break; 887 default: | 885 fdc->fdct = FDC_ENHANCED; 886 break; 887 default: |
888 device_set_desc(dev, "generic floppy controller"); | 888 device_set_desc(dev, "Generic floppy controller"); |
889 fdc->fdct = FDC_UNKNOWN; 890 break; 891 } 892 } 893 894out: 895 fdc_release_resources(fdc); 896 return (error); --- 1904 unchanged lines hidden --- | 889 fdc->fdct = FDC_UNKNOWN; 890 break; 891 } 892 } 893 894out: 895 fdc_release_resources(fdc); 896 return (error); --- 1904 unchanged lines hidden --- |