Commit Graph

85259 Commits

Author SHA1 Message Date
uch 80d8d09cd7 switch from splvec to ipl_sr_bits. 2001-09-15 19:51:38 +00:00
mrg 002ddf2283 in pci_conf_read() and pci_conf_write(), convert all printf()'s to only
occur if SPDB_CONF (and hence DEBUG).  also convert the panic in
pci_conf_write() to a SPDB_CONF warning and a return.

this cleans up pcictl(8) support.
2001-09-15 19:32:14 +00:00
thorpej 8b531ac998 By poppular demand, don't wildcard "bus" on the "list" command
by default.
2001-09-15 18:35:00 +00:00
wiz e2a68e27e6 regen (ss, uk, ch, pci) 2001-09-15 18:34:42 +00:00
mrg 3ca38a76ec add comments for previous; fixes MAKEDEV.8 generation. noted by wiz. 2001-09-15 18:31:50 +00:00
chs 3fb05f05f8 use a for loop instead of goto. 2001-09-15 18:20:53 +00:00
thorpej 02951c2ac6 agpopen(): check for NULL softc before dereferencing it. 2001-09-15 18:03:35 +00:00
mrg 9680ade50a add coda (untested; same cdev number as sparc) and pci (tested). 2001-09-15 17:51:02 +00:00
mrg 57dca874e2 create ss, ch, uk and pci devices. 2001-09-15 17:44:47 +00:00
bjh21 91dae8ca83 Add minimal IP-over-Econet support and a load of bug-fixes. I can ping,
unreliably, between my RISC iX and NetBSD boxes with this.  There's a lot
of work to go before it's solid, though.
2001-09-15 17:27:24 +00:00
yamt 1f460cfc38 make it compile when defined(USB_DEBUG)&&defined(SCSIPI_DEBUG)&&!defined(SCSIDEBUG) 2001-09-15 16:47:41 +00:00
simonb 1730261818 Throw out home-grown strdup().
Error check malloc/strdup return values.
2001-09-15 16:45:23 +00:00
chs 5d3eefe245 use pools for allocating most softdep datastructures. since we want to
allocate memory from kernel_map but some of the objects are freed from
interrupt context, we put objects on a queue instead of freeing them
immediately.  then in softdep_process_worklist() (which is called at
least once per second from the syncer), we process that queue and
free all the objects.  allocating from kernel_map instead of from kmem_map
allows us to have a much larger number of softdeps pending even in
configurations where kmem_map is relatively small.
2001-09-15 16:33:53 +00:00
thorpej daa2a3c1a7 Fix a printf format/argument cast. 2001-09-15 16:28:15 +00:00
yamt 46f9dd9228 correct debug messages. 2001-09-15 16:16:27 +00:00
chs adf5d360a7 add a new VFS op, vfs_reinit, which is called when desiredvnodes is
adjusted via sysctl.  file systems that have hash tables which are
sized based on the value of this variable now resize those hash tables
using the new value.  the max number of FFS softdeps is also recalculated.

convert various file systems to use the <sys/queue.h> macros for
their hash tables.
2001-09-15 16:12:54 +00:00
simonb e8bf848218 Unwrap a line that wasn't >80 characters long before it was wrapped. 2001-09-15 15:43:40 +00:00
uch 17d54b69e0 remove unused font_clB8x8_data[]. 2001-09-15 15:27:59 +00:00
uch ba1ef3e899 ANSIfy. 2001-09-15 15:04:45 +00:00
simonb 0b2413bddc ANSIfy. 2001-09-15 14:55:38 +00:00
uch c04a1143f0 remove unneeded #include 2001-09-15 14:08:15 +00:00
simonb 9becf15259 Fix typo. 2001-09-15 13:59:29 +00:00
chris b9335fd2c8 Regen 2001-09-15 13:13:53 +00:00
chris f80b0e499b Add voodoo 4/5 entry for 3DFX. 2001-09-15 13:11:42 +00:00
drochner 9ac7c1121f normalize error message if agp_map_aperture() fails 2001-09-15 13:01:44 +00:00
uch 58f851eeb5 ANSIfy, KNF, change my copyright. 2001-09-15 12:47:04 +00:00
wiz feb03dd1b2 Fix typo. 2001-09-15 11:16:14 +00:00
uch 7148cab49a ANSIfy, KNF. 2001-09-15 11:13:20 +00:00
wiz d2a6e07fa5 regen (+pci,+agp) 2001-09-15 10:53:30 +00:00
wiz d462b26208 regen (typo fix) 2001-09-15 10:53:17 +00:00
eeh 1007095edd Only drop into the debuger if SDB_DDB is set. 2001-09-15 07:13:40 +00:00
eeh 984030b0ca Fix locking problem. 2001-09-15 07:12:22 +00:00
eeh a7283de29c Be a bit more elaborate with UE DMA errors. 2001-09-15 07:10:04 +00:00
eeh 388726b340 Added iommu_extract() for debug purposes.
Anyone caught using it for anything other than debug will be shot.
2001-09-15 06:55:50 +00:00
thorpej 17d975073d Oops, don't need to fill in pcibus_attach_args twice. 2001-09-15 04:50:59 +00:00
thorpej 5fdfced15e Make pci and agp device nodes. 2001-09-15 04:45:28 +00:00
thorpej e27d25403e Fix a typo. 2001-09-15 04:42:45 +00:00
thorpej 5cd421c8c0 Create dtyC* devices, as well. 2001-09-15 04:41:46 +00:00
thorpej fe5ada1fcc Add PCI and AGP devices. 2001-09-15 04:40:21 +00:00
thorpej 927debe92b Attach "agp" to the AMD-751 PCI host controller (Alpha UP1000/UP1100). 2001-09-15 04:33:37 +00:00
thorpej 6658cbc629 Only filter out the PCI_ID_REG in irongate_conf_read(). 2001-09-15 04:31:40 +00:00
enami a88b4adee6 Zero clear the apm_power_info structure being passed to ioctl. 2001-09-15 02:42:26 +00:00
thorpej e3d4f375aa Give each AGP controller its own attribute, and let the "agpbus"
device (rather, the device that carries that attribute) also
carry one or more attributes indicating which type of controller
it might be.

This will allow systems that might have AGP, but would never have
e.g. an Intel PCI-Host bridge, to trim out code that won't be used.
2001-09-15 01:32:10 +00:00
wdk 7e9d52fd89 Remove unused extern 2001-09-15 01:19:38 +00:00
wdk d9c3de97f0 Add bus_dma hooks for ISA Bus.
ISA bus option doesn't support DMA on the Magnum 3000 series, but other
models such as the M/120 do support it.
2001-09-15 01:17:47 +00:00
wdk 4fbe1c7977 Add lpt device 2001-09-15 01:11:02 +00:00
thorpej 8f077d92cc Move the AGP device declaration stuff into files.agp. 2001-09-15 01:10:09 +00:00
thorpej c1e6d1c91f Use bus_space_mmap() to mmap the aperture. 2001-09-15 00:52:15 +00:00
wdk 919892c3c4 bus_space_mmap support based on -arc implementation 2001-09-15 00:49:53 +00:00
wdk 5b22c13d90 spllpt() for ISA Bus printer support 2001-09-15 00:46:13 +00:00