Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!swrinde!sgigate.sgi.com!atha!rover.ucs.ualberta.ca!suisse.cheese.com!root From: root@suisse.cheese.com (The Dixie Flatline) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Questions... Date: 15 Dec 1995 03:55:26 GMT Organization: University of Alberta, Edmonton, Canada Lines: 35 Message-ID: <4aqrje$dak@pulp.ucs.ualberta.ca> NNTP-Posting-Host: async10-5.remote.ualberta.ca X-Newsreader: TIN [version 1.2 PL2] Hi again all. I'm really stuck on this 32bit disk access and blocking mode flags for the kernel, and would really like some information on how to enable it. Once again, a quick rundown. I have two drives. One MSDOS-based (212MB) and one FreeBSD (850MB). They are both on primary-ide channel, with the MSDOS as master, and FreeBSD as slave. In /usr/src/sys/i386/conf/LINT it quotes: # The flags fields are used to enable the multi-sector I/O and # the 32BIT I/O modes. The flags may be used in either the controller # definition or in the individual disk definitions. The controller # definition is supported for the boot configuration stuff. # Each drive has a 16 bit flags value defined: # The low 8 bits are the maximum value for the multi-sector I/O, # where 0xff defaults to the maximum that the drive can handle. # The high bit of the 16 bit flags (0x8000) allows probing for # 32 bit transfers. And gives the example: # The flags field for the drives can be specified in the controller # specification with the low 16 bits for drive 0, and the high 16 bits # for drive 1. # e.g.: #controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0x00ff8004 vect$ # # specifies that drive 0 will be allowed to probe for 32 bit transfers and # a maximum multi-sector transfer of 4 sectors, and drive 1 will not be # allowed to probe for 32 bit transfers, but will allow multi-sector # transfers up to the maximum that the drive supports. But I really can't make heads or tails out of this. I'd like both drives to have 32bit access enabled w/blocking mode autodetected (both drives are Western Digital Caviar's). I'd really appriate any reply.