Commit Graph

139292 Commits

Author SHA1 Message Date
bouyer d342a7617e Define a xendevbus atttibute and add it to hypervisor. Use it for xen devices
which attach to hypervisor. This allows to use config_found_ia() instead of
config_found(), instead of relying on the order of which device are
written in ioconf.c.
From Quentin Garnier.
2005-08-21 22:20:28 +00:00
gavan 0216bccfb3 Recognise Broadcom 5751M Gigabit Ethernet, as found on ThinkPad T43p. 2005-08-21 21:32:26 +00:00
gavan 19269ca4c1 regen 2005-08-21 21:21:48 +00:00
gavan 756529f056 Add BCM5751M 2005-08-21 21:20:20 +00:00
he 802a809508 LIBCRYPTO is also needed, fixes build on sun2 (static link only, so far). 2005-08-21 20:26:39 +00:00
elad 7345c13cbb Add comments about intentionally not documenting the deprecated -1, -2, -4,
-5, -6, and -m flags so they are not mistakenly get documented again in the
future.
2005-08-21 19:33:10 +00:00
elad a7d7292dfa Some changes to cksum:
1. Deprecate the -1, -2, -4, -5, -6, and -m flags. For now, simply remove
   them from the documentation.

2. Add and document ``-a algorithm''.
2005-08-21 18:51:44 +00:00
riz c632ba3dbb Create the release notes framework for the amd64 port. These are,
for the most part, skeleton files that allow the amd64 INSTALL document
to have all the platform-independent bits, with very little MD stuff.

The MD pieces will have to wait for someone familiar with the platform
to add them.
2005-08-21 18:35:26 +00:00
lukem c114b2eb28 Don't clear the trailing character on the auth_url() username;
we now use getline() and that newline strips for us.
Problem found & fixed by Mark Davies.
2005-08-21 16:16:33 +00:00
tron dfad02ecbb Add "./usr/include/crypto/sha2.h". 2005-08-21 15:37:57 +00:00
yamt 6788570f66 xen_parse_cmdline:
- use BOOT_FLAG macro.
- allow RB_KDB because it works fine, depending on type of console.
2005-08-21 13:15:43 +00:00
yamt ebfab35576 old_sysctl: fix null dereference when oldlenp == NULL. 2005-08-21 13:14:54 +00:00
yamt 0ed4057082 linux_machdepioctl: remove duplicated FILE_USE/UNUSE. 2005-08-21 13:13:50 +00:00
yamt 1a3bee2634 - count if_opackets correctly.
- reflect tx errors to if_oerrors.
2005-08-21 13:12:59 +00:00
dyoung 0ca62afd93 Remove redundant ath_tsf_extend subroutine. Use ath_extend_tsf,
instead.  This reduces diffs with FreeBSD as a side-effect.
2005-08-21 00:25:51 +00:00
dyoung 51f2ebb45a In ieee80211_mbuf_adjust, cope with read-only mbufs: make the
802.11 header + opt(crypto header) + LLC writable, regardless of
crypto state.  If s/w crypto is enabled, still make the entire
chain writable, as before.

Reviewed by: Nick Hudson
2005-08-21 00:07:57 +00:00
dsl 8c772bc707 Don't apply CDPATH if the the first component of the target is "." or "..".
Fixes PR/30973 and applies the principle of least surprise.
Update documentation to match (including date).
(matches behaviour of pdksh - if not it's documentation)
2005-08-20 21:07:42 +00:00
elad 39ce11e146 Pass lint and make this compile.
Also change bcopy, bzero -> memcpy, memset.
2005-08-20 20:52:52 +00:00
dsl 72723e24f6 Fix PR/31023 completely - the messages should not have been displayed at all. 2005-08-20 20:43:26 +00:00
abs 2ea92d2f7a Support booting from ffsv2 filesystems - thanks Simon Burge 2005-08-20 20:15:57 +00:00
abs 60d651f649 Include the ffsv2 filesystem ops. Necessary but not sufficient for booting
from an FFSv2 filesystem. Similar change tested on NetBSD-3
2005-08-20 20:09:25 +00:00
bouyer cd1cc7810a Also properly check the alignement and boundary constraints. 2005-08-20 20:06:24 +00:00
dsl 2b3be83563 Add missing 'n', fixes install/31023 - from Zafer Aydogan 2005-08-20 19:49:07 +00:00
bouyer 0944c0fa9d Deal with the machine address space being non-contigous in bus_dmamem_alloc():
- Define _BUS_AVAIL_END to 0xffffffff, as we don't have an easy way to
  find the upper bound for our machine address space (and this can change
  when we swap pages with the hypervisor).
- implement _xen_bus_dmamem_alloc_range(), which will request a contigous
  set of pages to the hypervisor if the pages returned by uvm_pglistalloc()
  don't fit the constraints.
We can't deal with the low/high constraints yet, because Xen doesn't offer a
way to get pages in a specific ranges of addresses.

Based on patches from Dave Thompson (in private mail), with heavy hacking
by me.
2005-08-20 19:30:37 +00:00
bouyer 54ecd3d8a1 Implement xpq_queue_machphys_update(), which queues a request to
update the machine to physical table (to be used after a
MEMOP_increase_reservation).
2005-08-20 19:20:54 +00:00
bouyer 7ce7159ca0 More adjustements to deal with Xen's physical <=> machine addresses mappings:
- Allow _bus_dmamem_alloc_range to be provided from external source:
  Use a _PRIVATE_BUS_DMAMEM_ALLOC_RANGE macro, defined to
  _bus_dmamem_alloc_range by default.
- avail_end is the end of the physical address range. Define a macro
 _BUS_AVAIL_END (defined by default to avail_end) and use it instead.
2005-08-20 19:18:11 +00:00
skrll 680596d08e Add __RCSID. 2005-08-20 19:01:16 +00:00
elad 3dbf8d11de Not running lint on kernel code fooled me into thinking this was safe.
Don't compile SHA2 code until I resolve warnings.
2005-08-20 18:57:50 +00:00
tsutsui 54713c08ec Count jazzio timer interrupts by evcnt(9). 2005-08-20 17:58:49 +00:00
rpaulo 82bdaacb4f Adapted to the changes of grfinfo(1) MANSUBDIR (hp300). (thanks Klaus Klein) 2005-08-20 17:23:53 +00:00
rpaulo 6443bd996e grfinfo(1) is hp300 specific, so move the man page to the hp300 subdir. 2005-08-20 17:21:29 +00:00
rillig 9e7b9d2566 Partly reverted my last change. I had forgotten that off_t is a signed
data type.
2005-08-20 16:17:36 +00:00
elad 866f37de4e Add SHA2 hashing routines to userland.
At the moment there's only code for the init/transform/update/final
routines.

Man-page from OpenBSD.
2005-08-20 16:14:34 +00:00
elad 4bbe952358 Install sha2.h to /usr/include/crypto. 2005-08-20 15:42:03 +00:00
kent 868a42c866 fix a compilation problem on NetBSD/amd64 2005-08-20 15:02:36 +00:00
kent ed574610ee fix compilatio problems on LP64 2005-08-20 15:00:27 +00:00
kent 2fd38e91a5 fix a compilation problem on LP64 2005-08-20 14:59:20 +00:00
kent 8dbae00531 fix compilation problem on LP64 2005-08-20 14:58:34 +00:00
kleink e6c7296450 Add __{BEGIN,END}_DECLS wrapping. 2005-08-20 14:54:06 +00:00
yamt 5cb036f6e3 add wedge support to xbd and cgd. 2005-08-20 12:03:52 +00:00
yamt bc505ef8dd use pseudo_disk_{init,attach,detach} where appropriate. 2005-08-20 12:01:04 +00:00
yamt 6f645a09cb introduce a variant of disk_attach/detach, for pseudo disks
which is opened by user before being attached.
2005-08-20 12:00:01 +00:00
rillig 7b9a62a31f Don't cast unsigned values to long long. They might overflow. 2005-08-20 09:03:29 +00:00
rillig 410ba033c5 Use exit(EXIT_FAILURE) instead of exit(1). 2005-08-20 08:58:57 +00:00
yamt e55179f33a cast f_fileno to uint64_t to be more portable. 2005-08-20 05:25:16 +00:00
tsutsui 1d47271b63 options<space><tab> 2005-08-20 03:42:01 +00:00
manu da8e7434f3 Update for ipsec-tools 0.6.1 2005-08-20 01:06:25 +00:00
manu 0b97cbeb71 Update to ipsec-tools 0.6.1 2005-08-20 00:57:06 +00:00
manu 96ae7759c9 Import ipsec-tools 0.6.1 2005-08-20 00:40:43 +00:00
rpaulo b81a06d8eb Correct typo in comments found by Roland Illig. 2005-08-19 20:24:33 +00:00