From owner-freebsd-hackers Sat Apr 3 8:18:13 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bingsun1.cc.binghamton.edu (bingsun1.cc.binghamton.edu [128.226.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 4004314C8B for ; Sat, 3 Apr 1999 08:18:11 -0800 (PST) (envelope-from bf20761@binghamton.edu) Received: from localhost by bingsun1.cc.binghamton.edu (8.9.3/8.9.3) with SMTP id LAA14177 for ; Sat, 3 Apr 1999 11:16:13 -0500 (EST) X-Authentication-Warning: bingsun1.cc.binghamton.edu: bf20761 owned process doing -bs Date: Sat, 3 Apr 1999 11:16:12 -0500 (EST) From: zhihuizhang X-Sender: bf20761@bingsun1 To: freebsd-hackers@FreeBSD.ORG Subject: What does the "s" in insl and insw mean? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The instructions insl() and insw() should read a long word (l) or a word (w) from a specified I/O port. But what does the "s" in both instructions stand for? I can not find it in the Info files. Why I ask this? I come across these two instructions when I am reading source code wdgetctlr() in file isa/wd.c, where the source code checks if we really have a 32-bit controller by a bcmp(tb,tb2,sizeof(struct wdparams)). However, tb2 has not been assigned with anything (all 0s by default). So I have to figure out what has been read into tb by an earlier insl() or insw(). I doubt if there is a bug in that routine or some option is never actually used. Any help is appreciated. -------------------------------------------------- | Zhihui Zhang, http://cs.binghamton.edu/~zzhang | | Dept. of Computer Science, SUNY at Binghamton | -------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message