phk
38e4267af0
Polish error handling with biofinish().
2001-05-08 09:10:27 +00:00
phk
d084607047
Polish error handling code using biofinish()
2001-05-08 09:09:32 +00:00
brian
b824fbe47c
Remove all the mutex stuff - suggested by jhb
...
Tidy up includes, credit Slawa Olhovchenkov, John Prince and Eric Hernes
for their efforts and add a couple of missing parenthesis around return
expressions.
2001-05-08 07:55:33 +00:00
brian
11b8508fbe
sys/mutex.h requires sys/lock.h for LINT
...
Re-spotted by: phk
2001-05-07 23:52:08 +00:00
msmith
070fb85396
Minor updates:
...
- Rework of twe_report_request to use the command status value rather
than the flags register. (Joel Jacobson @ 3ware)
- Update to match some changes in -current vs. stable.
MFC in: 1 week
2001-05-07 21:46:44 +00:00
dmlb
1de4ae7609
Remove if_ray_oldcard.h because pccard support multiple windows now.
...
Setup attribute memory resource in ray_probe so that it is added to
the print out of the resource list on card insertion.
2001-05-07 13:11:08 +00:00
brian
b4e77391c3
Change COM_LOCK/COM_UNLOCK to a regular mutex - still conditional on
...
SMP being defined.
2001-05-07 11:13:11 +00:00
phk
d95099399d
Make the disk mini-layer check for and handle zero-length transfers
...
instead of the underlying drivers.
2001-05-06 21:55:22 +00:00
brian
a1f1a879b5
Make LINT compile again.
...
Spotted by: phk
2001-05-06 21:03:37 +00:00
phk
16caeec9b0
Actually biofinish(struct bio *, struct devstat *, int error) is more general
...
than the bioerror().
Most of this patch is generated by scripts.
2001-05-06 20:00:03 +00:00
phk
9990d6ce2e
Fix a panic if MD devices were left half-created.
...
XXX: the real bug is that devstat isn't part of the disk minilayer.
PR: 27158
Submitted by: Anders Nordby <anders@fix.no>
2001-05-06 17:17:23 +00:00
nyan
5b903302b7
Restore I/O port resources to the condition before adv_isa_probe() is
...
called.
Submitted by: yokota
2001-05-06 09:28:18 +00:00
nyan
23a760aeb0
Use correct resource id for bus_release_resource().
2001-05-06 08:33:29 +00:00
nyan
126876312e
Move unused functions into #if 0 ... #endif.
2001-05-06 08:07:10 +00:00
cg
b696243291
this file has been unused for some time now
2001-05-05 05:32:22 +00:00
brian
db1670b796
Only define DEBUG if it's undefined. This should eventually go, but
...
can stay for now in case of problems.
2001-05-02 01:47:34 +00:00
brian
d56c2badd6
Add a ``digi'' driver.
...
This driver supports PCI Xr-based and ISA Xem Digiboard cards.
dgm will go away soon if there are no problems reported. For now,
configuring dgm into your kernel warns that you should be using
digi. This driver is probably close to supporting Xi, Xe and Xeve
cards, but I wouldn't expect them to work properly (hardware
donations welcome).
The digi_* pseudo-drivers are not drivers themselves but contain
the BIOS and FEP/OS binaries for various digiboard cards and are
auto-loaded and auto-unloaded by the digi driver at initialisation
time. They *may* be configured into the kernel, but waste a lot
of space if they are. They're intended to be left as modules.
The digictl program is (mainly) used to re-initialise cards that
have external port modules attached such as the PC/Xem.
2001-05-02 01:08:09 +00:00
markm
bcca5847d5
Undo part of the tangle of having sys/lock.h and sys/mutex.h included in
...
other "system" header files.
Also help the deprecation of lockmgr.h by making it a sub-include of
sys/lock.h and removing sys/lockmgr.h form kernel .c files.
Sort sys/*.h includes where possible in affected files.
OK'ed by: bde (with reservations)
2001-05-01 08:13:21 +00:00
n_hibma
2cb445f326
Regen.
2001-04-30 17:38:57 +00:00
n_hibma
bd4a1affc5
Add 4300C Id
...
Submitted by: Ernst de Haan <ernst@heinz.jollem.com>
2001-04-30 17:37:11 +00:00
cg
92d7ad4004
don't unlock the channel in chn_read, msleep will do it for us.
...
PR: kern/26430
2001-04-29 02:31:02 +00:00
cg
1021a9005e
be more specific in identifying the chip type
2001-04-27 22:26:36 +00:00
sos
036e63f67b
Move the disklabel construction to the attach function instead of
...
in open. This prevent panics when a the disklabel is accessed on
an ATA-RAID subdisk.
2001-04-27 19:47:33 +00:00
wpaul
5bf6685581
Fix the definitions for memory bank sizes, which I somehow got wrong.
...
The constant I was using was correct, but I mislabeled it as 256K when
it should have been 512K. This doesn't actually change the code, but
it clarifies things somewhat.
Submitted by: Chuck Cranor <chuck@research.att.com>
2001-04-26 16:40:45 +00:00
msmith
8ff8ec9afa
More new Dell PCI IDs.
...
Submitted by: "Marty Moll" <martym@arbor.edu>
2001-04-26 01:14:37 +00:00
msmith
fff873d9fc
The PERC 3/Di in the Dell PowerEdge 2250 has a new subdevice ID.
...
Submitted by: Chris Csanady <cc@ameslab.gov>
2001-04-26 00:32:02 +00:00
cg
b92d41b0e9
get the parameters to pci_write_config the right way round. this may fix
...
some non-functional cards/machines
2001-04-24 22:35:11 +00:00
jhb
9c03a8ae91
Change the pfind() and zpfind() functions to lock the process that they
...
find before releasing the allproc lock and returning.
Reviewed by: -smp, dfr, jake
2001-04-24 00:51:53 +00:00
orion
9b6cff350c
Initial version of Avance Logic ALS4000 pcm driver.
2001-04-23 21:53:12 +00:00
ache
f6092596c0
Upper limit of mousechar start is UCHAR_MAX - 3, not UCHAR_MAX - 4
...
Restore original characters when mousechar start changes, not always 0-3
PR: 24437
Submitted by: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
2001-04-21 14:11:48 +00:00
imp
95af7f8b67
Add accessor/ivar for the "function". This is so we can generically
...
match disks and serial ports and maybe others.
2001-04-21 04:08:39 +00:00
msmith
1c08859c6b
Avoid divide-by-zero for devices that the adapter has not negotiated a
...
transfer speed with.
2001-04-21 04:08:26 +00:00
imp
bfdb72c0bc
Only try to delete the resource if we actually got it.
2001-04-21 02:29:09 +00:00
orion
783e5f7b88
Add power on to start sequence for 4.x kernels.
...
PR: kern/26255
Submitted by: WATANABE Kiyoshi <aab10490@pop16.odn.ne.jp>
2001-04-19 13:23:50 +00:00
imp
60035bdf1f
Add some more O2Micro devices I gleened from the web site/linux pcmcia cs.
...
Add TI4451 as well.
These are untested since I don't have the hardware to test against.
Also, some O2Micro devices are #define w/o numbers as place holders so that
I can encourage people to submit them when they appear in the channels.
2001-04-18 05:45:15 +00:00
imp
6034603194
Add support for the OZ6832.
...
Submitted by: Martin Nilsson <martin@svenskabutiker.se>
2001-04-18 04:42:11 +00:00
dd
c50aedd1ac
Make this driver play ball with devfs(5).
...
Reviewed by: brian
2001-04-17 20:53:11 +00:00
n_hibma
666a229175
Regen.
2001-04-17 15:53:35 +00:00
n_hibma
6d8536593a
Add the HP scanner 3400C
2001-04-17 15:53:20 +00:00
n_hibma
b7ba82d18a
Regen.
2001-04-17 15:34:44 +00:00
n_hibma
d36374f53c
Lexar jumpSHOT Id.
...
Submitted by: gshapiro
2001-04-17 15:34:22 +00:00
sos
ac8d33fb1c
Add support the the Intel ICH2 mobile
...
Tidy chip name printing a bit.
2001-04-16 21:22:34 +00:00
jhay
77dc35d52e
Move the isa parts to a separate file.
2001-04-16 13:20:39 +00:00
sos
90bd76706c
The VIA 586 chip does UDMA from rev 0x3 onwards.
...
MFC candidate!
2001-04-14 18:33:08 +00:00
brian
b125e6277c
New-busify and ansify.
...
I've cleaned up a bit of the formatting here, but it's still a long way
from style(9).
2001-04-14 15:32:16 +00:00
n_hibma
3838000f9c
Regen.
2001-04-12 11:08:59 +00:00
n_hibma
542e59d7df
TDK ids
...
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
2001-04-12 11:04:08 +00:00
n_hibma
fab7b6e4fc
From NetBSD
2001-04-12 10:59:30 +00:00
imp
7ae2f6eb48
Add IBM3765 to newcard's pcic pnp device list
2001-04-11 20:22:16 +00:00
imp
c9a0bb442c
Add #define for IBM3765.
...
Fix SWAMPBOX. It had actiontec's ID.
Reorder pnpids so they are in alphabetical order.
2001-04-11 20:18:29 +00:00