Age | Commit message (Collapse) | Author |
|
independent or correct as he thinks it is)
|
|
Use the function pointers sc_pio_in, sc_pio_out to call the PIO functions
for transfers in data phase so those functions may be MD implementations
that do "pseudo-DMA" if desired. Also correct some comments.
|
|
Also a example kernel demonstrating how to configure PCMCIA devices.
|
|
|
|
|
|
<grefen@convex.com> with modifications by John Kohl <jtk@kolvir.blrc.ma.us>
|
|
|
|
Use WTDBPRINT() instead of DEBUG() for driver debugging printf()s..
Fixes PR #1927, from Erik Bertelsen <erik@arhpc214.uni-c.dk>
|
|
|
|
Add the "ahe" driver, autoconfiguration support for the aic7xxx-based
Adaptec 2[78]4x SCSI controllers, from Michael Graff <explorer@flame.org>.
Fixes PR #1594 from Noriyuki Soda <soda@sra.co.jp> in a different way.
|
|
Balance calls to disk_busy() and disk_unbusy() properly to avoid
dk_busy < 0 panics. Count seeks.
|
|
|
|
|
|
New generic disk framework. Highlights:
New metrics handling. Metrics are now kept in the new `struct disk'.
Busy time is now stored as a timeval, and transfer count in bytes.
Storage for disklabels is now dynamically allocated, so that the size
of the disk structure is not machine-dependent.
Several new functions for attaching and detaching disks, and handling
metrics calculation.
Old-style instrumentation is still supported in drivers that did it
before. However, old-style instrumentation is being deprecated, and
will go away once the userland utilities are updated for the new
framework.
For usage and architectural details, see the forthcoming disk(9)
manual page.
|
|
|
|
|
|
Add support for the SMC8416 (EtherEZ) ISA ethernet card.
The 8416 has an 8K shared mem (the old driver assumed 16K
and failed at attach time).
|
|
|
|
|
|
Commit trivial changes from Mach MK84 to force sup'ables source to be updated:
Drop spurious interrupts in asc_intr(). Read back the pending SCSI command
so asc_intr() can add it to the asc SCSI log.
|
|
|
|
|
|
|
|
netbsd pr#1865. the ESP card code is always enabled -- we will have to
see if that fails on any chipsets.
|
|
|
|
|
|
|
|
fixed my own pr 1758 -- the floppy drive motor was not being turned off
at halt time, especially if a floppy was mounted. Added a shutdown hook
to turn off the motor. Per a request by mycroft, the cookie from the hook
is saved in a new member I added to the fd_softc structure.
|
|
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
|
|
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
|
|
|
|
machine-independent TurboChannel bus configuration. These files
deal with stuff like:
(1) configuring built-in devices,
(2) looking at TC slots configuring any devices found.
The lists of slots, slot locations, etc. and built-in devices
are provided by machine-dependent code. Interrupt handling
is also provided by machine-dependent code, but the MD code provides
hooks so that standard names for 'establish' and 'disestablish'
can be used in drivers.
|
|
autoconfiguration information for the TurboChannels System ("IOCTL") ASIC
found in many DECstations and all of the TC-bus Alphas. This is
provided so that the machine-independent TC if_le driver will be able
to use it.
|
|
Machine-independent TurboChannel LANCE driver. As-is, this driver
should work properly with:
(1) LANCE chips hanging off the system IOCTL asic,
(2) LANCE chips TurboChannel option boards.
Support for various PMAX-family baseboard options isn't yet in this
file, but should be easy to add.
|
|
files file to define 'tcbus' attribute, to which 'tc's attach.
also defines tc device. does _not_ define le driver, because
of conflicts with other (e.g. ISA) le drivers. (Alpha kernel
configuration files include files.isa and files.tc.)
|
|
|
|
|
|
|
|
|
|
|
|
Don't use the softc at probe time on pci devices because it has not been
allocated yet
|
|
|
|
|
|
Add support for the 3c59x (pci) cards in the 3c5x9 driver. In addition
add the necessary bits for the 3c589 (pcmcia) card without adding any
of the pcmcia framework.
Also call epstop() in the attach routine to make sure that the pci card
gets reset properly.
|
|
Make it work on little-endian monochrome buffers; per Ted.
Must change `u_long' to `u_int32_t' as Jason pointed out.
since 'long's in this code are meant to be exactly 32-bits wide, use
'int32_t's instead, so that this code is usable on the alpha.
|
|
Bring in several changes from the ccd:
* Be a bit better with prototypes
* Use struct dkdevice in vnd_softc.
* Prevent the unit from being unconfigured while open.
* Implement a simple locking mechanism and use it for sanity's
sake.
Still needs more work; needs to support disklabels and the like.
|
|
|
|
Fix a race condition where if a process is asleep waiting on an
exclusive lock of a ccd device while another process is unconfiguring
that same device, the first process would never awaken (unless interrupted).
|
|
|
|
|