Commit Graph

137815 Commits

Author SHA1 Message Date
ws
9d78e0cf36 PR-30566: Poll must not return <sys/errno.h> values.
Start with those places I can easily test.
2005-06-21 14:01:11 +00:00
sekiya
b72e560799 Likewise, ACPI_PCI_FIXUP has been replaced by PCI_INTR_FIXUP, and we should
notify when an old kernel config is used.  Recommended by wiz@
2005-06-21 11:49:10 +00:00
sekiya
087e54e558 Error out if obsolete fixup config directives are used.
Pointed out by wiz@
2005-06-21 11:46:25 +00:00
sekiya
0919f4d283 Rework the configuration scheme for PCI fixups:
* bus enumeration fixups are not PCIBIOS-specific, interrupt fixups are done
  by both PCIBIOS and ACPI.  The redundancy is very redundant.  Therefore,
  rename PCIBIOS_*_FIXUP to PCI_*_FIXUP, use PCI_INTR_FIXUP in place of
  ACPI_PCI_FIXUP, and change code refences to match.

* move the fixup defines from opt_pcibios.h to opt_pcifixup.h to reflect
  the above.

* fix up the PCI bus numbering in mainbus_attach(), right after we detect the
  configuration mode.  This probably renders the fixup in pcibios.c
  redundant -- but it should be harmless.

These changes make cardbus work in ACPI-only machines, when PCI_BUS_FIXUP
and PCI_INTR_FIXUP are defined.
2005-06-21 08:19:25 +00:00
sekiya
b7d7ac9d1a Fix uninitialized pointer problem in rbus code ... just because the kernel is
compiled with PCIBIOS_ADDR_FIXUP doesn't necessarily mean that
pcibios_addr_fixup() succeeded ...
2005-06-21 06:51:29 +00:00
kent
51a6455183 note addition of azalia driver 2005-06-21 02:24:15 +00:00
kent
05ff5da3a7 add "azalia at pci" 2005-06-21 02:23:13 +00:00
thorpej
26d517435c Fix mis-placed newline. 2005-06-21 01:12:17 +00:00
darcy
77a3cb4427 Fix another portability issue. Part of PR kern/30456. 2005-06-20 20:40:21 +00:00
elad
ced2e2a09a Remove veriexec_dprintf() calls forgotten in last commit. 2005-06-20 15:32:29 +00:00
elad
0e4dfe1792 - Use more calls to veriexec_report() where possible.
- Change #ifdef VERIFIED_EXEC_VERBOSE to another verbose level, 2. Add
  sysctl(3) bits.

- Simplify access type conflict handling during load. This depends on
  the values of access type defines to be ordered from least to most
  'strict'.
2005-06-20 15:06:18 +00:00
skrll
5fb9715482 Add a const 2005-06-20 14:30:29 +00:00
peter
52eb5d87eb Use .Fx for FreeBSD. 2005-06-20 14:02:30 +00:00
peter
0105f057d6 siginfo(5) -> siginfo(2). 2005-06-20 13:48:14 +00:00
peter
a9b411c198 Change all .Xr config 8 to .Xr config 1, following the recent move of
config from usr.sbin -> usr.bin.

Reviewed by wiz.
2005-06-20 13:25:23 +00:00
briggs
11925ed1a8 Mention ataraid(4) support for Adaptec HostRAID. 2005-06-20 13:15:24 +00:00
sekiya
da1b13d741 Also fix up interrupt line if interrupt is zero, as well as 255. Fixes
interrupt issues on two of my laptops that lack PCIBIOS.
2005-06-20 12:21:36 +00:00
kent
e3c53b72af - print the controller name if possible
- make the max values of mixers AUDIO_MAX_GAIN
- reset the stream in trigger_output()
2005-06-20 11:48:47 +00:00
darcy
67a10100f5 Fix some printf statements to make them more portable. Doesn't completely
fix PR kern/30456 but fixes part of it.
2005-06-20 11:37:47 +00:00
sekiya
c354a96fdc Remove unneeded dependancy on PCIBIOS. 2005-06-20 11:04:46 +00:00
sekiya
d91bd456e7 pci_device_foreach(), pci_device_foreach_min(), pci_bridge_foreach(), and
pci_bridge_hook don't actually have any dependancies on PCIBIOS-specific code,
and they can be used to fixup PCI bus numbering in the absence of the BIOS.

To that end, decouple them from PCIBIOS.
2005-06-20 11:04:15 +00:00
peter
395b29c382 Document MAXFILES, bump date. From PR/29136. 2005-06-20 10:41:29 +00:00
salo
bb837eff67 Monitor mode requires firmware version 1.0.4 or newer. Bump date.
ok <sekiya>
2005-06-20 09:49:27 +00:00
sekiya
93ed08ce8d Don't abort the attach if we are routing interrupts through the ioapic, there 2005-06-20 09:18:36 +00:00
sekiya
3b3daf0a90 Add "monitor" to list of valid modes. No functional change. 2005-06-20 09:06:40 +00:00
sekiya
54c9009f27 Implement monitor mode. From OpenBSD. 2005-06-20 09:03:44 +00:00
scw
3a572660d3 Use objcopy (as suggested by Richard Earnshaw) to strip ARM mapping symbols
from the kernel image, as they interfere with ddb. But only do this if
'makeoptions DEBUG="-g"' was not specified, in case they're needed by gdb.
2005-06-20 08:42:52 +00:00
briggs
b75c4bf0e2 Add an initial man page for ataraid(4). 2005-06-20 03:08:25 +00:00
lukem
50ec57658e Allow the input [file] field separator to be a string and not just a
single character.
Use argument-specific value names in the usage string & manual page
to simplify searching for the value's use.
2005-06-20 02:53:38 +00:00
atatat
df13e3579e Change the rest of the sysctl subsystem to use const consistently.
The __UNCONST macro is now used only where necessary and the RW macros
are gone.  Most of the changes here are consumers of the
sysctl_createv(9) interface that now takes a pair of const pointers
which used not to be.
2005-06-20 02:49:18 +00:00
briggs
b0366b2ebd Basic support for RAID0 and RAID1 for the Adaptec HostRAID format as found
on the Intel 6300ESB on-board RAID.  Adapted from FreeBSD.
2005-06-20 02:11:57 +00:00
briggs
5c1f94f81d Match the 6300ESB on-board SATA/RAID controller.
Set the ATA RAID flag, if appropriate, in the SATA chip map.
Ensure that the interrupts are enabled in the SATA chip map.
2005-06-20 02:10:18 +00:00
thorpej
2b9a850fd3 Install eeprom.h and idprom.h 2005-06-20 02:01:30 +00:00
lukem
aa159e4a50 ypdb_open():
* Clarify what it does (adds YPDB_SUFFIX if it's missing).
* Add some explicit pathname length checks and display a warning if exceeded.
2005-06-20 00:29:42 +00:00
briggs
488e4cc85b Regen. 2005-06-20 00:19:38 +00:00
briggs
b61e39b645 Add Intel 6300ESB SATA RAID Controller. 2005-06-20 00:18:54 +00:00
lukem
cdd4868c29 tweak filename length check 2005-06-20 00:08:35 +00:00
christos
6f86542bb2 remove duplicate declaration. 2005-06-19 23:46:32 +00:00
lukem
a0b1a25618 snprintf NUL terminates, so there is no need to explicitly do it afterwards 2005-06-19 23:43:51 +00:00
thorpej
6a02aeb003 Small clean-ups before an overhaul. 2005-06-19 23:36:47 +00:00
christos
60fcc7a549 move misplaced endif. 2005-06-19 23:10:03 +00:00
christos
e8e0c7f52f remove duplicate declaration. 2005-06-19 23:09:50 +00:00
chs
2a8328f224 regen 2005-06-19 21:17:17 +00:00
chs
b2d9223653 add some misc cards and merge the two mylex sections. 2005-06-19 21:16:41 +00:00
thorpej
86ec9c7656 Remove some unused definitions. 2005-06-19 20:31:26 +00:00
chs
b36d2dee68 copy the athhal glue from Makefile.i386. 2005-06-19 20:28:14 +00:00
thorpej
7adddd1b69 Move common Sun3/Sun4 EEPROM definitions in to <dev/sun/eeprom.h> 2005-06-19 20:23:48 +00:00
chs
187b985918 add ath stuff. 2005-06-19 20:22:26 +00:00
thorpej
15adcb96b8 Move common Sun ID PROM definitions into <dev/sun/idprom.h>. 2005-06-19 20:00:28 +00:00
bouyer
19abf3be02 The ST3160023A* also need the LBA48 quirk. From Timo Schoeler. 2005-06-19 18:26:40 +00:00