Commit Graph

8173 Commits

Author SHA1 Message Date
mrg 666116dd21 <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 16:38:37 +00:00
mrg 7e81221f5a remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 16:27:51 +00:00
mrg 7c15053eed remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 16:08:42 +00:00
thorpej e24d6ebc19 Fix a couple of brain-o's in error cases, and use PCATCH for
the sysmon mutex wait.
2000-06-28 06:51:17 +00:00
augustss d28770775b Make it compile with AUDIO_DEBUG after the mmap API change. 2000-06-27 21:25:02 +00:00
mrg f324eef2d2 remove include of <vm/vm.h> 2000-06-27 17:55:38 +00:00
tron bddc013764 Add special IRQ handler for CMD PCI0648 and PCI0649 taken from the
experimental version of Manuel Bouyer's driver.
2000-06-27 05:57:05 +00:00
simonb bfc5613f54 Revert some of the previous mmap() changes that were in "#ifdef FreeBSD"
parts of this file.
2000-06-27 05:14:31 +00:00
mrg e185413725 remove redudant <vm/pmap.h> includes. <vm/pmap.h> -> <uvm/uvm_pmap.h> 2000-06-27 04:18:48 +00:00
fvdl 4cc6a62a33 Remove debugging code that wasn't supposed to be in the commit of version 1.55 2000-06-26 19:38:14 +00:00
mrg f4e210fb2c remove redundant vm includes 2000-06-26 15:26:35 +00:00
mrg 4c698e84f6 <vm/vm_param.h> -> <uvm/uvm_param.h> 2000-06-26 14:58:58 +00:00
mrg 89d0a3e519 remove redundant vm includes. 2000-06-26 14:38:50 +00:00
mrg 2f159a1bac remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
bouyer 8a0d96e59e Add support for the CMD PCI0648 and PCI0649 IDE controllers.
Thanks to Matthias Scheler for testing.
2000-06-26 10:07:52 +00:00
bouyer 2e861ca3ce Correct 80 pin handling for promise Ultra/66: when the bit is set
we *don't* have a Ultra/66 cable.
2000-06-26 09:55:26 +00:00
simonb 889c658b5b Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
gmcgarry 10eccb55ca cmpci requires mulaw dependency. 2000-06-25 23:34:27 +00:00
sommerfeld fda426af2c Defopt TLP_MATCH_* 2000-06-25 18:49:22 +00:00
wiz 3628d5523b printf argument was in wrong position. Noted by Roger Hardiman
<roger@cs.strath.ac.uk>. (This code was ifdef'd out by default.)
2000-06-25 17:47:39 +00:00
mrg c543a66253 remove some redundant <vm/vm_xxx.h> includes 2000-06-25 13:26:19 +00:00
eeh 44330020aa Make PCI HME work. 2000-06-25 01:10:04 +00:00
eeh 79dffec702 Get PCI HME working. 2000-06-25 01:05:16 +00:00
pk c7477bfbe5 Fix spelling and formatting. 2000-06-25 00:23:13 +00:00
joda 1e343745fc regen 2000-06-24 12:16:55 +00:00
joda 103a704990 add Intel 82801BA devices 2000-06-24 12:16:21 +00:00
thorpej 6a6fdc8681 Kill SPLUSBCHECK -- it's not portable, and quite annoying on some
platforms which otherwise function just fine.
2000-06-24 04:12:53 +00:00
thorpej f82e306928 Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI).  Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.
2000-06-24 00:37:19 +00:00
is a4c83bd5bf s/sc->sc_ethercom.ec_if./ifp->/ where appropriate and formerly forgotten,
for better readability.
2000-06-23 14:07:03 +00:00
is 139e08bead Only "complain" about successful multicast setup if IFF_DEBUG was set. 2000-06-23 13:54:50 +00:00
matt 3259331d60 There's only for 15 blocks of bootstrap, not 16. 2000-06-21 14:57:21 +00:00
tron bc83dce0c6 Regen. 2000-06-21 09:16:16 +00:00
bouyer 0273966f04 Add CMD PCI0649 product ID. 2000-06-21 08:58:57 +00:00
bouyer dbc130250d Patch from Eduardo Horvath: don't bus_dmamap_sync the script dma map if
it lives in the on-chip RAM !
2000-06-20 17:16:22 +00:00
ad 318f9b048b Feck. 2000-06-20 15:04:50 +00:00
augustss 4f82723a61 Regen. 2000-06-19 14:58:37 +00:00
augustss e38812aaad Add XTNDAccess IrDA. 2000-06-19 14:58:02 +00:00
augustss 88e928528c Unswap functiona arguments that got swapped during ANSIfication. Now
mixer controls work again.
2000-06-19 11:43:48 +00:00
pk 5f887c484e The sparc clients of this driver (si & sw) now use bus_space_*(). 2000-06-18 19:22:33 +00:00
soda 849b74a926 add vga_extended_attach function on arc port, to make mmap() available.
XXX - is it better to remove "#ifdef arc"?
2000-06-17 07:11:50 +00:00
cgd eee18e1f6c beat back the undead: __BROKEN_INDIRECT_CONFIG had risen, and was
terrorizing innocent hackers...
2000-06-16 23:41:33 +00:00
matt 6bda02ae4b Fix typo. 2000-06-16 23:33:47 +00:00
matt bd24eacf64 Move dec_boot.h to here from arch/pmax/include and add the VAX boot block
info.  Eventually Alpha boot block information as well.
2000-06-16 23:09:57 +00:00
matt 485dc14ad7 No real change. Alphabetize the list of directories. 2000-06-16 19:33:50 +00:00
pk 6e94b922a1 Comply with bus_dma(9) specs. 2000-06-16 11:47:34 +00:00
soren 0011842ea8 Regen. 2000-06-16 08:13:50 +00:00
soren 567c710f2b Add some S3 chips. 2000-06-16 08:13:25 +00:00
soren 18b4be2a92 Update from Onno:
- Add a tr_reopen() and use that instead of tr_init() for callouts.
- As tr_reinit() and tr_reopen() are used as callouts, protect them at splnet.
2000-06-15 19:55:27 +00:00
ragge 8aeaa34651 "files" file for the XMI bus. 2000-06-15 19:01:33 +00:00
augustss fca2f40972 Regen. 2000-06-15 17:58:45 +00:00
augustss 032bdde358 Add Compaq's Personal Jukebox (I got one as a birtday present!) 2000-06-15 17:58:14 +00:00
pk 297445c2a2 Turn on the hash filter enable bit in the RX configuration register
when loading the multicast hash filter (noted by itojun@iijlab.net).
2000-06-15 15:34:32 +00:00
matt 91e31abb8a Add preliminary ieee1212reg.h (csr architecture which is the base spec for
1394).
2000-06-15 03:43:40 +00:00
soren d157be73ff Update from Onno: add media selection. 2000-06-14 22:54:37 +00:00
thorpej 17de155949 Make sure we use firmware->host communication channel in cz_intr(), from
Bill Studenmund.
2000-06-14 17:54:33 +00:00
pk f67e2cd132 Eliminate a race condition reported by mouse on port-sparc. 2000-06-14 08:01:26 +00:00
soda c521ba58c1 yet another change for NEC RISCstation 2250 of arc port. 2000-06-14 00:34:33 +00:00
tron 3e3d2d7344 Regen. 2000-06-13 22:44:51 +00:00
tron d643d25eb9 Add CMD PCI0648. 2000-06-13 22:44:19 +00:00
soren 0ea5e0720a IBM Tropic Token Ring PCMCIA attachment. XXX Needs work.
Many thanks to Onno van der Linden for his help in getting this working.
2000-06-13 20:03:47 +00:00
soren ca34a6a69a Call frontend enable/disable functions in the ioctl path.
Use _sc prefixes for some softc members.
A few minor cleanups.
2000-06-13 20:00:02 +00:00
nathanw a5598651e8 Arrange to use the right RAMDAC cookie at console initialization time.
[I thought I committed this months ago....]
2000-06-13 17:21:06 +00:00
soren 45bdc51fa2 Regen. 2000-06-13 15:37:29 +00:00
bouyer 22a10be43e sheduler->scheduler, as pointed out by Klaus Klein 2000-06-13 13:59:15 +00:00
ad 3553879fc2 Use my proper name. 2000-06-13 13:36:42 +00:00
soren a6c8d6231e Regen. 2000-06-13 02:18:19 +00:00
soren d15c2a6a04 Include vendor name for IBM products. 2000-06-13 02:18:00 +00:00
sommerfeld 9769dedd5b Let this build on LP64 if DEBUG is defined. 2000-06-12 23:45:45 +00:00
gmcgarry 6ab5c3364c - add mmap support
- correct bug which wouldn't free allocated DMA segments
2000-06-12 22:40:20 +00:00
nathanw 31c0cc5f46 Regen. 2000-06-12 22:33:41 +00:00
nathanw 72d31d8d37 Add AMD 79c978 PCnet-PCI Home. 2000-06-12 22:33:06 +00:00
bouyer 26bbb4f200 Regen. 2000-06-12 21:25:20 +00:00
bouyer 034590578d Shorter description for the HPT366 2000-06-12 21:25:01 +00:00
bouyer b21bc1b5b6 - add a pciide_irqack() callback, which clears the IDE DMA status bit once
the IRQ has been cleared on the drive.
- use pa->pa_class instead of re-reading PCI_CLASS_REG when possible
- Add support for Highpoint HPT366 and HPT370 (370 untested), based
  on patches from Roger Brooks  <R.S.Brooks@liverpool.ac.uk> posted on
  current-users Mach, 15. Given how Highpoint docs have been wrong for the
  366, the 370 is likely to not work.
  Thanks to Chris Cappuccio <chris@dqc.org> for sending me the Highpoint
  docs, and to Total Archive (http://www.totalarchive.com/) for sending
  me hardware.
2000-06-12 21:20:51 +00:00
bouyer 8642ac97bf Regen. 2000-06-12 21:12:59 +00:00
bouyer 1970e14b93 Add HPT366/370 device ID.
XXX Is 'TRIONES' the rigth vendor name ?
2000-06-12 21:12:30 +00:00
bouyer 12d3bf8c1a Add a callback (*irqack), for controllers that need special action to ack
the interrupt once it has been ack'd on the drive.
2000-06-12 21:10:40 +00:00
bouyer 221a99f782 Handle "scsi bus mode change" interrupts on 895 and higther.
Thanks to Hal Murray for reporting the problem and testing the fix.
2000-06-12 20:13:41 +00:00
ad 397fa0e4e2 Fix a couple of pastos. 2000-06-12 11:07:45 +00:00
mrg b9140fbc0c KNF a line. 2000-06-12 05:25:48 +00:00
mrg 305e44c869 check for when cnopen() will call itself recursively, and panic instead of losing badly. 2000-06-12 05:02:22 +00:00
bouyer 7bb3d03448 Relax condition on 'sn' for atapi probe, it can be different from 0x1 with
some controllers/devices. Fixes a problem reported by Markus Illenseer.
2000-06-11 17:09:34 +00:00
oster 7a0d138818 Nuke a (mostly) now-incorrect comment. 2000-06-11 03:35:38 +00:00
sommerfeld ea313649ff defopt MIIVERBOSE 2000-06-11 02:13:34 +00:00
ragge cc483219bc Must be able to compile without "mtc". 2000-06-10 19:44:55 +00:00
sommerfeld 8e8ecc1bb5 portability fix: when rotating, don't do shifts >= wordsize. 2000-06-10 17:01:15 +00:00
wrstuden eb21ed4746 Adapt to going back to decemal device numbering. 2000-06-09 18:00:45 +00:00
wrstuden 8d04cd3f90 Rather than assinging 64 tty's per pci card, assign tty's as found.
Cyclades says driver should work with up to 128 tty's per pci card
even though they only support 64 now. Also matches FreeBSD behavior.

Print located tty's using new tty naming scheme - ttyCZ?? where ?? are
two hex letters.

Make firmware load on macppc - one le32toh() was missing.
2000-06-09 16:53:23 +00:00
drochner 7b82c5ef6c add EGA display type 2000-06-09 16:07:55 +00:00
onoe 73a779fa1f Restore the original copyright notice by Bill Sommerfeld
<sommerfeld@netbsd.org> since it is based on the original code.
2000-06-09 14:36:25 +00:00
onoe 7b45a44396 Add Farallon SkyLINE Wireless LAN Card for awi(4) driver.
Tested on FreeBSD 3.4-RELEASE by Dirk-Willem van Gulik <dirkx@webweaving.org>.
2000-06-09 13:05:02 +00:00
enami 5a4b9fcbbf Prevent a process being swapped out during I/O if the data buffer is
allocated on stack.  This potential problem is noticed by Noriyuki Soda
and the idea and sample code to fix is given by Jason R. Thorpe.
2000-06-09 08:54:19 +00:00
gmcgarry f44d7a9a53 Rename remaining references from xe to xi. Clean up debug messages. 2000-06-09 08:22:13 +00:00
onoe 4da3935bae cleanup haeders.
add opt_awi.h to define AWI_DEBUG, AWI_WEP_ARC4.
show the firmware version at attach.
create a framework to support WEP (encryption code is not included for now).
a new wiconfig compatible ioctl interface replaced the awictl interface.
fix memory leak in selecting AP
fix bugs in ESSID selection
changes from FreeBSD-current by Warner Losh:
  revision 1.2
  date: 2000/04/17 22:58:15;  author: imp;  state: Exp;  lines: +16 -1
  Provide mem* for compat with NetBSD to fix LINT
fixes from FreeBSD-current by Guido van Rooij:
  revision 1.4
  date: 2000/05/29 19:58:10;  author: guido;  state: Exp;  lines: +5 -2
  Fix a panic resulting from an obvious null pointer deref.
  Apparently some other panics still exist in this driver, but with
  this fix, it was at least possible to run the Nokia card at SANE 2000.
2000-06-09 05:31:15 +00:00
soda 0f76c56f2d increase number of parameters of pckbc_cnattach(), since offset of command port
is not 4 (KBCMDP), but 1 on jazz based platforms of arc port.
2000-06-09 04:58:32 +00:00
soda 8ac7bdd00c changes for NEC RISCstation 2250 of arc port. 2000-06-09 04:48:12 +00:00
soda 77625cf7ec long long constant needs "LL" suffix. 2000-06-09 04:45:53 +00:00
augustss b8f4f2be87 Regen. 2000-06-09 00:21:08 +00:00
augustss def28a5cd2 Add some PCI devices found in the IOpener (commited from the IOpener itself :). 2000-06-09 00:20:18 +00:00
cgd 1e158fae9a nuke bogus use of s = spl0() / splx(s). reviewed by Jason Thorpe. 2000-06-08 22:43:15 +00:00