*BSD News Article 69810


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!bofh.dot!hookup!lll-winken.llnl.gov!venus.sun.com!olivea!quack!quack.kfu.com!nsayer
From: nsayer@quack.kfu.com (Nick Sayer)
Subject: Small bug in pccardd (pccard-test-960508)
Message-ID: <np5F0#h@quack.kfu.com>
Sender: news@quack.kfu.com (0000-News(0000))
Organization: The Duck Pond public unix, +1 408 249 9630, log in as guest.
Date: Fri, 31 May 1996 04:47:02 UTC
Lines: 17

Line 980 of carrdd.c reads

bit_nset(mem_avail, sp->mem.addr, sp->mem.addr + sp ->mem.size - 1);

It should read

bit_nset(mem_avail, MEM2BIT(sp->mem.addr), MEM2BIT(sp->mem.addr + sp
->mem.size - 1));

pccardd coredumps when you remove an ed0 ethernet card with shared
memory if you don't do this.

-- 
Nick Sayer <nsayer@quack.kfu.com>  | "Du mußt amboß oder hammer sein."
N6QQQ @ N0ARY.#NORCAL.CA.USA.NOAM  | ("You must be anvil or hammer.")
+1 408 249 9630, log in as 'guest' | 
URL: http://www.kfu.com/~nsayer/   | 	-- Goethe