From 074e37a18fded30cbf2c8f26c1adcb2723701e27 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Tue, 23 Aug 1994 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1994-08-23 --- pc/dat.h | 1 + pc/main.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/pc/dat.h b/pc/dat.h index 0ccf03e826f138c9a438fd3f7165e14386f03ef3..4019b6d3918219148ddc8d7a3dd490c7aecca8fe 100644 --- a/pc/dat.h +++ b/pc/dat.h @@ -183,6 +183,7 @@ struct ISAConf { ulong irq; ulong mem; ulong size; + ulong freq; uchar ea[6]; }; diff --git a/pc/main.c b/pc/main.c index e6031e1902cef0c7c50b01b2c1463380342125a9..b09ac11afcd0ed3d46ef36878f83ae49c378b02f 100644 --- a/pc/main.c +++ b/pc/main.c @@ -729,6 +729,8 @@ isaconfig(char *class, int ctlrno, ISAConf *isa) isa->mem = strtoul(p+4, &p, 0); else if(strncmp(p, "size=", 5) == 0) isa->size = strtoul(p+5, &p, 0); + else if(strncmp(p, "freq=", 5) == 0) + isa->freq = strtoul(p+5, &p, 0); else if(strncmp(p, "ea=", 3) == 0) parseether(isa->ea, p+3); while(*p && *p != ' ' && *p != '\t')