| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
sometimes, so return it when requested and it does. Also a little
more infrastructure for a few other things.
Submitted by: sam
Approved by: re (blanket for NEWCARD)
Notes:
svn path=/head/; revision=107301
|
| |
|
|
|
|
|
|
|
|
|
| |
buses support querying the MAC address in a standard-for-that-bus way.
The base pci bus returns NULL for this IVAR always.
Submitted by: sam
Approved by: re (blanket for NEWCARD)
Notes:
svn path=/head/; revision=107300
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107285
|
| |
|
|
|
|
|
|
|
|
|
| |
This was effectively rendering _BBN useless.
- Cleanup handling of the busok variable a bit.
Submitted by: marcel (1)
Approved by: re (rwatson)
Notes:
svn path=/head/; revision=107249
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- If a PCI device is not present, then a 32-bit read_config() is going to
return 0xffffffff not 0xffff.
- For the 82454NX chipset, the MIOC that we read the bus numbers of the
various host-PCI bridges from is at function (slot) 0x10 not 0x0.
Approved by: re (rwatson)
Notes:
svn path=/head/; revision=107248
|
| |
|
|
|
|
|
|
| |
Reviewed by: pdeuskar (maintainer)
Approved by: re
Notes:
svn path=/head/; revision=107243
|
| |
|
|
|
|
|
|
| |
Reviewed by: pdeuskar (maintainer)
Approved by: re
Notes:
svn path=/head/; revision=107242
|
| |
|
|
|
|
|
|
|
|
|
| |
the following drivers:
dc mn sf sk ste ti tl xl an bge em gem gx ie lge sr aue cue kue wi xe
Approved by: re
Notes:
svn path=/head/; revision=107239
|
| |
|
|
|
|
|
|
| |
Approved by: re
Reviewed by: orion
Notes:
svn path=/head/; revision=107237
|
| |
|
|
|
|
|
|
| |
Approved by: re
Reviewed by: orion
Notes:
svn path=/head/; revision=107236
|
| |
|
|
|
|
|
|
|
|
| |
panicing later. this is a band-aid pending further investigation.
MFC After: 7 days
Approved by: re
Notes:
svn path=/head/; revision=107235
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Detect the revision of the Rhine chip we're using.
2. Use the force reset command on revisions which support
it whenever the normal reset command fails.
This should solve a wide range of "my vr0 locks up with reset
failed messages" problems. (Although the root causes should
be eventually tracked down.)
Tested by: grenville armitage <garmitage@swin.edu.au>
Obtained from: Via's if_fet driver
MFC after: 3 days
Approved by: re
Notes:
svn path=/head/; revision=107220
|
| |
|
|
|
|
|
|
| |
Spotted by: kris
Approved by: re
Notes:
svn path=/head/; revision=107219
|
| |
|
|
|
|
|
|
| |
Submitted by: jmallett, many others
Approved by: re
Notes:
svn path=/head/; revision=107218
|
| |
|
|
|
|
|
|
|
|
| |
Loading acpi.ko with kldload is disallowed, however some
functions were executed unexpectedly.
Approved by: re
Notes:
svn path=/head/; revision=107199
|
| |
|
|
|
|
|
|
|
|
| |
debugging I was doing 3 months ago :-(.
Noticed by: scottl
Aproved by: the re blanket (different than the security blanket).
Notes:
svn path=/head/; revision=107194
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
If the value from the user is less than 177, assume it is a multiple of
a single speed CDROM and convert to KB/sec.
No complaints from: sos
Reviewed by: ken
Approved by: re
MFC after: 1 day
Notes:
svn path=/head/; revision=107193
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to PCI bridge can be read be evaluating the _BBN method of the host to PCI
device. Unfortunately, there appear to be some lazy/ignorant/moronic/
whatever BIOS writers that return 0 for _BBN for all host to PCI bridges in
the system. On a system with a single host to PCI bridge this is not a
problem as the child bus of that single bridge will be bus 0 anyway.
However, on systems with multiple host to PCI bridges and l/i/m/w BIOS
writers this is a major problem resulting in all but the first host to
PCI bridge failing to attach. So, this adds a workaround.
If the _BBN of a host to PCI bridge is zero and pcib0 already exists
and is not us, the we use _ADR to look up our PCI function and slot
(we currently assume we are on bus 0) and use that to call
host_pcib_get_busno() to try and extract our bus number from config
registers on the host to PCI bridge device. If that fails, then we make
an evil assumption that ACPI's _SB_ namespace lays out the host to PCI
bridges in ascending order and use our pcib unit number as our bus
number.
Approved by: re
Notes:
svn path=/head/; revision=107173
|
| |
|
|
|
|
|
|
|
|
| |
number of the child bus of a host to PCI bridge by reading from proprietary
configuration registers in the host to PCI bridge devices.
Approved by: re
Notes:
svn path=/head/; revision=107172
|
| |
|
|
|
|
|
|
|
| |
Reviewed by: ps
Approved by: jhb
MFC after: 5 days
Notes:
svn path=/head/; revision=107141
|
| |
|
|
|
|
|
|
|
| |
after configure() has run. Only create the device if ofwcons is the
highest priority console. Make a dev alias with the same name as the
firmware output-device property.
Notes:
svn path=/head/; revision=107044
|
| |
|
|
|
|
|
|
|
|
| |
reset the chip on open if we're not the console.
This fixes running a getty on ttya or ttyb if console input and output
devices are screen.
Notes:
svn path=/head/; revision=107042
|
| |
|
|
|
|
|
| |
delay in the right place to flush output before switching consoles.
Notes:
svn path=/head/; revision=107038
|
| |
|
|
|
|
|
|
|
|
|
| |
trigger a breakpoint with this chip.
- Fiddle the right bits in the cn input and output routines to disable port
interrupts and enable visibility of the masked interrupt status bits.
- Register a shutdown final event handler to put the chip back in the mode
that the prom expects.
Notes:
svn path=/head/; revision=107016
|
| |
|
|
|
|
|
|
| |
Submitted by: akiyama
MFC after: 3 days
Notes:
svn path=/head/; revision=107014
|
| |
|
|
|
|
|
| |
Submitted by: akiyama
Notes:
svn path=/head/; revision=107013
|
| |
|
|
|
|
|
|
| |
Submitted by: akiyama
MFC after: 3 days
Notes:
svn path=/head/; revision=107008
|
| |
|
|
|
|
|
| |
isn't supported.
Notes:
svn path=/head/; revision=106999
|
| |
|
|
| |
Notes:
svn path=/head/; revision=106950
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o don't strip the Ethernet header from inbound packets; pass packets
up the stack intact (required significant changes to some drivers)
o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN)
o track ether_ifattach/ether_ifdetach API changes
o track bpf changes (use BPF_TAP and BPF_MTAP)
o track vlan changes (ifnet capabilities, revised processing scheme, etc.)
o use if_input to pass packets "up"
o call ether_ioctl for default handling of ioctls
Reviewed by: many
Approved by: re
Notes:
svn path=/head/; revision=106937
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
o use if_input for input packet processing
o don't strip the Ethernet header for input packets
o use BPF_* macros bpf tapping
o call ether_ioctl to handle default ioctl case
o track vlan changes
Reviewed by: many
Approved by: re
Notes:
svn path=/head/; revision=106936
|
| |
|
|
|
|
|
| |
device_get_softc() is used.
Notes:
svn path=/head/; revision=106922
|
| |
|
|
|
|
|
| |
Reviewed by: imp
Notes:
svn path=/head/; revision=106914
|
| |
|
|
|
|
|
| |
so that this code compiles on alpha.
Notes:
svn path=/head/; revision=106912
|
| |
|
|
|
|
|
| |
o Add support for bus_child_present call by implementing that method for cbb.
Notes:
svn path=/head/; revision=106900
|
| |
|
|
|
|
|
|
| |
o Make this code a little easier to understand by using simpler if
statements, but nesting them.
Notes:
svn path=/head/; revision=106899
|
| |
|
|
|
|
|
|
|
|
|
| |
o Use 32-bit unsigned types for things that really are 32-bit quantities,
not bus_addr_t. These are not the same as a bus_addr_t, so don't use
that here. Harmless on i386, introduced problems on sparc64.
Submitted by: jhb
Notes:
svn path=/head/; revision=106898
|
| |
|
|
| |
Notes:
svn path=/head/; revision=106896
|
| |
|
|
|
|
|
|
| |
o Add a diagnostic for an 'impossible' condition.
o Collapse common code.
Notes:
svn path=/head/; revision=106895
|
| |
|
|
| |
Notes:
svn path=/head/; revision=106894
|
| |
|
|
| |
Notes:
svn path=/head/; revision=106893
|
| |
|
|
| |
Notes:
svn path=/head/; revision=106892
|
| |
|
|
| |
Notes:
svn path=/head/; revision=106891
|
| |
|
|
|
|
|
|
|
|
|
|
| |
bit in the PCI command register for the device. Otherwise, device drivers
that look at this register to see which types of BARs are usable will think
that none of them are.
This allows my Adaptec 1480A cardbus card to finally work.
Reviewed by: imp
Notes:
svn path=/head/; revision=106881
|
| |
|
|
| |
Notes:
svn path=/head/; revision=106860
|
| |
|
|
|
|
|
| |
Submitted by: Hiten Pandya <hiten@angelica.unixdaemons.com>
Notes:
svn path=/head/; revision=106859
|
| |
|
|
|
|
|
|
|
|
| |
a loader tunable hw.pci.allow_unsupported_io_range.
Submitted by: Hiten Pandya <hiten@angelica.unixdaemons.com>
Approved by: re (murray)
Notes:
svn path=/head/; revision=106844
|
| |
|
|
|
|
|
|
| |
Submitted by: Hiten Pandya <hiten@angelica.unixdaemons.com>
Obtained from: re (murray)
Notes:
svn path=/head/; revision=106843
|
| |
|
|
| |
Notes:
svn path=/head/; revision=106816
|
| |
|
|
|
|
|
| |
- Fix style.
Notes:
svn path=/head/; revision=106815
|