macallan
9e6ba6a694
use mapiodev() so this can work on G5s
2018-03-01 16:03:02 +00:00
roy
81467f5340
Sprinkle some const.
2018-03-01 14:40:57 +00:00
macallan
cf0535ba29
match /u3, found in some G5
2018-03-01 13:55:25 +00:00
macallan
1f3e09edfd
match K2 UATA, found in some G5
2018-03-01 13:54:36 +00:00
pgoyette
9ff8341ec6
Follow previous entries, and list the imc and imcsmb devices twice,
...
once each for amd64 and i386
2018-03-01 08:44:12 +00:00
snj
20d4794225
no more /usr/X11R6
2018-03-01 07:18:39 +00:00
snj
a2be0079d4
remove reference to /usr/X11R6
2018-03-01 06:37:40 +00:00
mrg
ae53c1c5be
move the imc code into x86/pci/files.pci so that pci is defined in time.
2018-03-01 06:36:12 +00:00
snj
28c97c06b5
remove mention of /usr/X11R6
2018-03-01 06:34:23 +00:00
snj
cb9b4ba530
delete now-irrelevant comment
2018-03-01 06:24:12 +00:00
snj
017fa37fab
/usr/X11R6 has been empty on most NetBSD installations since 2008,
...
and the last few straggling ports dumped it in 2015. It's time to
prune references to /usr/X11R6 from our config files.
2018-03-01 06:12:09 +00:00
maxv
5ef9f48133
Revert rev1.183 (2003).
...
It was intended as an optimization, but it increases the attack surface:
the IPsec policy is not enforced on RST packets when the socket is in the
LISTEN state, and an (unauthenticated) attacker could jam the connection
between two IPsec hosts by sending RST packets between the client's SYN
and ACK packets.
Discussed with ozaki-r@.
2018-03-01 06:08:43 +00:00
maya
5eb49c4efd
Limit building & calling ACPI MCFG to kernels with PCI and ACPI.
...
pci_quirks.c requires pci
acpi_mcfg.c was recently changed to use pci_quirks.c functions.
as a result, ia64 kernels with acpi but no pci failed to link.
tested an ia64 and amd64 kernels build.
2018-03-01 06:00:49 +00:00
pgoyette
8ea6ee8a58
Use 1-byte data-buffers when writing to the "control" device for the
...
SPD ROMs (we do this for page-selection). The imcsmb doesn't support
zero-byte transfers.
With this, I'm able to get the data for all 8 of my DIMMs (on two
different imcsmb busses) using the spdmem(4) driver. And the data
decodes correctly using the decode-dimms utility (from the linux
i2ctools).
2018-03-01 05:47:22 +00:00
pgoyette
097c0f8f7b
Adjust PATHs for files that were moved
2018-03-01 04:53:05 +00:00
pgoyette
30e4e001c4
The imc and imcsmb drivers have moved to x86-specific directory
2018-03-01 04:48:32 +00:00
pgoyette
82ae8dd180
Move the imc(4) and imcsmb(4) sources into architecture-specific
...
directory (for previous CVS history see the sys/dev/pci/imcsmb/
Attic)
2018-03-01 04:45:05 +00:00
pgoyette
f700503f15
Replace spaces with tabs (xterm copy-&-pasto)
2018-03-01 04:35:04 +00:00
pgoyette
45c72eabee
Use imc and imcsmb for the new x86 device names. Now that they're
...
defined in the architecture-specific files.x86 they won't conflict
with the sgimips imc device.
2018-03-01 04:31:22 +00:00
pgoyette
3e0cb5d705
Move the imc and imcsmb stuff out of general files.pci and into the
...
architecture-specific files.x86
Should unbreak the sgimips build.
2018-03-01 04:29:37 +00:00
pgoyette
c74908b431
Note that we're now using iimc and iimcsmb
...
XXX Existing recently-added imc and imcsmb drivers for x86_64 and i386
XXX will be renamed appropriately.
2018-03-01 04:20:12 +00:00
msaitoh
3eee9a3e7d
Do wm_reset_mdicnfg_82580() on 82580 only.
2018-03-01 03:32:33 +00:00
msaitoh
6f8d6dd6b6
- Fix a bug that wm_pll_workaround_i210() is not called on some cases.
...
As I wrote in if_wm.c rev 1.329's commit message, There are three cases:
a) Chip is I211
b) Chip is I210 and it uses INVM (not FLASH)
c) Chip is I210 (it uses FLASH) and NVM image version < 3.25
Before this commit, the workaround function was not called on a) and b).
- Rename function.
2018-03-01 03:30:12 +00:00
snj
51521ab7d9
prune disabled XIDLE support. the required X server extension hasn't been
...
around for a couple decades now. even if someone wanted to modernize this,
it wouldn't be appropriate for NetBSD, since we don't want programs in base
to be linked against X libs.
2018-02-28 23:45:56 +00:00
macallan
eeb3b17ba1
add workaround for PHY detection on Apple K2 GMAC
...
adapted from openbsd
2018-02-28 23:08:30 +00:00
pgoyette
d0a8c296e3
Teach the ichsmb(4) driver how to detach.
2018-02-28 22:36:02 +00:00
uwe
cd711bd2b9
Simplify - it's enough to set nctx.uc_link to &octx to restore old
...
context automatically when swapfunc() returns.
2018-02-28 21:36:50 +00:00
uwe
5eea33881e
Add missing $ in the RCSID.
2018-02-28 21:29:10 +00:00
uwe
ce9b54992a
PIC code clobbers %r30 so we need to update the saved oucp with
...
caller's %r30 manually. Makes old context happy when it needs to do
more function calls after restore.
(oops, forgot to commit this along with swapcontext.S)
2018-02-28 21:00:02 +00:00
uwe
8e33e1ffff
PIC code clobbers %r30 so we need to update the saved oucp with
...
caller's %r30 manually. Makes old context happy when it needs to do
more function calls after restore.
2018-02-28 20:51:58 +00:00
snj
e1cd7a269b
prune 5.x upgrade section
2018-02-28 20:13:09 +00:00
mrg
a14db5ae62
switch an assert in backtrace to an error return.
2018-02-28 20:11:09 +00:00
snj
fdc61e1224
vax folks probably aren't the _most_ interested in current developments,
...
but i think most of them probably know, 16 years later, that we switched
from a.out to ELF.
2018-02-28 20:09:29 +00:00
flxd
1c543a3199
Cosmetic printf/aprint changes.
...
Add missing return statement after failed pci_intr_establish().
2018-02-28 18:03:48 +00:00
flxd
3dd95c0733
Cosmetic fix for the Physical Address Registers PAR0 to PAR5.
2018-02-28 17:13:44 +00:00
ozaki-r
372b74399c
Remove an obsolete assertion too (fix build)
...
bif_refs was removed when migrated to use psref.
2018-02-28 13:12:53 +00:00
maxv
f3215192fd
add missing static
2018-02-28 11:29:14 +00:00
maxv
17614cda2e
Remove unused ipsec_private.h includes.
2018-02-28 11:23:24 +00:00
maxv
d81439a881
Remove unused macros, and while here style.
2018-02-28 11:19:49 +00:00
maxv
f05cdaa5c6
(just forgot to commit this file, the message was)
...
Remove duplicate IPSEC_STATINC(IPSEC_STAT_IN_POLVIO), ipsec_in_reject
already increases it. IPSEC6_STATINC is now unused, so remove it too.
2018-02-28 11:10:22 +00:00
maxv
e9a0140794
Remove duplicate IPSEC_STATINC(IPSEC_STAT_IN_POLVIO), ipsec_in_reject
...
already increases it. IPSEC6_STATINC is now unused, so remove it too.
2018-02-28 11:09:03 +00:00
ozaki-r
a96bf12681
Sweep obsolete BRIDGE_MPSAFE (it's always on now)
2018-02-28 10:34:04 +00:00
maxv
d55163dec9
Remove unused mbuf tags.
2018-02-28 10:30:20 +00:00
maxv
247966d592
Dedup: merge ipsec4_setspidx_inpcb and ipsec6_setspidx_in6pcb.
2018-02-28 10:16:19 +00:00
maxv
f931621816
ipsec6_setspidx_in6pcb: call ipsec_setspidx() only once, just like the
...
IPv4 code. While here put the correct variable in sizeof.
ok ozaki-r@
2018-02-28 10:09:17 +00:00
mrg
ba849c5621
in sockaddr_getsize_by_family() print the p_comm, pid and lid
...
for unknown address family. helps location where missing
af settings are.
2018-02-28 09:44:25 +00:00
pgoyette
c71d6c8e27
Remove exgtra / in the $NetBSD$ line. Thanks to leot@ for spotting it!
2018-02-28 09:25:02 +00:00
pgoyette
822434bf76
Remove extra */ from comment - fix build
2018-02-28 09:07:18 +00:00
pgoyette
6df876f615
Mention imcsmb(4)
2018-02-28 08:15:27 +00:00
pgoyette
60a40acd83
Remove extra blank line
2018-02-28 06:08:14 +00:00