summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* new wi driver that uses the 802.11 link layer codesam2003-01-156-2680/+2348
| | | | | Reviewed by: imp Obtained from: NetBSD (originally)
* DV_PAL shouldn't be here.simokawa2003-01-151-2/+0
|
* Add DV_PAL for PAL users.simokawa2003-01-153-7/+14
|
* Fix IT DMA underun while bus reset.simokawa2003-01-152-29/+30
| | | | - Reduce number of DELAY's
* - GC a few more hand-rolled 'abs' macros.mdodd2003-01-152-17/+7
| | | | - GC a few hand-rolled min()/max() macros while I'm here.
* - Add inline functions for {ll,l,}abs() to libkern.mdodd2003-01-151-11/+0
| | | | - Remove hand rolled abs() functions.
* Suspend/resume support (mostly for MiniPCI Prism2.5 boards).mdodd2003-01-143-2/+36
| | | | Reviewed by: imp
* Some USB devices are not prepared to deal with a single byte stringjoe2003-01-141-2/+8
| | | | | | | | | | | descriptor request, which usbd_get_string_desc() uses to get the length of a descriptor. One device for instance returns a full 8 byte long packet instead which confuses the rest of the stack and leads to the USB port being reset. The fix is to instead request two bytes, but not to complain if we only get one. Submitted by: kan MFC after: 3 days
* For the cpu throttling message, s/enabled/availablenjl2003-01-141-1/+2
| | | | Requested by: many
* Remove bogus locking from dc(4). Instead, move interrupt allocationnjl2003-01-141-42/+34
| | | | | | | | and ether_ifattach() to end. This fixes a "could sleep" case and simplifies error exit cases as well. Also be sure to set errno and clean up resources in !mac error case. Tested by: Ryan Beasley
* Don't call destroy_dev it a channel has children.cognet2003-01-141-1/+1
| | | | | | | | | | vchan creation doesn't lead to /dev entry creation if the new vchan is the first child of a channel, This fix a panic that happens when loading a sound driver module, creating vchans and unloading the driver. Approved by: cg MFC after: 3 days
* Make the base pcib_route_interrupt method available to other pci-pci bridgebenno2003-01-142-2/+2
| | | | | | | | | sub-classes. This allows the powerpc kernel to build again. Forgotten by: benno Spotted by: grehan
* Fix for FreeBSD-4.simokawa2003-01-141-15/+4
| | | | - Protect whole fw_tbuf_update() with splfw().
* Since reseting the SCSI busses via the passthrough interface usuallyscottl2003-01-131-7/+12
| | | | | | | | | confuses the controller, tell CAM not to do it. Also report the correct error condition to CAM when it tries to probe a target that doesn't exists. This should make the CAM interface less risky to use. MFC After: 3 days
* OK Ok, so I didn't check the NO_GEOM case for the final version...phk2003-01-131-3/+3
| | | | Stumbled on by: bde
* Add Realtek ALC650 id.orion2003-01-131-0/+1
| | | | | Submitted by: "Mikko S. Hyvarinen" <morphy@morphy.iki.fi> MFC after: 5 days
* Add nForce2 device id.orion2003-01-131-0/+4
| | | | | Submitted by: "Mikko S. Hyvarinen" <morphy@morphy.iki.fi> MFC after: 5 days
* Enable the new h0h0magic code which on GEOM kernels make the md(4)phk2003-01-131-3/+0
| | | | driver a _real_ GEOM driver.
* Minimal fix for DV part.simokawa2003-01-134-32/+84
| | | | | | | | | - Don't panic on contigmalloc failure. - Calculate timestamp by feedforward rather than feedback which depends on unreliable interrupt timing. - Overwrite timestamp in CIP header correctly. - Add debug code for timestamp synchronization. - Add comments.
* Merge big endian and little endian case.simokawa2003-01-131-35/+42
| | | | Fill fdf bit fields and others.
* Add a mutex around the per unit bioqueue.phk2003-01-131-12/+28
| | | | | | | | Only grab giant in the per unit kthread for SWAP and VNODE backed devices. Initialize the bioq before the kthread gets a chance to study it. Don't lock Giant in mddone_swap, we shouldn't need it.
* Remove the printf which announces the creation of malloc disks: it isphk2003-01-131-1/+0
| | | | | | | | inconsistent when we do not do it for swap or vnode. We still printf for preloaded disks because of the weak debugging options people have in embedded/tiny environments where this is usually used.
* 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".
OpenPOWER on IntegriCloud