Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2004 17:45:52 +1000
From:      John Birrell <jb@cimlogic.com.au>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        John Birrell <jb@cimlogic.com.au>
Subject:   Re: cvs commit: src/sys/dev/fdc fdc_isa.c
Message-ID:  <20040929074552.GA909@freebsd3.cimlogic.com.au>
In-Reply-To: <19029.1096442238@critter.freebsd.dk>
References:  <20040929070455.GB905@freebsd3.cimlogic.com.au> <19029.1096442238@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 29, 2004 at 09:17:18AM +0200, Poul-Henning Kamp wrote:
> +
> +       printf("Contents of fdc_data at start of fdc_attach:\n");
> +       printf("  portt=0x%0x   porth=0x%0x   stst=0x%0x   stsh=0x%0x\n",
> +           fdc->portt, fdc->porth, fdc->stst, fdc->stsh);
> +       printf("  ctlt=0x%0x    ctlh=0x%0x\n", fdc->ctlt, fdc->ctlh);
> +       printf("  port_off=0x%0x    ctl_off=0x%0x    sts_off=0x%0x\n",
> +           fdc->port_off, fdc->ctl_off, fdc->sts_off);
> +

fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
Contents of fdc_data at start of fdc_attach:
  portt=0x0   porth=0x3f0   stst=0x0   stsh=0x3f0
  ctlt=0x0    ctlh=0x3f7
  port_off=0x0    ctl_off=0x0    sts_off=0x0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0

-- 
John Birrell



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040929074552.GA909>