Nick Hibma
24b4921ad1
Remove superfluous header file includes.
...
Pushed-By: phk
1999-11-08 21:06:21 +00:00
Kazutaka YOKOTA
51ebcb230e
- Added a new kernel configuration option: SC_TWOBUTTON_MOUSE.
...
The new option will make the right mouse button the `paste' button.
Useful for two button mice.
Submitted by: morganw@engr.sc.edu (Wes Morgan)
1999-11-08 10:04:29 +00:00
Kazutaka YOKOTA
73027df75c
- Removed SC_VIDEO_DEBUG. It is broken and useless now.
1999-11-08 09:57:16 +00:00
Peter Wemm
80855566e2
Use cdevsw_add() explicitly and DRIVER_MODULE().
1999-11-08 07:57:03 +00:00
Peter Wemm
91bbda5f1f
Call id_drvinit() from attach, not probe as the OS hasn't necessarily
...
decided which driver to use until attach. Use DRIVER_MODULE().
1999-11-08 07:56:10 +00:00
Poul-Henning Kamp
44d1184e81
Rename remove_dev() to destroy_dev().
...
Nagged about by: msmith
1999-11-08 07:44:01 +00:00
Peter Wemm
c6b92dec5e
Use (temporarily) cdevsw_add() so we can change from DEV_DRIVER_MODULE()
...
to DRIVER_MODULE().
1999-11-08 07:37:15 +00:00
Peter Wemm
475ad603bb
Use cdevsw_add() (temporarily) to avoid DEV_DRIVER_MODULE(), since the
...
make_dev()'s that are there are not enough.
1999-11-08 07:32:06 +00:00
Peter Wemm
1faa5a84a8
Use DEVICE_MODULE() directly instead of DEV_DRIVER_MODULE. psm.c uses
...
make_dev() already.
1999-11-08 07:29:23 +00:00
Peter Wemm
b09ce13f07
Use cdevsw_add() explicitly as a workaround for DEV_DRIVER_MODULE().
...
This should be changed to use make_dev() at some point.
1999-11-08 07:24:55 +00:00
Peter Wemm
8cd932769f
No need to use DEV_DRIVER_MODULE() since the bktr driver calls make_dev().
...
Roger: Feel free to change or spam this as you please.
1999-11-08 07:20:07 +00:00
Peter Wemm
bda20b64e4
ulpt.c and ums.c already uses make_dev(), so there's no need to use the
...
(presently broken) DEV_DRIVER_MODULE(). Use DRIVER_MODULE() directly.
1999-11-08 07:10:48 +00:00
Peter Wemm
bb63a8f5a5
Update the stream socket fileops table to match fo_stat() additions.
1999-11-08 03:34:53 +00:00
Poul-Henning Kamp
d53dedee55
Remove the devsw magic from DEV_MODULE()
1999-11-07 10:01:17 +00:00
Seigo Tanimura
35e6a54a31
Conserve stereo mode in ioctl SNDCTL_DSP_SETFMT.
...
PR: 14372
Submitted by: Mattias Pantzare <pantzer@ludd.luth.se>, Ville-Pertti Keinonen <will@iki.fi>
1999-11-07 04:15:30 +00:00
Søren Schmidt
3de25e2f32
Fix IRQ allocation bug on controllers using a shared interrupt.
...
Fix a bug which could cause panics in ad/atapi-interrupt.
Add support for UDMA66 on Promise Ultra/Fasttrak controllers.
Get rid of ATA_IGNORE_INTR, and introduce ATA_WAIT_INTR instead.
Add a delay in the dump routine in ata-disk.c, some controllers
seem to need this. Also dont use the timeout watchdog when dumping.
Disable DMA on ATAPI devices as default, add option ATA_ENABLE_ATAPI_DMA
for those that has HW that works.
Add support for some not-up-to-spec ATAPI devices that returns data
together with completition status on data moving cmd's.
1999-11-06 16:50:21 +00:00
Matthew N. Dodd
61f676b449
resource_list_{alloc,release}() takes a struct resource_list * as its
...
first arg.
Reminded by: Andy Farkas <andyf@speednet.com.au>
1999-11-06 07:38:01 +00:00
Seigo Tanimura
05b17b64dc
The unit of sndstat is fixed to zero.
1999-11-06 05:31:47 +00:00
Andrew Gallatin
a3f09ae6e1
Remove calls to alpha_register_pci_scsi(). After Mike's recent boot
...
changes, it no longer exists and is preventing alpha kernels from building.
reviewed by: msmith
1999-11-05 13:10:39 +00:00
Andrew Gallatin
870c4cf8eb
now that a map's base addr is 64-bits, the alpha multi-hose hack needs
...
to be cast to 64-bits in pci_add_map. This should allow XP1000s and
DS20s to boot -current again.
1999-11-03 22:43:03 +00:00
Greg Lehey
4e449fe462
Emergency fix to stop world breakage.
...
Broken-by: archie
1999-11-03 20:04:00 +00:00
Poul-Henning Kamp
5b664c7c13
Move isfoo() and friends to the newly created sys/ctype.h.
...
Urged by: bde
1999-11-03 17:54:26 +00:00
Matthew N. Dodd
5178bd8bde
Fix bus_setup_intr(); I changed exintr() to take a pointer to ex_softc
...
but didn't change bus_setup_intr() to pass the softc in.
Submitted by: Warner Losh <imp@village.org>
1999-11-03 15:45:14 +00:00
Seigo Tanimura
083279e41b
Fix for multiple pcm devices.
1999-11-03 08:10:49 +00:00
Archie Cobbs
44b4dd855d
Consolidate some of the various ctype(3) macros in one location.
1999-11-02 22:50:34 +00:00
Archie Cobbs
2ea6270424
Change isspace() macro name to avoid conflict.
1999-11-02 22:42:56 +00:00
Archie Cobbs
da5e3849b2
Fix typo in previous commit.
1999-11-02 22:24:41 +00:00
Mike Smith
97adfbaf83
Correctly compute the block count. In reality, it seems that the
...
controller will never return the command if it's not exactly a multiple
of a block in size.
Cosmetic formatting for RAID level output.
1999-11-02 03:25:24 +00:00
Mike Smith
83f2409369
Don't print the chipset value; it's not useful.
...
Now we know what some of the state values are, print the current array
state.
1999-11-02 03:24:09 +00:00
Jonathan M. Bresler
aab735d218
fix misordering of two lines in this file.
1999-11-02 02:19:24 +00:00
Nicolas Souchu
7a19171479
Sync with RELENG_3.
1999-11-01 23:15:29 +00:00
Bill Paul
8562ad200e
Do some more work on the mxphy pseudo-driver to make it better at media
...
detection and remove the long delays that I had used previously. Everything
should be handled by timeouts now.
1999-11-01 17:10:26 +00:00
Seigo Tanimura
1134623173
Call make_dev() to shut up the warning.
...
Pointed out by: Donn Miller <dmmiller@cvzoom.net>
1999-11-01 14:29:07 +00:00
Julian Elischer
17f3711323
User netgraph typedefs for methods
1999-11-01 10:09:34 +00:00
Matt Jacob
fdc79fd3fc
correct moronic typo
1999-11-01 04:39:52 +00:00
Jonathan M. Bresler
4b9943106b
rearrange order of tests for NE1000, NE2000, and Linksys
...
cards. previous order caused computers with NE2000 cards
to hang during boot.
1999-11-01 01:16:56 +00:00
Yoshihiro Takahashi
b81cbfc4af
Change Linksys registers base/offset.
...
On NEC PC-98, asic_addr != nic_addr + 0x10.
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
1999-10-31 09:05:20 +00:00
Seigo Tanimura
b3dde4ea8e
The total uiomoved size is accumulated in c, not tmp.
1999-10-31 08:58:51 +00:00
Matt Jacob
fed92c475e
Organize things to cope with the (possible) lack of downloadable
...
firmware a bit better.
1999-10-30 19:35:11 +00:00
Matt Jacob
57dd0656a5
Remove firmware from tree until a better copyright from Qlogic is forthcoming.
1999-10-30 19:33:45 +00:00
Matt Jacob
03322f8625
Use pointer to f/w in md structure as to whether f/w exists or not.
...
If firmware length isn't specified, extract from the 4th short into
the firmware.
1999-10-30 19:32:44 +00:00
Poul-Henning Kamp
02c58685a4
Change useracc() and kernacc() to use VM_PROT_{READ|WRITE|EXECUTE} for the
...
"rw" argument, rather than hijacking B_{READ|WRITE}.
Fix two bugs (physio & cam) resulting by the confusion caused by this.
Submitted by: Tor.Egge@fast.no
Reviewed by: alc, ken (partly)
1999-10-30 06:32:05 +00:00
Poul-Henning Kamp
7254edcfaf
Don't test boolean return against != 1.
...
Don't needlessly assign the error variable in an if statement.
1999-10-29 19:03:18 +00:00
Poul-Henning Kamp
923502ff91
useracc() the prequel:
...
Merge the contents (less some trivial bordering the silly comments)
of <vm/vm_prot.h> and <vm/vm_inherit.h> into <vm/vm.h>. This puts
the #defines for the vm_inherit_t and vm_prot_t types next to their
typedefs.
This paves the road for the commit to follow shortly: change
useracc() to use VM_PROT_{READ|WRITE} rather than B_{READ|WRITE}
as argument.
1999-10-29 18:09:36 +00:00
Warner Losh
e653ecce87
Disable old PCCARD_MODULE code.
...
This should fix LINT.
Prompted by: phk's explicit message about LINT breakage
1999-10-29 17:28:09 +00:00
Semen Ustimenko
1d45e38736
Added code to enable BusMaster operations.
...
Kurt D. Starsinic <kstar@chapin.edu> had reported
this patch fixing strange behaviour (like timeouts
and RX/TX DMAs stopping errors).
1999-10-29 09:56:52 +00:00
Warner Losh
5eafefaf7a
Add (untested) support for the 3C562D/3C563D. I have been unable to
...
test this support since I don't have the dongle for the card in
question and the dongle I have for my 3C589D doesn't seem to work on
it. I don't know if this is due to the damage I did to the 562 card
in transit from freebsdcon, or a mis-matched dongle...
1999-10-29 06:27:07 +00:00
Roger Hardiman
56597309fa
Update to driver release 2.04
...
Update AverMedia GPIO values
Submitted by: AverMedia
Add support for WinTV Theater Dolby Surround Sound DPL3518A chip
Submitted by: Frank Nobis <fn@radio-do.de>
Make PLL mode the default for Bt878s. You no longer need options BKTR_USE_PLL
1999-10-28 13:58:17 +00:00
Doug Rabson
f8ef46e907
Fix some resource allocation peculiarities of the intpm device.
1999-10-28 08:06:59 +00:00
Warner Losh
c864a1a7e8
Fix identify code. This also fixes the eeprom messages.
...
pccard attachments must activate the resources they want to access.
ep didn't do this, so of course thee eeprom came back as busy. ed and
sio already did this. It was only due to a bug in the logic that the
probe succeeded. These problems have been fixed.
1999-10-28 06:12:58 +00:00