<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/usr.sbin/fdcontrol, branch stable/6</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F6</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F6'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2007-03-12T21:41:01Z</updated>
<entry>
<title>Merge Peter's fix from rev 1.14 back to RELENG_6.  This line of code</title>
<updated>2007-03-12T21:41:01Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>2007-03-12T21:41:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=01507857a2745f2f9fb08b2e6cc2af4751e430f0'/>
<id>urn:sha1:01507857a2745f2f9fb08b2e6cc2af4751e430f0</id>
<content type='text'>
appears to have been accidentally committed in rev 1.11, and was never
meant to go into any official code.
</content>
</entry>
<entry>
<title>MFC: Force the use of the tbl(1) preprocessor.</title>
<updated>2006-10-29T14:12:49Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2006-10-29T14:12:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=85cd5d35b6ac5263bbb5139696f5fb5c9223bb87'/>
<id>urn:sha1:85cd5d35b6ac5263bbb5139696f5fb5c9223bb87</id>
<content type='text'>
Approved by:	re (blanket)
</content>
</entry>
<entry>
<title>Cleanup usr.sbin/fd* so they can compile under WARNS=6.</title>
<updated>2005-01-08T15:46:06Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2005-01-08T15:46:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4c1f1c62ca07a2fa300a24cb4700980773156eb2'/>
<id>urn:sha1:4c1f1c62ca07a2fa300a24cb4700980773156eb2</id>
<content type='text'>
fdcontrol/fdcontrol.c:
	- Add const constraint to an intermediate value
	  which is not supposed to be changed elsewhere.
fdread/fdread.c:
	- Use _devname in favor of devname to avoid name
	  conflicit.
	- -1 is less than any positive number so in order
	  to get the block to function, we should get the
	  block a little earlier.
	- Cast to remove signed when we are sure that a
	  return value is positive, or is compared with
	  an positive number (tracknumber of a floppy
	  disk is not likely to have UINT_MAX/2 anyway)
fdread/fdutil.c:
	- Use more specific initializer
fdwrite/fdwrite.c:
	- Use static on format_track since it's not
	  referenced in other places.
	- Use const char* to represent string constant.

Bump WARNS accordingly.
</content>
</entry>
<entry>
<title>Follow style.Makefile(5):</title>
<updated>2005-01-08T15:15:42Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2005-01-08T15:15:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e152198a83e2ec2740914a5f08d883808a4d4a2b'/>
<id>urn:sha1:e152198a83e2ec2740914a5f08d883808a4d4a2b</id>
<content type='text'>
	WARNS comes before CFLAGS

This reduces diff against my local branch.
</content>
</entry>
<entry>
<title>Rewrite of the floppy driver to make it MPsafe &amp; GEOM friendly:</title>
<updated>2004-08-20T15:14:25Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-08-20T15:14:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1b67be7b750ed0f074d730bf1164a82fe1bcf83b'/>
<id>urn:sha1:1b67be7b750ed0f074d730bf1164a82fe1bcf83b</id>
<content type='text'>
	Centralize the fdctl_wr() function by adding the offset in
	the resource to the softc structure.

	Bugfix: Read the drive-change signal from the correct place:
	same place as the ctl register.

	Remove the cdevsw{} related code and implement a GEOM class.

	Ditch the state-engine and park a thread on each controller
	to service the queue.

	Make the interrupt FAST &amp; MPSAFE since it is just a simple
	wakeup(9) call.

	Rely on a per controller mutex to protect the bioqueues.
	Grab GEOMs topology lock when we have to and Giant when
	ISADMA needs it.  Since all access to the hardware is
	isolated in the per controller thread, the rest of the
	driver is lock &amp; Giant free.

	Create a per-drive queue where requests are parked while
	the motor spins up.  When the motor is running the requests
	are purged to the per controller queue.  This allows
	requests to other drives to be serviced during spin-up.

	Only setup the motor-off timeout when we finish the last
	request on the queue and cancel it when a new request
	arrives.  This fixes the bug in the old code where the motor
	turned off while we were still retrying a request.

	Make the "drive-change" work reliably.  Probe the drive on
	first opens.  Probe with a recal and a seek to cyl=1 to
	reset the drive change line and check again to see if we
	have a media.

	When we see the media disappear we destroy the geom provider,
	create a new one, and flag that autodetection should happen
	next time we see a media (unless a specific format is configured).

	Add sysctl tunables for a lot of drive related parameters.
	If you spend a lot of time waiting for floppies you can
	grab the i82078 pdf from Intels web-page and try tuning
	these.

	Add sysctl debug.fdc.debugflags which will enable various
	kinds of debugging printfs.

	Add central definitions of our well known floppy formats.

	Simplify datastructures for autoselection of format and
	call the code at the right times.

	Bugfix: Remove at least one piece of code which would have
	made 2.88M floppies not work.

	Use implied seeks on enhanced controllers.

	Use multisector transfers on all controllers.  Increase
	ISADMA bounce buffers accordingly.

	Fall back to single sector when retrying.  Reset retry count
	on every successful transaction.

	Sort functions in a more sensible order and generally tidy
	up a fair bit here and there.

	Assorted related fixes and adjustments in userland utilities.

WORKAROUNDS:
	Do allow r/w opens of r/o media but refuse actual write
	operations.  This is necessary until the p4::phk_bufwork
	branch gets integrated (This problem relates to remounting
	not reopening devices, see sys/*/*/${fs}_vfsops.c for details).

	Keep PC98's private copy of the old floppy driver compiling
	and presumably working (see below).

TODO (planned)

	Move probing of drives until after interrupts/timeouts work
	(like for ATA/SCSI drives).

TODO (unplanned)

	This driver should be made to work on PC98 as well.

	Test on YE-DATA PCMCIA floppy drive.

	Fix 2.88M media.

This is a MT5 candidate (depends on the bioq_takefirst() addition).
</content>
</entry>
<entry>
<title>Mechanically kill hard sentence breaks.</title>
<updated>2004-07-02T23:13:00Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-07-02T23:13:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=07bfccd71e05867cb46c11ea07ec0027794972b3'/>
<id>urn:sha1:07bfccd71e05867cb46c11ea07ec0027794972b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed warnings (missing .Ed call).</title>
<updated>2004-06-04T19:24:57Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-06-04T19:24:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b4721d9484ac90141e81edd516a32d953727cf55'/>
<id>urn:sha1:b4721d9484ac90141e81edd516a32d953727cf55</id>
<content type='text'>
Fixed grammar (missing punctuation).
Fixed screwup with the SEE ALSO section.
</content>
</entry>
<entry>
<title>Add PC98 supports.</title>
<updated>2004-03-28T13:42:27Z</updated>
<author>
<name>Yoshihiro Takahashi</name>
<email>nyan@FreeBSD.org</email>
</author>
<published>2004-03-28T13:42:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1a06a03cb8ff7d8bd8a2d64f83af42d81cf730b3'/>
<id>urn:sha1:1a06a03cb8ff7d8bd8a2d64f83af42d81cf730b3</id>
<content type='text'>
Submitted by:	Watanabe Kazuhiro &lt;CQG00620@nifty.ne.jp&gt; (mostly)
</content>
</entry>
<entry>
<title>Backed out previous commit (bogus addition of -static to CFLAGS).</title>
<updated>2004-02-26T06:33:18Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>2004-02-26T06:33:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=487fc28686e46780cb0c835c170cd668fb5010df'/>
<id>urn:sha1:487fc28686e46780cb0c835c170cd668fb5010df</id>
<content type='text'>
Sorted macros (in build order).
</content>
</entry>
<entry>
<title>Update manual page.</title>
<updated>2004-02-25T13:55:56Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-02-25T13:55:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3531b6f13a84ad7e5a1d357250092ee117438f63'/>
<id>urn:sha1:3531b6f13a84ad7e5a1d357250092ee117438f63</id>
<content type='text'>
Give 8" example for the heck of it.
</content>
</entry>
</feed>
