summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Regenerateobrien2003-01-131-1/+3
|
* Bow to the whining masses and change a union back into void *. Retaindillon2003-01-131-4/+4
| | | | | removal of unnecessary casts and throw in some minor cleanups to see if anyone complains, just for the hell of it.
* Add code to make md(4) a GEOM device driver instead of relying inphk2003-01-121-4/+134
| | | | | | the disk mini-layer. This is currently not enabled.
* Partial support for the nVidia nForce2 chipset's on-board Broadcom/Altima PHYobrien2003-01-122-0/+4
| | | | | | | and 3com MAC. Specifications for the Altima PHY are available at: http://www.altimacom.com/products/ac101L.html Submitted by: Mikko S. Hyvarinen <morphy@morphy.iki.fi>
* Shift things around a bit in preparation for future evilness.phk2003-01-121-43/+48
|
* Make compile cleanly when USB_DEBUG is defined.imp2003-01-121-1/+2
|
* Change struct file f_data to un_data, a union of the correct structdillon2003-01-121-4/+4
| | | | | | | | | | pointer types, and remove a huge number of casts from code using it. Change struct xfile xf_data to xun_data (ABI is still compatible). If we need to add a #define for f_data and xf_data we can, but I don't think it will be necessary. There are no operational changes in this commit.
* Bail out of fd_clone() if the parsed unit number doesn't match ourjoerg2003-01-111-0/+3
| | | | | | | | | | expectation. This solves the problem, where in a constellation with two (or more) drives, an attempt is made to access a device name for that device using a historic partition letter, like /dev/fd1c. This is supposed to create a symlink to the master device, but previously, the link was always created to /dev/fd0, even if the request was for fd1*.
* Add support for the Intel 82820 UP-only AGP bridge.anholt2003-01-111-0/+4
| | | | | | PR: 41466 Submitted by: NIIMI Satoshi <sa2c@sa2c.net> MFC after: 1 week
* Change to correct card entry. RATOC REX-R280 is 10Base-T Ether Card,shiba2003-01-111-1/+1
| | | | RATOC REX-9530 is SCSI2 Card.
* Regen.shiba2003-01-111-3/+10
|
* RATOC REX-R280(10Base-T Ether Card) and REX-9530(SCSI2 Card) haveshiba2003-01-111-1/+4
| | | | same product id. So use CIS info(PCCARD_CISTPL_VERS_1).
* correct printf formatsam2003-01-111-1/+1
| | | | Noticed by: alpha tinderbox
* Reset the channel in attach if its not the console.jake2003-01-111-0/+7
|
* Major bugfixes for large memory and fast systems.scottl2003-01-114-67/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aac.c: Re-arrange the interrupt handler to optimize the common case of the adapter interrupting us because one or more commands are complete, and do a read across the pci bus to ensure that all posted status writes are flushed. This should close a race that could cause command completion interrupts to be lost. Follow the spec a bit closer when filling out command structures. Enable the Fast Response feature to eliminate the need for the card to DMA successfull command completions back into host memory. Tell the controller how much physical memory we have. Without this there was a chance that our DMA regions would collide with the memory window used by the cache on the controller. The result would be massive data corruption. This seemed to mainly affect systems with >2GB of memory. Fix a few whitespace problems. aac_debug.c: Add an extra diagnostic when printing out commands. aac_disk.c: Add extra sanity checks. aacreg.h: Prepare for making this 64-bit clean by reducing the use of enumeration types in structures. Many thanks to Justin Gibbs for helping track these down.
* When reading PHY regs over the i2c bus, the turnaround ACK bitmbr2003-01-103-3/+3
| | | | | | | | | | is read one clock edge too late. This bit is driven low by slave (as any other input data bits from slave) when the clock is LOW. The current code did read the bit after the clock was driven high again. Reviewed by: luoqi MFC after: 2 weeks
* Add preliminary support for the Hawking PN672TX CardBus cards.imp2003-01-102-0/+15
| | | | | # Preliminary because there are some subtle things the NetBSD driver does # that we don't do yet. My card works for me w/o them.
* Fix for DELL PERC firmware. Driver was hangingemoore2003-01-091-2/+16
| | | | | | | | | during load time; this attributed to the mailbox busy byte not being set prior to issuing a polling command. Approved by: ps MFC: 7 days
* Add support for the Davicom DM9009 chipset.trhodes2003-01-092-0/+4
| | | | | | PR: 46859 Submitted by: Boaz Haberman <boaz@ool-182f8b09.dyn.optonline.net> Approved by: rwatson
* Dont probe PnP devices.sos2003-01-091-0/+4
| | | | Submitted by: Takahashi Yoshihiro <nyan@FreeBSD.org>
* Fix typosos2003-01-091-1/+1
| | | | PR: 45375
* - Add error messages for bulkxfer.simokawa2003-01-092-4/+7
| | | | - Reduce register access.
* Merge from NetBSD and arrange for FreeBSD's slight differences inimp2003-01-092-817/+423
| | | | | | | | ucom. This gets my Sanyo SCP-4900 working. Approved by: joe
* Add detach, shutdown, suspend and resume methods.tmm2003-01-094-12/+142
| | | | Tested by: jake
* Split this into bus specific front end(s), so that it can be used by ppc.jake2003-01-084-279/+398
| | | | | | | | | This abstracts out all the differences I could see between the netbsd sparc64 and macppc zs drivers. In particular the offsets of the csr and data registers are different, so we use a separate bus handle for each and use bus_space_subregion to add the bus specific offsets. Requested by: benno
* Add detach, shutdown, suspend and resume methods. The latter two aretmm2003-01-083-42/+97
| | | | not really tested, but are derived from the original NetBSD version.
* Fix module dependancy name.obrien2003-01-081-1/+1
| | | | | PR: 46871 Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
* Dont attach a Promise chip located behind a i960 bridge/chip.sos2003-01-081-2/+14
| | | | | This makes it possible to run a Promise SuperTrak SX6000 with OS type set to "Other" as well as "Linux".
* Add support for the nVidia nForce2 ATA part.sos2003-01-082-10/+25
| | | | | Fix support for the nForce1 as well, registers are offset 0x10 against the AMD/VIA parts.
* Add code that works around the problem that the older Promisesos2003-01-081-11/+31
| | | | controllers (ultra/fasttrak-66/100) fails on 48bit accesses.
* Destroy the management device when detaching the driver.scottl2003-01-081-0/+3
|
* - Add acpi module binding.mdodd2003-01-081-3/+12
| | | | | - Restore speed and format settings on resume for CS423x and CS423x-PCI devices.
* Retry to get full device descriptor, this let my slow CD Tower device work.davidxu2003-01-081-1/+7
|
* Use bus_space_subregion to add offsets to bus handles instead of doingjake2003-01-082-4/+8
| | | | it manually.
* The README refers to a LICENSE file, so add that file too.pdeuskar2003-01-071-0/+29
| | | | | | BTW the license is also embedded in the source files. MFC after: 1 day
* - Fix print format for FreeBSD-4simokawa2003-01-071-3/+8
| | | | - Reduce debug message.
* Don't call fw_bus_probe() twice when successive self-id packets received.simokawa2003-01-072-2/+10
| | | | This change should stabilize SBP-II device probing.
* Put the ASIC revision into the device description string so it appearsjdp2003-01-071-1/+10
| | | | | | in the dmesg output. MFC after: 3 days
* Don't reference the maxlen and flags fields in the ring control blocksjdp2003-01-062-57/+45
| | | | | | | | | | | | | | | | | as separate 16-bit entities. Some of the ring control blocks are in NIC memory, so they must be referenced using 32-bit accesses. Smaller accesses have been observed to fail under some conditions. This caused the rings to be set up wrong, leading to writes by the card outside of the intended bounds of the rings. This problem was diagnosed by Michael Barthelow. Don Bowman submitted a patch which fixed the problem using a slightly different approach. Reference ring control blocks in NIC memory using a pointer to volatile. Parenthesize the BGE_HOSTADDR macro definition properly. MFC after: 3 days
* Convert to use bus_dmamap_load_mbuf(); decouple software TX descriptorstmm2003-01-063-216/+149
| | | | | | | from the hardware descriptors to avoid the overhead of having a DMA map for each of them. Bump the number of hardware descriptors to 128, and use half as many software descriptors for now. Some minor cleanups.
* - Convert to use bus_dmamap_load_mbuf().tmm2003-01-062-397/+155
| | | | | | - remove DPRINTF(), there is a CTR*() for any of them, and KTR is far more useful to debug this driver. - some cleanups; remove some unused code and definitions.
* fix memory allocation problems and collateral damage:sam2003-01-062-71/+112
| | | | | | | | | | | | o create a separate tag for each object allocated with bus_dmamem_alloc so the tag's maxsize is setup appropriately; this reduces memory allocation for the queue descriptors from 16M to what it should be and also fixes memory allocation for public key operands o release bus dma resources on detach so module usage doesn't leak o remove public key op disable now that bus dma memory allocation is fixed o collect attach error handling in one place Sponsored by: Vernier Networks
* Use device_printf() and s/fc->dev/fc->bdev/.simokawa2003-01-061-2/+2
|
* Fix fc->dev to fc->bdev.simokawa2003-01-061-1/+1
|
* Avoid casting pointers to int and using %x to print them.mike2003-01-051-4/+3
| | | | Noticed by: alpha tinderbox
* Reduce diff to RELENG_4.simokawa2003-01-054-3/+65
|
* Syntax fix in fwohci_pci_suspend().simokawa2003-01-051-1/+2
|
* Fix the duplicate unlock of the pcm read channel in certain cases.green2003-01-051-1/+0
| | | | Reviewed by: cg
* - Change definition of fc->maxrec same as fwdev->maxrec.simokawa2003-01-054-34/+49
| | | | | | - 'spec' and 'ver' are attributes of a unit rather than a node. - Report Phy and Link info separatelly. - Reorder intialization step in fwohci_reset().
* Sync with zs.jake2003-01-051-239/+179
| | | | | | | - Fix some bogosity with mixing unit numbers and channels, which would only work for one instance of the device. - Use a simpler scheme for input and output queueing. - Use db_alt_break.
OpenPOWER on IntegriCloud