Re: No more floppy drive

From: Nate Lawson (nate_at_root.org)
Date: 08/26/04

  • Next message: Greg 'groggy' Lehey: "Re: What's the status of vinum?"
    Date: Wed, 25 Aug 2004 16:28:07 -0700
    To: "M. Warner Losh" <imp@bsdimp.com>
    
    

    M. Warner Losh wrote:
    > In message: <412D12D4.1000401@root.org>
    > Nate Lawson <nate@root.org> writes:
    > : There are only two ways currently to find fd0 on ISA systems: ACPI _FDE
    > : probing and hints. The acpi probe automatically falls back to the hints
    > : system if _FDE fails so you should leave the hint.fd.0 lines in but
    > : comment out hint.fdc lines (as you've done).
    >
    > I think this is a bad idea, but may be what we have to do for 5.3. We
    > can find out what drives are on the system by asking the rtc() if
    > there's no _FDE, which is what the old, pre-acpi code did (which is
    > why people are seeing their drives disappear now).

    This is incorrect. The acpi commits did not remove any rtc probe; there
    never was one. There were only two commits by me to fdc.c so check them
    out to see what I mean. All I did was move the existing hints probe
    into its own function, fdc_hints_probe(). The easiest way to see how
    fdX gets probed is to look for callers to fdc_add_child(). They are
    fdc_acpi_probe_children() and fdc_hints_probe(). The latter is called
    by the ISA attachment or the ACPI attachment if the _FDE method is not
    present. (BTW, it seems the pccard attachment doesn't probe this way?)

    -- 
    Nate
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Greg 'groggy' Lehey: "Re: What's the status of vinum?"

    Relevant Pages

    • Re: No more floppy drive
      ... The acpi probe automatically falls back to the hints ... The pccard attachment knows there must be a fd. ...
      (freebsd-current)
    • Re: New-bus unit wiring via hints..
      ... and you have the default sio hints in your /boot/device.hints ... my hints will be wrong and ACPI will be right. ... bus proper and stop tying apci to the isa bus. ...
      (freebsd-current)
    • Re: New-bus unit wiring via hints..
      ... Using hints for embedded busses is really just a hack. ... you either use ACPI or not. ... I see ACPI as a way to enumerate devices on "dumb" busses. ...
      (freebsd-current)
    • Re: New-bus unit wiring via hints..
      ... PNPBIOS to enumerate ISA devices. ... ACPI that enumerates devices on the LPC bus though. ... just don't include hints for sio0 on ia64. ...
      (freebsd-current)
    • Re: acpi and sound
      ... witout acpi pccard does not work properly so disabling acpi is no ... finally today i looked into the handbook again and tried some hints ... If you have a non-PnP ISA sound card ... sbc and pcm. ...
      (freebsd-current)