summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/list_modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm
index 8c3d4c839..8daacfc95 100644
--- a/kernel/list_modules.pm
+++ b/kernel/list_modules.pm
@@ -68,7 +68,7 @@ our %l = (
qw(eata eata_pio eata_dma mptscsih nsp32),
),
'53c7,8xx',
- qw(aic7xxx pci2000 qlogicisp sym53c8xx), # ncr53c8xx
+ qw(aic7xxx aic7xxx_old pci2000 qlogicisp sym53c8xx), # ncr53c8xx
],
hardware_raid => [
if_(arch() =~ /^sparc/, qw(pluto)),
c struct componentOps labelOps = { labelDraw, newtDefaultEventHandler, labelDestroy, newtDefaultPlaceHandler, newtDefaultMappedHandler, } ; newtComponent newtLabel(int left, int top, const char * text) { newtComponent co; struct label * la; co = malloc(sizeof(*co)); la = malloc(sizeof(struct label)); co->data = la; co->ops = &labelOps; co->height = 1; co->width = strlen(text); co->top = top; co->left = left; co->takesFocus = 0; la->length = strlen(text); la->text = strdup(text); return co; } void newtLabelSetText(newtComponent co, const char * text) { int newLength; struct label * la = co->data; newLength = strlen(text); if (newLength <= la->length) { memset(la->text, ' ', la->length); memcpy(la->text, text, newLength); } else { free(la->text); la->text = strdup(text); la->length = newLength; co->width = newLength; } labelDraw(co); } static void labelDraw(newtComponent co) { struct label * la = co->data; if (co->isMapped == -1) return; SLsmg_set_color(COLORSET_LABEL); newtGotorc(co->top, co->left); SLsmg_write_string(la->text); } static void labelDestroy(newtComponent co) { struct label * la = co->data; free(la->text); free(la); free(co); }