From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9604020628.AA05058@ives.amt.tay1.dec.com> Date: Tue, 2 Apr 1996 01:28:21 -0500 (EST) From: Jim Paradis Subject: Re: Patches for PCMCIA on UDB In-Reply-To: > > +#ifdef USE_MEM_ACCESS_ROUTINES > > + *ptr = _readb(sys); > > +#else > > *ptr = *sys; > > +#endif > > } > > } > > } /* read_cis_mem */ > > The above kind of horror it too ugly to survive. I don't care _too_ much, > as pcmcia isn't in the kernel, but I'd rather not even be distantly > associated with anything like this. Understood, and I tend to agree. I did it this way mainly to set off what needed to be re-worked, and David Hinds can have the final say. It's a stylistic difference between the two of us, I guess... you avoid ifdef's at all costs, whereas I use them often when I'm hacking on someone else's code to show what code is mine and what code is theirs. The "owner" of the code is then free to fold my changes into the default tree. I don't do this for Linux kernel changes because I *know* how you feel about ifdef's 8-) -- Jim Paradis (paradis@amt.tay1.dec.com) "It's not procrastination, Digital Equipment Corporation it's my new Just-In-Time (508)952-4047 Workload Management System!" http://www.tiac.net/users/jrp/index.html