cvs commit: src/sys/dev/fdc fdc_isa.c

John Birrell jb at cimlogic.com.au
Wed Sep 29 00:45:54 PDT 2004


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


More information about the cvs-src mailing list