History log of /freebsd/sys/dev/fdc/fdc.c (Results 101 – 125 of 711)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 3abefc9e 14-Aug-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Remove confused comment.


# 5ceae6b8 17-Jul-2004 Yoshihiro Takahashi <nyan@FreeBSD.org>

Correct typo.


# a6e4d8c4 15-Jul-2004 Nate Lawson <njl@FreeBSD.org>

Re-work for fdc_acpi. Expose fdc_add_child() and move the static
hints-based probe to fdc_hints_probe().

Also:
* Fix some resource leaks when attach fails.
* Remove the FDC_ATTACHED flag. It was s

Re-work for fdc_acpi. Expose fdc_add_child() and move the static
hints-based probe to fdc_hints_probe().

Also:
* Fix some resource leaks when attach fails.
* Remove the FDC_ATTACHED flag. It was supposed to prevent multiple
unloads but this is not necessary.

show more ...


# 16629bd9 14-Jul-2004 Warner Losh <imp@FreeBSD.org>

Remove fdc_alloc_resources, which should have happened in last commit.


# b0c2b925 13-Jul-2004 Warner Losh <imp@FreeBSD.org>

Set fdc_dev in attach


# c3ae4c40 13-Jul-2004 Warner Losh <imp@FreeBSD.org>

Don't depend on implicit include of machine/bus.h in sys/rman.h, but instead
explicitly include it.


# 752d4735 12-Jul-2004 Nate Lawson <njl@FreeBSD.org>

Update in preparation for adding the ACPI attachment.
* Add an fdtype ivar. This will be the equivalent of fd->type.
* Move enabling the FIFO to the end of attach.
* Unify reset code into fdc_initia

Update in preparation for adding the ACPI attachment.
* Add an fdtype ivar. This will be the equivalent of fd->type.
* Move enabling the FIFO to the end of attach.
* Unify reset code into fdc_initial_reset().
* Add fdc_write_ivar().
* Update isa and pccard attachments accordingly.
* Set the flags unconditionally in probe since they may be overridden by
other probe routines. Both before and now, we're depending on probe
being called a final time on the winning driver so the flags we get are
the ones we intended.
* Use the bus accessor macros instead of defining our own.
* Remove duplicate assigns of fd->type.

show more ...


# 6d6fa4fd 08-Jul-2004 Warner Losh <imp@FreeBSD.org>

Break out the isa and pccard front ends from fdc. This is the first
step in making this driver more attachment neutral. Others plan on
adding acpi front ends.

Still need to cleanup the MI part of

Break out the isa and pccard front ends from fdc. This is the first
step in making this driver more attachment neutral. Others plan on
adding acpi front ends.

Still need to cleanup the MI part of the driver because it isn't as
bus independent as it could be.

show more ...


# de0b7a63 05-Jul-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Allocate the DMA channel shareable and only aquire it while the
device is open. This allows certain old and rather special dual
floppy controllers to work on both channels, as long as you only
have

Allocate the DMA channel shareable and only aquire it while the
device is open. This allows certain old and rather special dual
floppy controllers to work on both channels, as long as you only
have one open at a time.

show more ...


# 6fba12f2 05-Jul-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Mark our interrupt shareable and don't insist on DMA. This gets us closer
to working with a secondary floppy controller on a PC.


# 89c9c53d 16-Jun-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Do the dreaded s/dev_t/struct cdev */
Bump __FreeBSD_version accordingly.


# bc8d2181 28-May-2004 Warner Losh <imp@FreeBSD.org>

Use rman_get_start in preference to reaching into the rman structure.


Revision tags: release/4.10.0_cvs, release/4.10.0
# 734e3cc5 17-May-2004 Warner Losh <imp@FreeBSD.org>

Update to reflect new location in the tree. This has been repo copied
from sys/isa/fd.c in preparation for specialization of attachments for
different busses.


# a3a10d1c 25-Apr-2004 Bruce Evans <bde@FreeBSD.org>

Fixed breakage of the formatting operation in rev.1.266. The wrong
clause of an if-else statement was removed.

Reviewed by: no response from maintainer in 12 days


# f36cfd49 07-Apr-2004 Warner Losh <imp@FreeBSD.org>

Remove advertising clause from University of California Regent's
license, per letter dated July 22, 1999 and email from Peter Wemm,
Alan Cox and Robert Watson.

Approved by: core, peter, alc, rwatson


# 5f96beb9 17-Mar-2004 Nate Lawson <njl@FreeBSD.org>

Convert callers to the new bus_alloc_resource_any(9) API.

Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde


# db42ff97 29-Feb-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Remove unused FDNUMTOUNIT() macro


# 503799ea 25-Feb-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Make mode setting with fdcontrol(8) stick.

Recognize when configured for "auto".


Revision tags: release/5.2.1_cvs, release/5.2.1
# dc08ffec 21-Feb-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Device megapatch 4/6:

Introduce d_version field in struct cdevsw, this must always be
initialized to D_VERSION.

Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing
four D_NOGIANT fl

Device megapatch 4/6:

Introduce d_version field in struct cdevsw, this must always be
initialized to D_VERSION.

Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing
four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.

show more ...


# c9c7976f 21-Feb-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Device megapatch 1/6:

Free approx 86 major numbers with a mostly automatically generated patch.

A number of strategic drivers have been left behind by caution, and a few
because they still (ab)use

Device megapatch 1/6:

Free approx 86 major numbers with a mostly automatically generated patch.

A number of strategic drivers have been left behind by caution, and a few
because they still (ab)use their major number.

show more ...


# 64746d06 15-Feb-2004 Nate Lawson <njl@FreeBSD.org>

Workaround some ACPI BIOSen which break the IO port into multiple
resources. (Note that the correct range is 0x3f7,0x3f0-0x3f5.) Such
devices will be detected as follows:

fdc0: <Enhanced floppy

Workaround some ACPI BIOSen which break the IO port into multiple
resources. (Note that the correct range is 0x3f7,0x3f0-0x3f5.) Such
devices will be detected as follows:

fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port
0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0

To do this, we find the minimum and maximum start addresses for the
resources and use them as the base for the IO and control ports.

Help from: jhb

show more ...


Revision tags: release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0
# 04209354 23-Oct-2003 Peter Wemm <peter@FreeBSD.org>

Look at the equipment list for amd64 as well as i386 for autodetecting
floppy drives in the absence of hints.


# b52b7f46 18-Oct-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Eliminate use bio_blkno.


# a2f19df9 17-Sep-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Pick up softc from dev_t rathern than through newbus gymnastics.


# f967c4f9 17-Sep-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Since it is static these days, there is no reason to uppercase the
first letter of fdopen() to avoid nameclashing with other stuff.


12345678910>>...29