Commit Graph

73607 Commits

Author SHA1 Message Date
thorpej 0b541534c5 Add an "ifr_dlt" alias for the union in struct ifreq. 2000-12-18 21:03:34 +00:00
thorpej 192e2774b3 Always pull in DLT_* constants. 2000-12-18 20:58:41 +00:00
thorpej ca9af6e52e Pull in BPF includes. 2000-12-18 20:58:13 +00:00
thorpej 023adb3093 Use IFQ_PURGE(). 2000-12-18 20:50:36 +00:00
jdolecek ca8ea62791 add freebsd_syscall.c 2000-12-18 20:50:09 +00:00
jdolecek 02f7f5ef0e make compilable within LKM 2000-12-18 20:49:17 +00:00
thorpej 5363e5eed4 ALTQ'ify. 2000-12-18 20:47:10 +00:00
scw ab70197801 Select the object format in the Makefile, to allow selecting on
%MACHINE when deciding what object formats to support.
2000-12-18 20:43:58 +00:00
thorpej 541812a992 ALTQ'ify. 2000-12-18 20:41:44 +00:00
jdolecek 6701524af4 put back the rval[1] microoptimization, this is no longer used by FreeBSD emulation 2000-12-18 20:40:25 +00:00
jdolecek 2db538c869 separate the freebsd syscall code similarily to other emulations 2000-12-18 20:38:27 +00:00
thorpej df6482a625 ALTQ'ify. 2000-12-18 20:32:08 +00:00
thorpej cc6e5d835f Adapt to ALTQ-related API changes (driver is not fully ALTQ'ified yet). 2000-12-18 20:23:04 +00:00
matt 9efc721402 Don't use atapi_print since if there are no wdc's, it won't be present. 2000-12-18 19:57:47 +00:00
thorpej ed7695a765 Fill in if_dlt. 2000-12-18 19:44:33 +00:00
thorpej 23df92e38d Small cosmetic change. 2000-12-18 19:36:41 +00:00
thorpej 6484f81abc We now support hw vlan tag support in network interfaces, so remote it
from the TODO list.
2000-12-18 19:32:20 +00:00
thorpej 00d64bedbc Add a if_dlt member, used so that userland can query the DLT_* of an
interface without having to first attach it to a bpfdesc.
2000-12-18 19:25:57 +00:00
thorpej db9fd3e536 Add ALTQ support. This is used for testing/debugging ALTQ only. It
is triggered only on loopback interfaces, and not simplex interfaces
(which also use looutput()).
2000-12-18 19:18:33 +00:00
thorpej 66539b9373 Add ALTQ support. 2000-12-18 18:57:21 +00:00
fvdl 9b9e4d9652 caddr_t -> void * 2000-12-18 18:57:11 +00:00
thorpej 13a32129a0 Bump rev -- size of ifnet changed. 2000-12-18 18:55:43 +00:00
thorpej 2663dfcf85 Commit to the ALTQ glue. 2000-12-18 18:54:47 +00:00
thorpej 721139924d Add a version of the 802.11 frame header that includes the 4th address. 2000-12-18 18:00:23 +00:00
abs cf699a23e5 Add a 'value engineered' generic pcmcia CD-ROM drive, badged 'AMACOM'.
No vendor ID, no product ID, and the wpp_cis_info is 'PCMCIA', 'CD-ROM'.
I'd be encouraged at some progress towards 'generic devices', except
someone else is bound to produce something that identifies the same, but
requires a quirk. Can I go back to my sparc now?
Make two other comments consistent while here.
2000-12-18 17:21:11 +00:00
mjl e2372c3a0b Regen 2000-12-18 17:00:44 +00:00
mjl ca4a96b3da Add Avance Logic ALS100+ 2000-12-18 16:55:46 +00:00
fvdl b7ffc98bf8 Fix pasto in previous. 2000-12-18 16:27:20 +00:00
mrg 32b8108b06 s/%qx/%llx/ 2000-12-18 15:57:15 +00:00
tsutsui 3bd1aace1b Add missed le32toh() in uhci_device_isoc_abort(). 2000-12-18 15:55:30 +00:00
wiz 9632067072 add FSVO (for some value of) 2000-12-18 15:05:30 +00:00
mrg 272c549ab2 copy exec_aout.c:exec_aout_setup_stack to netbsd32_exec_aout_setup_stack,
but use USRSTACK32 not USRSTACK, so that we get 32-bit stack addresses.

now 32 bit a.out binaries work on sparc64.
2000-12-18 14:50:04 +00:00
mrg dd2f1cdf71 - rename 32bit USRSTACK32, and define USRSTACK to that if !__arch64__, so that
64bit code can see USRSTACK32
- bump the limits
2000-12-18 14:48:26 +00:00
fvdl 3259cebc4c For unknown ioctls, pass them through to a device using PTIOCLINUX,
so that it may deal with them if it knows them (i.e. LKMs which
deal with Linux binaries).
2000-12-18 14:47:38 +00:00
fvdl 865e7b1375 Pass SIOC* calls that are done on devices (not sockets) through
without trying to interpret done, as is done on Linux. The device
will get them as PTIOCLINUX, with command and arg in the structure
passed in.
2000-12-18 14:46:36 +00:00
fvdl 8578d458e5 Define LINUX_SIOCDEVPRIVATE (currently not emulated for sockets). 2000-12-18 14:44:44 +00:00
fvdl 05434b01ba Add defines for 'passthrough' (PTIOC) ioctl commands. To be used for
devices that use private sets of ioctls (in LKMs), which should not
conflict with other defines. Define a value for each emulation, so
that, for example, Linux binaries which have specific ioctls
redefined to passthrough ones by the compat code, don't conflict
with other emulations.
2000-12-18 14:43:43 +00:00
fvdl 4d193ccde8 Add seperate entries for 16 bit uid/gid calls, so that border cases
like 0xffff can be handled better (not done yet).
2000-12-18 14:40:02 +00:00
fvdl 0bda0568cf Regen. 2000-12-18 14:37:36 +00:00
fvdl 41623d32a2 Update for Linux calls with 32 bit uids/gids. 2000-12-18 14:37:17 +00:00
fvdl 8839755950 Update for 32 bit Linux uid/gid calls. 2000-12-18 14:36:35 +00:00
jdolecek 214db5ca6b Store edx to rval[1], so that it won't get zeroed spuriously - this made
shared FreeBSD binaries coredump.
This solves port-i386/11708 by Atsushi Onoe.

XXX it may be worth it to split FreeBSD syscall code off syscall.c similar way
XXX as other emulations
2000-12-18 11:37:08 +00:00
hubertf db8b15ae28 A sane distrib doesn't only need etc.tgz and kern.tgz, but also base.tgz.
Check for it!

Fixes PR 11634 by Wayne Berke <wayber@rcn.com>
2000-12-18 09:39:50 +00:00
hubertf 55e87ae551 Do not tell the user we've newfs'd his disks when upgrading.
May safe him a heart attack or two.

Fixes PR 9655 and some others.
2000-12-18 09:18:46 +00:00
jdolecek f66ae436e9 make compilable without KTRACE, too 2000-12-18 08:53:39 +00:00
scw 9bb48d10db Pick the supported object formats in the Makefile instead of extern.h.
This gives more control of which platforms support which formats.
(Basically because __%{MACHINE}__ is not pre-defined by the compiler)
2000-12-18 08:51:39 +00:00
hubertf 84a116117c Document /etc/localtime, per PR 8099 by Charles Hannum. 2000-12-18 07:57:02 +00:00
jmc c5ddb89d6e Patch from Hubert. aliases never get rebuilt if aliases.db is never originally generated. 2000-12-18 07:56:41 +00:00
joff 1c70af9809 Added myself. (Jesse Off) 2000-12-18 06:39:38 +00:00
hubertf 3df3bcf30b Fix typo in calculation of partition's end (s/mbrp_size/mbrp_start/).
Fix reported in PR 7556 by Arne Juul <arnej@math.ntnu.no>
2000-12-18 04:52:52 +00:00