From owner-freebsd-current Wed Aug 6 04:37:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA17868 for current-outgoing; Wed, 6 Aug 1997 04:37:34 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA17862 for ; Wed, 6 Aug 1997 04:37:31 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id VAA15302; Wed, 6 Aug 1997 21:30:42 +1000 Date: Wed, 6 Aug 1997 21:30:42 +1000 From: Bruce Evans Message-Id: <199708061130.VAA15302@godzilla.zeta.org.au> To: msmith@atrad.adelaide.edu.au Subject: Re: canonical issue wrt DMA & wd/wdc Cc: current@FreeBSD.ORG, ggm@connect.com.au Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> > 2) flags 0x80ff80ff blows up in config on wdc but works on wd instances >> >> This is nonsense; you can't put flags on 'wd' instances, and it works >> fine on 'wdc' (the only place you _can_ put it). > >Yeep. Re: later messages on this thread, 'disk' is a subclass of >'device', so of course you can put flags on them. The driver ORs the flags together (the low 16 bits of the disk flags with the relevant 16 bits of the controller flags). This seems to be a hack to let the flags be configured by userconfig. Userconfig neither sets nor displays the disk flags, so you should never set them if you ever use userconfig, since the unseen flags are at best confusing. Bruce