Commit Graph
4375 Commits
Author SHA1 Message Date
Nick Hibma dc11a7034c Regen. 2001-05-17 22:10:59 +00:00
Nick Hibma 36187092e6 MFC: 1.60 2001-05-17 22:07:32 +00:00
Jonathan Lemon da08009be6 MFC; correct support for fxp with 503 SEEQ phy. 2001-05-15 18:54:16 +00:00
Jonathan Lemon 094d2eff1f MFC: r1.8; undocumented bits for support of the fxp driver. 2001-05-14 22:36:01 +00:00
Jonathan Lemon 07dbd85400 Sync to -current, apparently some things got left out in the initial commit:
o cosmetic style fixes
  o correct 82557/8255{8,9} flow control
  o VLAN support
  o consistency check for miibus
  o additinal register definitions
2001-05-14 13:20:28 +00:00
Jonathan Lemon 5bdfb3c3cd Regenerate. 2001-05-13 00:23:15 +00:00
Jonathan Lemon 6114905e5c Add Intel ids 2001-05-13 00:17:37 +00:00
Jonathan Lemon 1e2cbeb790 Bring the new fxp driver into -stable 2001-05-13 00:09:42 +00:00
cvs2svn 980ef5a617 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2001-05-13 00:03:40 +00:00
Greg Lehey 6935bb41b5 Malloc macro: get test right when VINUMDEBUG not specified.
Discovered by:	Alex Newman <[email protected]>
2001-05-11 02:11:06 +00:00
George C A Reid de7708e1e6 MFC: Get the parameters to pci_write_config the right way round 2001-05-08 01:05:19 +00:00
George C A Reid eb9fa66a58 MFC: more specific identification and bugfixes for some
cards in the initialisation stage

Approved by:	cg
2001-05-05 23:25:37 +00:00
Duncan Barclay 06637ccef2 MFC sans phk's TAILQ changes.
The driver now works on -stable again. Post 4.3-RELEASE MFCs of the
pccard code caused a minor breakage.

Submitted by:	Christian Plazas <[email protected]>
2001-04-28 20:47:55 +00:00
cvs2svn bb7963a8c8 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2001-04-26 13:33:01 +00:00
Mike Smith e939a1518c MFC: more Dell IDs.
Submitted by:	"Marty Moll" <[email protected]>
2001-04-26 01:15:55 +00:00
Mike Smith ef2416a214 MFC: support for new PERC 3/Di
Submitted by:	Chris Csanady <[email protected]>
2001-04-26 00:32:56 +00:00
Orion Hodson a3096b0923 MFC: S3 sonicvibes driver. 2001-04-23 22:58:26 +00:00
Orion Hodson 24ec211f95 MFC: Add power on to start sequence for 4.x kernels.
PR:		kern/26255
2001-04-23 22:20:36 +00:00
Archie Cobbs a4fa4067ba MFC: promiscuous mode, header additions, device config before IFF_UP. 2001-04-21 20:58:09 +00:00
Matt Jacob b10c0ab045 MFC: Add MARVELL PHY support (for Intel GigE) 2001-04-21 16:15:05 +00:00
Warner Losh 862b2ec2ac Merge some PNP ids from current. 2001-04-21 05:31:51 +00:00
Warner Losh 913b5b11d1 Kill the NetBSD based cardbus code in stable. Current's code is based on
something different and this is causing confusion.
2001-04-21 04:50:02 +00:00
Mike Smith 75ea0c0fb8 MFC: avoid divide-by-zero with devices that the adapter has not negotiated
with.

Approved by:	jkh
2001-04-21 04:09:06 +00:00
Søren Schmidt e3f9415702 MFC:
Add support the the Intel ICH2 mobile.

Approved by: jkh
2001-04-18 07:06:47 +00:00
Søren Schmidt c25b66c25d MFC:
The VIA 586 chip does UDMA from rev 0x3 onwards.

Approved by: jkh
2001-04-18 07:02:20 +00:00
cvs2svn 7b1e8f699b This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2001-04-17 14:31:57 +00:00
Greg Lehey d7fde8f51b open_drive: Recognize drives located on Mylex RAID controllers.
Reported by:	Matt Groener <[email protected]>
Approved by:	jkh
2001-04-16 05:29:54 +00:00
George C A Reid 296b3757ba Add another ID to the badcards (non-ac97) table
Approved by:	jkh
2001-04-10 15:56:45 +00:00
cvs2svn 07c847a65c This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2001-04-09 21:29:45 +00:00
Matt Jacob 0b0038cc5f MFC: Correctly initialize free_ccbq so that if we fail to attach (as is
possible for some systems where the device is there, but the BIOS
hasn't allocated memory resources for it), we don't panic.

Approved by: jkh
2001-04-09 05:43:49 +00:00
Orion Hodson 67f5de5b44 MFC sample rate fixes and 4 speaker audio for release.
Approved by:	jkh
2001-04-08 18:24:49 +00:00
Greg Lehey ff439ad3c4 struct drive:
Workaround size mismatch in struct drive on alpha platform only.
  This struct is shared between kernel and userland and contains a
  dev_t, which now refers to a completely different structure in
  userland and kernel: int the kernel, userland dev_t is called
  udev_t, and dev_t is struct specinfo *.  In practical terms, kernel
  dev_t is a pointer and userland dev_t is an int, which on the alpha
  are different sizes.

  As stated, this is a workaround.  The correct fix would be in two
  parts:

  1.  Don't define structures in the kernel with the same name and a
      different content as a userland structure.  This is a
      kernel-wide issue: kernel dev_t needs another name.

  2.  Don't export unnecessary kernel structures to userland.  This
      can be done within Vinum.  It is currently on the tuit queue.

Sleuth work by:      Normand Leclerc <[email protected]>
Tested by:	     Normand Leclerc <[email protected]>
Blanket approved by: jkh
2001-04-08 02:18:14 +00:00
Orion Hodson 612b1a1db6 MFC sample rate fixes for release.
Approved by:	jkh
2001-04-07 14:16:31 +00:00
Søren Schmidt e4f72e020c MFC:
Add ATA66 & ATA100 support for Acer chipsets.
2001-04-06 19:23:47 +00:00
Søren Schmidt 63e798b7dd MFC:
Add tunables to control DMA/WC/TAGS/ATAPI_DMA and associated
sysctl's to read settings.

Approved by: jkh
2001-04-05 17:21:54 +00:00
Greg Lehey adad77c719 vinumlock: Catch a potential race condition where one process is
waiting for a lock, and between the time it is woken and
	   it retries the lock, another process gets it and places it
	   in the first entry in the table.

	   This problem has not been observed, but it's possible, and
	   it's easy enough to fix.

Submitted by:	tegge

vinumunlock: Catch a real bug capable of hanging a system.  When
             releasing a lock, vinumunlock() called wakeup_one.  This
             caused wakeups to sometimes get lost.  After due
             consideration, we think that this is due to the fact that
             you can't guarantee that some other process is also
             waiting on the same address.  This makes wakeup_one a
             very dangerous function to use.

These changes have not yet been committed to -CURRENT.  In view of the
seriousness of the second one and the imminent 4.3-RELEASE, it seems
excusable to commit to -STABLE first.

36 hour test by:  grog
Suggested by:     alfred
Suffered by:      Andrew Gordon <[email protected]>
Approved by:      jkh
2001-04-04 06:27:11 +00:00
Greg Lehey dd51b77b8a MFC: Allocate lock table for striped plexes as well as parity plexes.
This was forgotten in the last slew of MFCs, and caused an immediate
panic when starting a striped plex.

Suffered by:	"John J. Rushford Jr" <[email protected]>
Approved by:	jkh
2001-03-30 05:41:39 +00:00
Ian Dowse f722e7b989 Clean up properly when a `vn' module is kldunloaded to avoid panics
later. We now call cdesw_remove() to unregister the device, NULL
out any pointers to the vn_softc that exist in dev_t `si_drv1'
fields, and perform a destroy_dev() corresponding to the initial
make_dev().

This is not an MFC; vn(4) is no longer in -current.

PR:		kern/18270, i386/26049
Submitted by:	[email protected], [email protected]
Reviewed by:	phk
Approved by:	jkh
2001-03-26 16:58:47 +00:00
Justin T. Gibbs 9ad2bee6a3 MFC rev 1.115. Don't allow our DMA engine to be re-enabled late in the
shutdown phase of a data transfer by the idle loop fetching
		an S/G segment.

Approved by:	jkh
2001-03-21 05:00:00 +00:00
cvs2svn ff688e9db1 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. 2001-03-20 02:10:19 +00:00
John Baldwin 050c0133d7 MFC: rev 1.14: whitespace fix. 2001-03-19 21:10:47 +00:00
Justin T. Gibbs 7ccd2814d8 MFC: Fix phase table lookup and PCI 2.1 retry bug workaround.
Approved by:	jkh
2001-03-19 15:09:26 +00:00
Cameron Grant 296959c47d MFC:
fake.c rev 1.7
feeder.c rev 1.14
sound.c rev 1.40

don't leak memory allocated for feeders at module unload
kill the fake channel when unregistering

Approved by:	jkh
2001-03-18 17:16:55 +00:00
Cameron Grant 1b85102dcc MFC: rev 1.30
destroy child devices on detach to prevent ever-increasing
numbers of pcm/midi devices trying to attach if the module
is repeatedly loaded and unloaded.

Approved by:	jkh
2001-03-18 17:09:54 +00:00
Cameron Grant 2e7f43d122 MFC: rev 1.65
fix a typo preventing the second dma channel being released
use isa_dma_release when releasing dma channels

Approved by:	jkh
2001-03-18 17:08:29 +00:00
Scott Long 4c6485b211 MFC rev 1.12. Fix a race condition in the interrupt handler that can cause
commands to become standed until another I/O happens. Allows an aac container
to be mounted as root.

Approved by:	jkh
Obtained from:	gibbs
2001-03-18 16:10:54 +00:00
Cameron Grant 59412f1720 MFC: fix a panic triggerable by anyone with read/write access to the audio
devices.  opening /dev/{dsp,dspW,audio}0 and then opening a different device
from that list and closing it resulted in a panic when any operation is
performed on the first fd.

we prevent this happening by denying the second open unless it uses the same
minor device as the first.

PR:             kern/25519
Approved by:	jkh
2001-03-14 15:18:58 +00:00
Poul-Henning Kamp c933341bea MFC: Update to latest.
Approved by:	jkh
2001-03-13 22:05:36 +00:00
Greg Lehey e8a86854a0 Catch up with -CURRENT. I've left it very late to MFC a number of
problems which are fixed in -CURRENT.  Now's still not a good time to
do it, so I'd be grateful if people would hammer on this stuff.

Approved by:   jkh
Pointy hat to: grog
2001-03-13 03:04:06 +00:00
Justin T. Gibbs f179f9ac98 Correct the check of the seeprom signature that tells us that the
termination level setting can be found in the seeprom.  The old code
could get some false positives causing the termination to be set incorrectly.
This was already in -current, but was missed in the last merge.
2001-03-12 18:46:33 +00:00