summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* If this is going to have checks for kernel versions, it might as wellpeter1998-11-062-15/+29
| | | | do it so that it works. This code should run on 2.2.x now.
* Remove machine/cputypes.h - it's an i386 only thingpeter1998-11-061-2/+1
|
* iicbus probe and attach deferred until root_bus_configure() call.nsouch1998-11-041-5/+1
|
* Properly reset parent to get interface addr.nsouch1998-11-041-3/+3
|
* Remove an error message from sb interrupt driver -- itluigi1998-11-044-32/+0
| | | | does not apply to all situations.
* Simple update to make these work as kld and preload modules.peter1998-11-046-84/+34
|
* In the cyrix Cx5530, there are null (empty) Base address registers before thejulian1998-11-031-17/+25
| | | | | | | | base register that controls Ultra-DMA, so we need to examine all possible base registers instead of just giving up at the first empty one. Also, looking at the source code to the BIOS, I see that they are also checking for 0xffffffff as an invalid value so do the same. Stefan may like to clean this up, but at least now I can find my PCI IDE registers.
* Remove some dead code and commentsgrog1998-11-031-10/+8
|
* Print a warning if we removed a junked drivegrog1998-11-031-1/+7
| | | | Take a drive down if it's not open
* Take drive down if the disk driver tells us it's not theregrog1998-11-031-1/+5
|
* Check for duplicate subdisk namesgrog1998-11-031-9/+9
|
* Don't update the screen while the cursor shape is being changedyokota1998-11-031-1/+5
| | | | | by the user-land program. PR: i386/8344
* Change some numeric #defines to enumsgrog1998-11-021-12/+11
|
* Don't close drives when called from interrupt context, set a flag forgrog1998-11-021-23/+63
| | | | | | | | | | | | the top half to do it. Put in a dubious check for subdisk integrity when trying to bring up a plex where others are already up. This particular kludge is crying out for a rewrite of the whole state code. Add code to set_plex_state and set_volume_state to defer updates when called from an interrupt context. This doesn't happen yet, but it could do.
* Get the default revive blocksize right for striped and RAID-5 plexesgrog1998-11-021-3/+4
|
* Close any drives downed in an interrupt context.grog1998-11-021-5/+24
| | | | | | Ensure correct order of requests. Call launch_requests at splhigh to see if this stops the mysterious SMP panics
* Accept incorrect device open counts, but print a warninggrog1998-11-021-2/+17
| | | | Don't save invalid drive config information, remove the drive
* Check for maximum number of subdisks in a plexgrog1998-11-021-1/+11
| | | | Get object counts right when removing
* Ported to OpenBSD. sys/pci/smc83c170.h renamed to sys/pci/if_txvar.h to besemenu1998-11-013-513/+1669
| | | | like others.
* Trivial stylish changes, mostly to silence gcc.phk1998-10-3122-102/+102
| | | | | Reviewed by: Mike Spengler <mks@networkcs.com> Submitted by: phk
* Fixup prototypes so that this beastie compiles.peter1998-10-311-4/+4
|
* New callback mechanism to allow iicbus bus allocation when requestingnsouch1998-10-314-32/+79
| | | | smbus over iicsmb(4).
* pcf.c: timeout management addednsouch1998-10-313-147/+309
| | | | ppc.c: nsc code improved. Actually, a complete rewrite.
* lpbb is the official Philips parallel I2C interface. lpbb.c contains onlynsouch1998-10-312-7/+340
| | | | | | basic i/o functions, bit-banging mechanism is implemented by dev/iicbus/iicbb.c immio.c: some bootverbose logs to watch zip+ connect/disconnect process
* iicbb is generic support for I2C bit-banging.nsouch1998-10-3110-120/+665
| | | | Other files: timeout management added to the I2C framework.
* Brooktree driver ported to the new I2C framework. See iicbus(4) for more info.nsouch1998-10-314-19/+538
|
* Fix a typo, and remove verbose error reporting when inluigi1998-10-301-2/+4
| | | | | promisc mode (they are annoying in normal mode as well so i am really tempted to remove them unconditionally...)
* Do not disable the ISA compatibility window if it is the same value asgibbs1998-10-303-10/+22
| | | | that set for our PCI IO address space. This can happen on the BT-946.
* Correct the reporting of the queue full condition so that the XPT layergibbs1998-10-292-6/+13
| | | | | | | can properly throttle tags. Add diagnostic printfs for firmware result codes that we encounter but don't know anything about.
* Don't complain about SIOCGIFMEDIA; it's harmless and not somethingmsmith1998-10-241-1/+8
| | | | | | useful here yet. Submitted by: markm and others
* Move the kld stuff to here.peter1998-10-231-4/+38
|
* Initialize isa_devtab entries for interrupt handlers in individualbde1998-10-2221-41/+88
| | | | | | | device drivers, not in ioconf.c. Use a different hack in isa_device.h so that a new config(8) is not required yet. pc98 parts approved by: kato
* Defer rundown (m_freem) of completed transmit buffers for no longerdg1998-10-221-1/+22
| | | | than 1 second.
* config.c:grog1998-10-2111-56/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config_drive: Catch an instance of anonymous drives. Doubtless many remain. interrupt.c: complete_rqe: Call logrq to log iodone events if DEBUG_LASTREQS is set. Call set_sd_state with setstate_noupdate to avoid buffered I/O out of interrupt context. Use define DEBUG_RESID instead of constant. memory.c: Remove dead expandrq() function Malloc: Remove directory component of file names in malloc table. Add function vinum_rqinfo (part of the request tracing stuff). request.c: Add function logrq (part of the request tracing stuff). vinumstrategy: Check whether config needs to be written to disk, do it if so. This is a stopgap until the Vinum daemon (bacchusd? oenologistd?) is written. If DEBUG_LASTREQS is set, call logrq to log user buffer headers. launch_requests: Correct format of debug output to console. If DEBUG_LASTREQS is set, call logrq to log request elements. request.h: Add definitions for request trace. state.c: set_sd_state: Check flags for setstate_noupdate. If set, don't write the config to disk, just set global VF_DIRTYCONFIG flag. This is part of the kludge to avoid writing config from an interrupt context. vinumext.h: Add declaration for vinum_rqinfo, put inside #ifdef DEBUG Remove dead macro expandrq vinumio.h: Increase maximum ioctl reply length to 4 kB if DEBUG is set. Define VINUM_RQINFO ioctl if DEBUG is set. vinumioctl.c: vinumioctl: Change implementation of VINUM_DEBUG ioctl: use a debug flag (DEBUG_REMOTEGDB) to decide whether to go into remote debugging or not. Implement VINUM_RQINFO. vinumkw.h: Define kw_info even when not debugging. vinumvar.h: Define VF_DIRTYCONFIG Add pointers to request info to vinum_info if DEBUG is set. Define setstate_noupdate Define additional debug bits DEBUG_RESID, DEBUG_LASTREQS and DEBUG_REMOTEGDB.
* Add a missing ++.phk1998-10-181-3/+3
| | | | | Noticed by: gcc via phk Submitted by: Mike Spengler <mks@networkcs.com>
* -Wunused cleanup.gibbs1998-10-151-18/+26
| | | | | | | | Correct a problem where an external bus reset on the 'background' channel of a Twin Channel EISA controller could put the driver into an infinite loop. Noticed by: Twin Channel bug, Joerg Wunsch <joerg@FreeBSD.org> Submitted by: -Wunused, Poul-Henning Kamp <phk@freebsd.org>
* -Wunused cleanup.gibbs1998-10-152-20/+5
| | | | | | | Fixed bug in advansys.c where we did not properly clean up ccb_info data structures in softc teardown. Submitted by: Poul-Henning Kamp <phk@freebsd.org>
* -Wunused cleanup.gibbs1998-10-154-19/+8
| | | | Submitted by: Poul-Henning Kamp <phk@freebsd.org>
* Honor CAM_TAG_ACTION_NONE.gibbs1998-10-153-6/+9
|
* Reduce the number of ccbs to 16, per the aha documentation. Moveimp1998-10-151-3/+3
| | | | | | | | bogus comment to proper place. This should fix the hangs people are seeing under very heavy load, at least it does for me. Please let me know if you continue to have problems.
* Bring back support for honoring the primary channel setting for twin channelgibbs1998-10-152-48/+89
| | | | | | | EISA adapters. This could have caused the system to find the wrong root disk. Reviewed by: J Wunsch <j@ida.interface-business.de>
* Andrew Gallatin reported some internal queue overflows with MAXISPREQUESTmjacob1998-10-141-1/+1
| | | | | at 256. So- to be safe, let's roll back to 64 while we do some more investigating.
* Revert part of previous commit. vaddr_t doesn't exist on FreeBSD. Thispeter1998-10-142-6/+6
| | | | | didn't affect the x86 kernel due to #ifdefs. It broke FreeBSD/Alpha kernel compiles though.
* Update from NetBSD if_de.c 1.72 to 1.80. This is mostly bugfixes, andpeter1998-10-132-57/+91
| | | | | | | looks like it will have most effect on decoding device capabilities and configuration. Approved by: jkh
* Fix breakage introduced by last patch. bde has added CC_QUIET flag toimp1998-10-123-73/+11
| | | | | | | | hasseen_isadev so this will be less noisy when conflicts do exist. Also eliminate redundant warnings about conflicts. Requested by: bde Reviewed by: gibbs
* Clear out transmit descriptor memory in fxp_attach when it's malloced.dg1998-10-111-1/+2
| | | | | | | fxp_stop is called as the first thing in fxp_init, and if the tx desc list has junk in it, the system may panic. This bug showed up as a side effect of the changes in rev 1.56, but has been in the code since the beginning.
* Fixed mbuf leak in fxp_stop().dg1998-10-101-5/+9
|
* Attempt to work around the page fault in tulip_txput(). I've been runningpeter1998-10-101-2/+2
| | | | | | | | | this myself for ages, but wasn't able to get any feedback from the people that I sent it to for testing. Guy Helmer <ghelmer@scl.ameslab.gov> has given it a shot (before getting on a plane, thanks!) and it appears to stop his reproducable page fault panic in the testing he was able to do.
* Fix conficts in probe:imp1998-10-103-3/+77
| | | | | | | | | | o For bt and aha only probe the one I/O range if a specific I/O is specified in the config file. o Don't even try to probe I/O ranges that have been seen already. o If we conflict with an IRQ or DRQ, then fail the probe. Requested by: bde, gibbs Approved by: jkh
* Call dpt_intr from our timeout routine to clear any pending commands beforegibbs1998-10-091-3/+11
| | | | | | | | performing actual timeout processing. Modify a few printf statements. Submitted by: Simon Shapiro <shimon@simon-shapiro.org>
OpenPOWER on IntegriCloud