lilo 21.6.1 patch
Subsystems (2)
PATCH 1/1 lilo 21.6.1 patch
ok, i decided to put my code where my mouth was. here's an updated lilo patch, against 21.6.1. it works for me, and i've booted 32mb & 48mb doc2000s with it.
Makefile +3 -0
@@ -50,6 +50,9 @@ sed 's/-D/-DLCF_/g'` `[ -r /usr/include/asm/boot.h ] && echo -DHAS_BOOT_H` GO=-DGO=0x`sed '/go/s/^.*go *0 \(....\) A.*$$/\1/p;d' first.lis` +#CONFIG+=-DLCF_LARGE_EBDA +#PCONFIG+=-DLCF_LARGE_EBDA + SHELL=/bin/sh CC=cc CPP=$(CC) -E
Only in lilo-21.6.1: activate
Only in lilo-21.6.1: boot-menu.b
Only in lilo-21.6.1: boot-text.b
Only in lilo-21.6.1: chain.b
Only in lilo-21.6.1: disk.com
Common subdirectories: lilo-21.6.1.orig/doc and lilo-21.6.1/doc Only in lilo-21.6.1: dparam.com
geometry.c +14 -2
@@ -125,7 +125,8 @@MAJOR (dev) ==MAJOR_IDE3 ||MAJOR (dev) ==MAJOR_IDE4 ||MAJOR (dev) ==MAJOR_IDE5 ||MAJOR (dev) ==MAJOR_IDE6 ||MAJOR (dev) ==MAJOR_XT ||MAJOR (dev) ==MAJOR_SD || -MAJOR (dev) ==MAJOR_ESDI ||MAJOR (dev) ==MAJOR_DAC960 ; +MAJOR (dev) ==MAJOR_ESDI ||MAJOR (dev) ==MAJOR_DAC960 || +MAJOR (dev) ==MAJOR_FL ||MAJOR (dev) ==MAJOR_NFTL ; }
@@ -310,8 +311,15 @@/* fall through */ case MAJOR_ESDI :/* fall through */ +case MAJOR_FL : +/* fall through */ +case MAJOR_NFTL : +/* fall through */ case MAJOR_XT : - geo->device =0x80 +(MINOR (device) >>6 )+(MAJOR (device) ==MAJOR_HD ? + geo->device =0x80 +(MINOR (device) >>6 )+( + (MAJOR (device) ==MAJOR_HD || +MAJOR (device) ==MAJOR_FL || +MAJOR (device) ==MAJOR_NFTL ) ?0 :last_dev (MAJOR_HD ,64 ));if (ioctl (fd,HDIO_GETGEO ,&hdprm) <0 ) die("geo_query_dev HDIO_GETGEO (dev 0x%04x): %s",device,
@@ -403,6 +411,10 @@case MAJOR_IDE6 :/* fall through */ case MAJOR_ESDI : +/* fall through */ +case MAJOR_FL : +/* fall through */ +case MAJOR_NFTL :/* fall through */ case MAJOR_XT :return MINOR (device) >>6 ?0 : !last_dev (MAJOR_HD ,64 );
Only in lilo-21.6.1: lilo
lilo.h +3 -1
@@ -41,6 +41,8 @@#define MAJOR_DAC960 48/* First Mylex DAC960 PCI RAID controller */ #define MAJOR_IDE5 55/* IDE on fifth interface */ #define MAJOR_IDE6 57/* IDE on sixth interface */ +#define MAJOR_FL 62/* M-Systems Disk On Chip 2000 */ +#define MAJOR_NFTL 93/* M-Systems DOC2000 NFTL driver */ #define COMPAQ_SMART2_MAJOR 72/* First Smart/2 Major */ #define MAX_IMAGES ((SECTOR_SIZE*2-2)/sizeof(IMAGE_DESCR))
@@ -271,4 +273,4 @@#endif -#endif +#endif
Common subdirectories: lilo-21.6.1.orig/manPages and lilo-21.6.1/manPages
Signature · 8 lines
___________________________________ | Ian Eure - <[email protected]> | "You're living in a facist world... | - Developer - | Freedom is a luxury." -Front Line | - InsynQ, Inc. - | Assembly, "Digital Tension Dementia" | Your Internet Utility Company.tm |________________________________________ To unsubscribe, send "unsubscribe mtd" to [email protected]