Skip site navigation (1)Skip section navigation (2)

CVS log for src/sys/powerpc/conf/NOTES

[BACK] Up to [FreeBSD] / src / sys / powerpc / conf

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.33.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.33.2.1: preferred, colored
Changes since revision 1.33.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Jun 4 15:17:35 2011 UTC (8 months ago) by andreast
Branches: MAIN
CVS tags: RELENG_9_BP, HEAD
Branch point for: RELENG_9
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -0 lines
SVN rev 222686 on 2011-06-04 15:17:35Z by andreast

Add new fan controller driver for the G4 MDD PowerMac. Submitted and tested
by Justin Hibbits.

Approved by:	nwhitehorn (mentor)

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun May 29 14:25:42 2011 UTC (8 months, 1 week ago) by andreast
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -0 lines
SVN rev 222449 on 2011-05-29 14:25:42Z by andreast

Add a new driver, the ad7417, to read temperatures and voltages on some
PowerMac's.

Approved by:	nwhitehorn (mentor)

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Jan 6 14:12:24 2011 UTC (13 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -1 lines
SVN rev 217054 on 2011-01-06 14:12:24Z by nwhitehorn

Unbreak the LINT build. PS3 kernels can only be built 64-bit, and LINT is
built for both architectures. We need a better solution here.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Jan 6 04:12:29 2011 UTC (13 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -0 lines
SVN rev 217044 on 2011-01-06 04:12:29Z by nwhitehorn

Import support for the Sony Playstation 3 using the OtherOS feature
available on firmwares 3.15 and earlier.

Caveats: Support for the internal SATA controller is currently missing,
as is support for framebuffer resolutions other than 720x480. These
deficiencies will be remedied soon.

Special thanks to Peter Grehan for providing the hardware that made this
port possible, and thanks to Geoff Levand of Sony Computer Entertainment
for advice on the LV1 hypervisor.

Revision 1.9.2.2.8.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.9.2.2: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.2: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)

Revision 1.24.2.1.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.24.2.1: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.1: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Oct 31 18:27:05 2010 UTC (15 months, 1 week ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +1 -0 lines
SVN rev 214603 on 2010-10-31 18:27:05Z by nwhitehorn

Add a driver for the Apple Uninorth AGP host bridge found in all PowerPC
Macintoshes with an AGP bus.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Oct 15 20:08:16 2010 UTC (15 months, 3 weeks ago) by andreast
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -0 lines
SVN rev 213904 on 2010-10-15 20:08:16Z by andreast

Add three new drivers for fan control and temperature reading on the
PowerMac7,2.

- The fcu driver lets us read and write the fan RPMs for all fans in the
  PowerMac7,2. This driver is PowerMac specific.
- The ds1775 is a driver to read the temperature for the drive bay sensor.
- The max6690 is another driver to read temperatures. Here it is used to
  read the inlet, the backside and the U3 heatsink temperature.

An additional driver, the ad7417, will follow later.

Thanks to nwhitehorn for guiding me through this driver development.

Approved by:	nwhitehorn (mentor)

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Aug 19 03:19:26 2010 UTC (17 months, 3 weeks ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -1 lines
SVN rev 211483 on 2010-08-19 03:19:26Z by nwhitehorn

Unbreak the LINT kernel on powerpc64. Note that the LINT kernel
configuration is TARGET_ARCH specific and must be generated with
TARGET_ARCH set.

Reviewed by:	imp

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jul 31 13:22:34 2010 UTC (18 months, 1 week ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -0 lines
SVN rev 210677 on 2010-07-31 13:22:34Z by nwhitehorn

Add support for the IBM Full-System Simulator (Mambo). This code has been
developed against the 970 and Cell simulators.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jul 13 05:32:19 2010 UTC (18 months, 4 weeks ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -0 lines
SVN rev 209975 on 2010-07-13 05:32:19Z by nwhitehorn

MFppc64:

Kernel sources for 64-bit PowerPC, along with build-system changes to keep
32-bit kernels compiling (build system changes for 64-bit kernels are
coming later). Existing 32-bit PowerPC kernel configurations must be
updated after this change to specify their architecture.

Revision 1.24.2.1.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 3 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.24.2.1: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.1: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)

Revision 1.9.2.2.6.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (23 months, 4 weeks ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.9.2.2: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.2: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)

Revision 1.24.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.24.2.1: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_2_BP, RELENG_8_1_BP, RELENG_8_0_BP
Branch point for: RELENG_8_2, RELENG_8_1, RELENG_8_0
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Jun 23 04:28:32 2009 UTC (2 years, 7 months ago) by nwhitehorn
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -0 lines
SVN rev 194679 on 2009-06-23 04:28:32Z by nwhitehorn

Add cpufreq support on the PowerPC G5, along with a skeleton SMU driver
in order to slew CPU voltage during frequency changes. The OpenBSD SMU
driver was an extremely helpful reference for this.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun May 31 09:01:23 2009 UTC (2 years, 8 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -0 lines
SVN rev 193156 on 2009-05-31 09:01:23Z by nwhitehorn

Introduce support for cpufreq on PowerPC with the dynamic frequency
switching capabilities of the MPC7447A and MPC7448.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun May 10 00:00:25 2009 UTC (2 years, 9 months ago) by kuriyama
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -1 lines
SVN rev 191954 on 2009-05-10 00:00:25Z by kuriyama

- Use "device\t" and "options \t" for consistency.

Revision 1.9.2.2.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.9.2.2: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.2: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jan 25 18:20:15 2009 UTC (3 years ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -0 lines
SVN rev 187692 on 2009-01-25 18:20:15Z by nwhitehorn

Add support for the I2S and davbus audio controllers found in Apple PowerPC
hardware.

Submitted by:	Marco Trillo

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Jan 15 02:52:31 2009 UTC (3 years ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -0 lines
SVN rev 187262 on 2009-01-15 02:52:31Z by nwhitehorn

Driver for Apple Keywest I2C controllers found in MacIO ASICs. Used for
power and thermal control, as well as GPIOs on Xserves and controlling
sound codecs for Apple built-in audio.

Submitted by:	Marco Trillo
Obtained from:	NetBSD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Dec 8 02:38:13 2008 UTC (3 years, 2 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -0 lines
SVN rev 185755 on 2008-12-08 02:38:13Z by nwhitehorn

Accidentally left ADB out of the PowerPC NOTES file during initial import.

Revision 1.9.2.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.9.2.2: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.2: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)

Revision 1.2.2.2.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.2.2.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)

Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 31 17:23:45 2008 UTC (3 years, 5 months ago) by nwhitehorn
Branches: RELENG_7
CVS tags: RELENG_7_4_BP, RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP
Branch point for: RELENG_7_4, RELENG_7_3, RELENG_7_2, RELENG_7_1
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.1: +1 -6 lines
SVN rev 182551 on 2008-08-31 17:23:45Z by nwhitehorn

Back out r182439 to move device bm to PowerPC-specific NOTES, and replace it by an MFC of r179646, which does the same thing.

Suggested by:	rwatson
Approved by:	marcel (mentor)

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 29 09:27:40 2008 UTC (3 years, 5 months ago) by rwatson
Branches: RELENG_7
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -0 lines
SVN rev 182439 on 2008-08-29 09:27:40Z by rwatson

As "device bm" appears to be specific to powerpc, move it from the global
NOTES to powerpc-specific NOTES.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 13 21:36:42 2008 UTC (3 years, 6 months ago) by marius
Branches: RELENG_6
CVS tags: RELENG_6_4_BP
Branch point for: RELENG_6_4
Diff to: previous 1.2.2.1: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +0 -1 lines
SVN rev 180504 on 2008-07-13 21:36:42Z by marius

MFC: r170285; r170273; r172334; r172607; r174987; r176996; r177560; r179925

Sync gem(4) with head as of r179925 except for r169269 (skipped for
performance reasons) and r175418 (doesn't apply). Amongst others this
brings:
- lots of bug fixes and improvements,
- support for some additional Apple GMAC variants,
- actual support for Sun GEM,
- machine-independency.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jun 8 01:58:11 2008 UTC (3 years, 8 months ago) by marcel
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -0 lines
SVN rev 179646 on 2008-06-08 01:58:11Z by marcel

Move bm(4) from the sys/conf/NOTES to sys/powerpc/conf/NOTES.
The driver applies to PowerPC only.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Apr 27 22:33:42 2008 UTC (3 years, 9 months ago) by marcel
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +0 -2 lines
MFp4: SMP support

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Mar 4 03:05:53 2008 UTC (3 years, 11 months ago) by marcel
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -1 lines
Also comment-out options MPC85XX. We don't define CCSRBAR_* without E500.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Mar 4 02:20:27 2008 UTC (3 years, 11 months ago) by marcel
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -1 lines
Comment-out cpu E500. We can't yet build it with AIM at the same time.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Mar 3 20:40:19 2008 UTC (3 years, 11 months ago) by raj
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -0 lines
Connect MPC85XX to the PowerPC build.

The kernel config file is KERNCONF=MPC85XX, so the usual procedure applies:

1. make buildworld TARGET_ARCH=powerpc
2. make buildkernel TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 KERNCONF=MPC85XX

This default config uses kernel-level FPU emulation. For the soft-float world
approach:

1. make buildworld TARGET_ARCH=powerpc TARGET_CPUTYPE=e500
2. disable FPU_EMU option in sys/powerpc/conf/MPC85XX
3. make buildkernel TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 KERNCONF=MPC85XX

Approved by:	cognet (mentor)
MFp4:		e500

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Feb 23 22:32:16 2008 UTC (3 years, 11 months ago) by marcel
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -0 lines
Add FPU_EMU.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Feb 12 19:38:39 2008 UTC (3 years, 11 months ago) by marcel
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +0 -1 lines
There's no need to suppress option GDB.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Dec 19 18:00:49 2007 UTC (4 years, 1 month ago) by marcel
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -0 lines
Redefine bus_space_tag_t on PowerPC from a 32-bit integral to
a pointer to struct bus_space. The structure contains function
pointers that do the actual bus space access.

The reason for this change is that previously all bus space
accesses were little endian (i.e. had an explicit byte-swap
for multi-byte accesses), because all busses on Macs are little
endian.
The upcoming support for Book E, and in particular the E500
core, requires support for big-endian busses because all
embedded peripherals are in the native byte-order.

With this change, there's no distinction between I/O port
space and memory mapped I/O. PowerPC doesn't have I/O port
space. Busses assign tags based on the byte-order only.
For that purpose, two global structures exist (bs_be_tag and
bs_le_tag), of which the address can be taken to get a valid
tag.

Obtained from: Juniper, Semihalf

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Dec 16 00:45:56 2007 UTC (4 years, 1 month ago) by marcel
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -1 lines
Rename OEA to AIM. The former means nothing as it applies to all
processors (it's the PowerPC Operating Environment Architecture).
AIM designates the processors made by the Apple-IBM-Motorola
alliance and those we typically support.

While here, remove the NetBSD option IPKDB. It's not an option
used by us. Also, PPC_HAVE_FPU is not used by us either. Remove
that too.

Obtained from: Juniper, Semihalf

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Sep 26 21:14:18 2007 UTC (4 years, 4 months ago) by marius
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Branch point for: RELENG_7
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +0 -1 lines
o Revert the part of if_gem.c rev. 1.35 which added a call to gem_stop()
  to gem_attach() as the former access softc members not yet initialized
  at that time and gem_reset() actually is enough to stop the chip. [1]
o Revise the use of gem_bitwait(); add bus_barrier() calls before calling
  gem_bitwait() to ensure the respective bit has been written before we
  starting polling on it and poll for the right bits to change, f.e. even
  though we only reset RX we have to actually wait for both GEM_RESET_RX
  and GEM_RESET_TX to clear. Add some additional gem_bitwait() calls in
  places we've been missing them according to the GEM documentation.
  Along with this some excessive DELAYs, which probably only were added
  because of bugs in gem_bitwait() and its use in the first place, as
  well as as have of an gem_bitwait() reimplementation in gem_reset_tx()
  were removed.
o Add gem_reset_rxdma() and use it to deal with GEM_MAC_RX_OVERFLOW errors
  more gracefully as unlike gem_init_locked() it resets the RX DMA engine
  only, causing no link loss and the FIFOs not to be cleared. Also use it
  deal with GEM_INTR_RX_TAG_ERR errors, with previously were unhandled.
  This was based on information obtained from the Linux GEM and OpenSolaris
  ERI drivers.
o Turn on workarounds for silicon bugs in the Apple GMAC variants.
  This was based on information obtained from the Darwin GMAC and Linux GEM
  drivers.
o Turn on "infinite" (i.e. maximum 31 * 64 bytes in length) DMA bursts.
  This greatly improves especially RX performance.
o Optimize the RX path, this consists of:
  - kicking the receiver as soon as we've a spare descriptor in gem_rint()
    again instead of just once after all the ready ones have been handled;
  - kicking the receiver the right way, i.e. as outlined in the GEM
    documentation in batches of 4 and by pointing it to the descriptor
    after the last valid one;
  - calling gem_rint() before gem_tint() in gem_intr() as gem_tint() may
    take quite a while;
  - doubling the size of the RX ring to 256 descriptors.
  Overall the RX performance of a GEM in a 1GHz Sun Fire V210 was improved
  from ~100Mbit/s to ~850Mbit/s.
o In gem_add_rxbuf() don't assign the newly allocated mbuf to rxs_mbuf
  before calling bus_dmamap_load_mbuf_sg(), if bus_dmamap_load_mbuf_sg()
  fails we'll free the newly allocated mbuf, unable to recycle the
  previous one but a NULL pointer dereference instead.
o In gem_init_locked() honor the return value of gem_meminit().
o Simplify gem_ringsize() and dont' return garbage in the default case.
  Based on OpenBSD.
o Don't turn on MAC control, MIF and PCS interrupts unless GEM_DEBUG is
  defined as we don't need/use these interrupts for operation.
o In gem_start_locked() sync the DMA maps of the descriptor rings before
  every kick of the transmitter and not just once after enqueuing all
  packets as the NIC might instantly start transmitting after we kicked
  it the first time.
o Keep state of the link state and use it to enable or disable the MAC
  in gem_mii_statchg() accordingly as well as to return early from
  gem_start_locked() in case the link is down. [3]
o Initialize the maximum frame size to a sane value.
o In gem_mii_statchg() enable carrier extension if appropriate.
o Increment if_ierrors in case of an GEM_MAC_RX_OVERFLOW error and in
  gem_eint(). [3]
o Handle IFF_ALLMULTI correctly; don't set it if we've turned promiscuous
  group mode on and don't clear the flag if we've disabled promiscuous
  group mode (these were mostly NOPs though). [2]
o Let gem_eint() also report GEM_INTR_PERR errors.
o Move setting sc_variant from gem_pci_probe() to gem_pci_attach() as
  device probe methods are not supposed to touch the softc.
o Collapse sc_inited and sc_pci into bits for sc_flags.
o Add CTASSERTs ensuring that GEM_NRXDESC and GEM_NTXDESC are set to
  legal values.
o Correctly set up for 802.3x flow control, though #ifdef out the code
  that actually enables it as this needs more testing and mainly a proper
  framework to support it.
o Correct and add some conversions from hard-coded functions names to
  __func__ which were borked or forgotten in if_gem.c rev. 1.42.
o Use PCIR_BAR instead of a homegrown macro.
o Replace sc_enaddr[6] with sc_enaddr[ETHER_ADDR_LEN].
o In gem_pci_attach() in case attaching fails release the resources in
  the opposite order they were allocated.
o Make gem_reset() static to if_gem.c as it's not needed outside that
  module.
o Remove the GEM_GIGABIT flag and the associated code; GEM_GIGABIT was
  never set and the associated code was in the wrong place.
o Remove sc_mif_config; it was only used to cache the contents of the
  respective register within gem_attach().
o Remove the #ifdef'ed out NetBSD/OpenBSD code for establishing a suspend
  hook as it will never be used on FreeBSD.
o Also probe Apple Intrepid 2 GMAC and Apple Shasta GMAC, add support for
  Apple K2 GMAC. Based on OpenBSD.
o Add support for Sun GBE/P cards, or in other words actually add support
  for cards based on GEM to gem(4). This mainly consists of adding support
  for the TBI of these chips. Along with this the PHY selection code was
  rewritten to hardcode the PHY number for certain configurations as for
  example the PHY of the on-board ERI of Blade 1000 shows up twice causing
  no link as the second incarnation is isolated.
  These changes were ported from OpenBSD with some additional improvements
  and modulo some bugs.
o Add code to if_gem_pci.c allowing to read the MAC-address from the VPD on
  systems without Open Firmware.
  This is an improved version of my variant of the respective code in
  if_hme_pci.c
o Now that gem(4) is MI enable it for all archs.

Pointed out by:	yongari [1]
Suggested by:	rwatson [2], yongari [3]
Tested on:	i386 (GEM), powerpc (GMACs by marcel and yongari),
		sparc64 (ERI and GEM)
Reviewed by:	yongari
Approved by:	re (kensmith)

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Apr 1 11:10:16 2007 UTC (4 years, 10 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -0 lines
If nooption SMP on powerpc, also nooption ADAPTIVE_SX, which depends on
SMP and is now in the global NOTES.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jan 10 18:45:18 2007 UTC (5 years, 1 month ago) by marius
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -0 lines
Add missing SC_NO_MODE_CHANGE option. Disable it in the powerpc
NOTES though, as ofw_syscons(4) doesn't properly interface with
syscons(4) regarding loading the font specified with SC_DFLT_FONT,
causing a kernel with both options SC_OFWFB and SC_NO_MODE_CHANGE
to not link.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Oct 23 13:23:13 2006 UTC (5 years, 3 months ago) by ru
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -0 lines
Move "device splash" back to MI NOTES and "files", it's MI.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Oct 23 09:45:22 2006 UTC (5 years, 3 months ago) by ru
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +0 -14 lines
Mechanically kill redundant nodevice/nooption/nomakeoption, i.e.,
those that do not exist in MI NOTES or switched on/off in the MD
NOTES.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jul 29 18:38:54 2006 UTC (5 years, 6 months ago) by marcel
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +0 -1 lines
Remove sio(4) and related options from MI files to amd64, i386
and pc98 MD files. Remove nodevice and nooption lines specific
to sio(4) from ia64, powerpc and sparc64 NOTES. There were no
such lines for arm yet.
sio(4) is usable on less than half the platforms, not counting
a future mips platform. Its presence in MI files is therefore
increasingly becoming a burden.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jul 26 17:35:40 2006 UTC (5 years, 6 months ago) by marcel
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -5 lines
o  Remove device zs
o  Remove nodevice uart
o  Reorder

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 29 06:56:27 2006 UTC (6 years ago) by sam
Branches: RELENG_6
CVS tags: RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +0 -0 lines
MFC: add LINT build

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Dec 30 16:45:31 2005 UTC (6 years, 1 month ago) by ru
Branches: MAIN
Branch point for: RELENG_6
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -2 lines
Remove duplicate options (originals in sys/conf/NOTES).

Reported by:	fresh config(8)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Dec 21 02:51:41 2005 UTC (6 years, 1 month ago) by sam
Branches: MAIN
add LINT build

Discussed with:	grehan
MFC after:	1 week

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options