Commit Graph

126170 Commits

Author SHA1 Message Date
thorpej 466915b256 Flow control support for DP83820 and SiS900. From HITOSHI Osada. 2004-04-11 21:16:00 +00:00
thorpej 21cfdb75e2 Improvements to DP83820 support, from HITOSHI Osada:
- Fix jumbo frame support.
- Disable interrupts at the chip in sip_intr().
- Disable checksum offloading if MTU > 8109 - the hardware is broken
  in this case.
- Use the interrupt hold-off timer.
- Correct the Tx FIFO size.
- Add Pause Control/Status register definitions.
2004-04-11 16:57:44 +00:00
fredb 1f2cde04db Fix a couple of minor typos. 2004-04-11 16:33:02 +00:00
thorpej a85c2a8f12 mii_phy_flowstatus(): short-circuit processing if both sides advertise
symmetric pause capability.  From HITOSHI Osada.
2004-04-11 15:47:33 +00:00
thorpej ad35f1d6fa Add a comment describing why we force renegotiation when PAUSE is being
used.  From HITOSHI Osada.
2004-04-11 15:42:48 +00:00
kochi d742fdc844 - don't evaluate _UID, reuse ACPI_DEVINFO
- move acpi_resources from acpi_ec_softc to stack
2004-04-11 15:41:50 +00:00
thorpej 08645d15fe gmii_phy_getflowcontrol() -> mii_phy_flowstatus(). From HITOSHI Osada. 2004-04-11 15:40:56 +00:00
pooka 86c1f3c5e3 sgimips IP12 support 2004-04-11 13:35:12 +00:00
he 9b1375ac78 Undef bool before including <curses.h>, since it tries to typedef
bool.  Otherwise we get (at least on gcc 2.95.3) an empty declaration
warning from "typedef char char;" due to the #define of bool in
phantstruct.h.
2004-04-11 13:35:06 +00:00
wiz 0f952b0c54 Bump date for previous. 2004-04-11 13:31:17 +00:00
pooka 0d197bf832 KNF some and make printf output a bit nicer. 2004-04-11 12:17:10 +00:00
pooka 34bd15648e Add IP12 stuff. Most bits included are from Steve Rumble.
After this change it is possible to run IP12.
2004-04-11 12:13:20 +00:00
pooka 0e36d54eba Fix base address for i8254 calibration code. This has the effect of
us writing to the correct addresses and the thing actually working.
2004-04-11 12:05:37 +00:00
pooka 95d984a2eb Don't report page 0 as free memory, it makes bad things happen. 2004-04-11 11:34:13 +00:00
kochi 1055d5f701 split power button and sleep button HIDs so that they can be matched
against compatibility IDs.
2004-04-11 11:25:34 +00:00
kochi 193c08b383 Clean up memory allocated during autoconfiguration 2004-04-11 10:36:35 +00:00
pooka 817b0a57d8 Make das blinkenlights, well, blink on IP12 also. 2004-04-11 10:29:20 +00:00
kochi 23f6ddb8d9 change acpi_resource_parse API to support _PRS parsing as well as _CRS 2004-04-11 09:38:19 +00:00
kochi 0dd2fcbaed + add prototype
+ designated initializers
+ call callback functions only when defined
2004-04-11 09:25:28 +00:00
he 30f13a8751 Avoid using preprocessing conditionals in a macro argument list at least
as long as all ports have not yet been converted to using gcc 3.3.3.

Build bug discovered when building for vax.
2004-04-11 09:10:58 +00:00
kochi e0945a0006 change acpi_resource_parse API to support _PRS parsing as well as _CRS 2004-04-11 08:56:48 +00:00
kochi b547a6d28f change acpi_resource_parse API to support _PRS parsing as well as _CRS 2004-04-11 08:36:19 +00:00
kochi 9a5dc2e233 return (x) -> return x 2004-04-11 06:52:38 +00:00
kochi 2bde9b6026 return (x) -> return x
use consitent variable name for ACPI_STATUS
2004-04-11 06:48:25 +00:00
rh 56d86cdd8c Make pkg_add recognise binary packages built with ignored recommendations
(IGNORE_RECOMMENDED set in the presence of RECOMMENDED pre-requisites).
This change is fully backward-compatible: binary packages have set the
corresponding BUILD_INFO since RECOMMENDED was implemented.  Packages
built before that time will install as before.
Bump PKGTOOLS_VERSION to 20040411.
This closes PR pkg/24712 by Thomas Klausner.
2004-04-11 06:13:46 +00:00
kochi e80850866a de __P, ANSIfy PCIBIOS related files. 2004-04-11 06:00:25 +00:00
snj 853c328fb4 Bump date for last. 2004-04-11 04:15:53 +00:00
oster e3d079e02e Swapping to RAID 5 is happy now. Remove indications to the contrary. 2004-04-11 02:46:27 +00:00
darrenr c4acd0486b from freebsd's kern/36219, the if expression in deciding whether or not
to return something check the value of bd_state in the wrong place.
2004-04-11 01:41:01 +00:00
pooka 451031bddf RCS Id police 2004-04-11 00:44:47 +00:00
cl 9f3568420d call HYPERVISOR_exit on reboot 2004-04-11 00:44:15 +00:00
cl d145eca4fb catch up with arch/x86/x86/intr.c
1.15/kochi
use designated initializer for struct pic initializers.
just for readability.

update the xenev_pic initializer as well
2004-04-11 00:18:29 +00:00
cl 2bdade5a16 - remove pmap_kenter_ma prototype here
- xennet? is an interface not a driver (boot message)
2004-04-11 00:00:43 +00:00
cl 1eec38f848 get the time from Xen 2004-04-10 23:50:23 +00:00
cl 9ce2a8f441 add prototype for pmap_kenter_ma 2004-04-10 23:47:24 +00:00
cl 96cf6c6c11 - fix signatures for HYPERVISOR_stop, HYPERVISOR_dom0_op and
HYPERVISOR_block_io_op
- add error checking for HYPERVISOR_mmu_update and
  HYPERVISOR_update_va_mapping
- add missing memory barriers
- initialize dom0_op->interface_version
2004-04-10 23:46:26 +00:00
cl c0b5dece66 Make rcr2() always return 0. We only get cr2's value for page faults and
trap() knows where to find it.
2004-04-10 23:39:54 +00:00
cl 7556fed6d2 fix kernel command line parsing:
- initialize bootdev for if it's not set in the command line
- correctly parse command lines with multiple spaces between words
2004-04-10 23:33:50 +00:00
darrenr eee3190c06 Fix bpf so that select will return for a timeout (from FreeBSD.)
Fix the behaviour of BIOCIMMEDIATE (fix from LBL BPF code via FreeBSD.)

In bpf_mtap(), optimise the calling of bpf_filter() and catchpacket()
based on whether or not the entire packet is in one mbuf (based on
similar change FreeBSD but fixes BIOC*SEESENT issue with that.)

Copy the implementation of BIOCSSEESENT, BIOCGSEESENT by FreeBSD.

Review Assistance: Guy Harris

PRs: kern/8674, kern/12170
2004-04-10 23:31:51 +00:00
cl 0488cca3a2 remove incorrect assert: pdp-pool entries can be reclaimed at any time,
even while APDP is mapped.
2004-04-10 23:31:41 +00:00
pooka 4b60b79ce8 build arcemu 2004-04-10 22:48:44 +00:00
pooka bc32b3ffbe Clock interrupt routine for mips1 (ip12) from Steve Rumble. 2004-04-10 22:48:12 +00:00
pooka 03e520f443 * The HPC endianness register isn't mapped on my IP12, so don't try to
unconditionally read it
* IP12 glue from Steve Rumble
2004-04-10 21:59:42 +00:00
pooka 0df6470670 don't attempt to init pckbd console on IP20 2004-04-10 21:47:33 +00:00
pk 9450998e71 pmap_copy_page4m(): we only need to flush the local cache since we use
private virtual addresses.
2004-04-10 20:51:24 +00:00
pk 9d95da7f96 Remove a number of redundant TLB page flushed, which are now done in
setpgt4m_va() and updatepte4m() as necessary.
2004-04-10 20:43:02 +00:00
pooka 3f96344b80 Don't unconditionally initialize seeprom chip type after we've
conditionally initialized it to the correct type.

spotted by Steve Rumble
2004-04-10 20:23:05 +00:00
pooka 9b2f4efe28 Rework conditional statement a bit to print bit about using ARCS for
console I/O if nothing really attached, not if we just called consinit()
with an invalid IPxy mach_type.

inpired by Steve Rumble
2004-04-10 20:15:12 +00:00
pooka 737a72e779 attach zs console on IP12
from Steve Rumble
2004-04-10 20:03:11 +00:00
pk 6452e19758 De-__P(). 2004-04-10 20:00:29 +00:00