The NetBSD Project

CVS log for src/sys/arch/sandpoint/stand/altboot/brdsetup.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / sandpoint / stand / altboot

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.42 / (download) - annotate - [select for diffs], Wed Dec 20 15:29:07 2023 UTC (3 months, 4 weeks ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.41: +8 -2 lines
Diff to previous 1.41 (colored) to selected 1.3 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Feb 16 23:49:27 2022 UTC (2 years, 2 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.40: +25 -14 lines
Diff to previous 1.40 (colored) to selected 1.3 (colored)

powerpc: Sprinkle "memory" clobbers on eieio and nearby asm blocks.

Otherwise the compiler may reorder these around loads and stores,
which mostly defeats the purpose.  `asm volatile' just ensures the
instruction isn't _deleted_; it may still move around.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Aug 9 20:49:09 2021 UTC (2 years, 8 months ago) by andvar
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) to selected 1.3 (colored)

fix various typos in compatibility, mainly in comments.

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:40 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.31.2.2: +181 -30 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored) to selected 1.3 (colored)

update from HEAD

Revision 1.35.4.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:50 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.35.4.1: +15 -11 lines
Diff to previous 1.35.4.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored) to selected 1.3 (colored)

Sync with HEAD

Revision 1.39 / (download) - annotate - [select for diffs], Thu Aug 3 19:22:15 2017 UTC (6 years, 8 months ago) by phx
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.38: +6 -2 lines
Diff to previous 1.38 (colored) to selected 1.3 (colored)

Some Synology network devices show vendor 0x1148 (Schneider & Koch) instead
of 0x11ab (Marvell). Detect both.
Improve spinning up of both disk drives on Synology DS20x by adding some
more delays (directly at the start and after powering up the second drive).

Revision 1.38 / (download) - annotate - [select for diffs], Thu Aug 3 09:42:34 2017 UTC (6 years, 8 months ago) by phx
Branch: MAIN
Changes since 1.37: +10 -10 lines
Diff to previous 1.37 (colored) to selected 1.3 (colored)

Fixed overflow in delay() for delays greater than 2 seconds.
Replaced u_long by uint32_t and u_quad by uint64_t whenever the exact
32- or 64-bit word is needed.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Sat Jan 16 10:04:04 2016 UTC (8 years, 3 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1
Changes since 1.35: +168 -21 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.3 (colored)

Pull up following revision(s) (requested by phx in ticket #1059):
	sys/arch/sandpoint/include/bootinfo.h: revision 1.9
	sys/arch/sandpoint/stand/altboot/brdsetup.c: revisions 1.36, 1.37
	sys/arch/sandpoint/stand/altboot/dsk.c: revision 1.18
	sys/arch/sandpoint/stand/altboot/globals.h: revisions 1.20, 1.21
	sys/arch/sandpoint/stand/altboot/main.c: revision 1.27
	sys/arch/sandpoint/stand/altboot/siisata.c: revision 1.6
	sys/arch/sandpoint/stand/altboot/version: revision 1.8
The disk's unittag is not equal to the channel, so we need an additional
unitchan entry to make lba_read() work in all cases.
The libsa-printf() does not seem to support 64-bit output, so cast the
block number to unsigned when printing an error message.
--
Pass a name and flags precisely describing the current model and its
features via a new bootinfo node (currently Synology only). This allows
for example the configuration of model-specific temperature I2C sensors
and fan control.
Support for the Synology DS207 and DS209 drive LEDs and wait until the
2nd drive is completely powered up.
--
fix a board type check logic error that affected Linkstation and Kurobox (HG).
They were mistakenly recognized kurot4 type and ended up with kernel boot
failure.

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:41 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.35: +168 -21 lines
Diff to previous 1.35 (colored) to selected 1.3 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.37 / (download) - annotate - [select for diffs], Thu Oct 15 12:00:02 2015 UTC (8 years, 6 months ago) by nisimura
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.36: +8 -4 lines
Diff to previous 1.36 (colored) to selected 1.3 (colored)


fix a board type check logic error that affected Linkstation and Kurobox (HG).
They were mistakenly recognized kurot4 type and ended up with kernel boot
failure.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Sep 30 14:14:32 2015 UTC (8 years, 6 months ago) by phx
Branch: MAIN
Changes since 1.35: +161 -18 lines
Diff to previous 1.35 (colored) to selected 1.3 (colored)

Pass a name and flags precisely describing the current model and its
features via a new bootinfo node (currently Synology only). This allows
for example the configuration of model-specific temperature I2C sensors
and fan control.
Support for the Synology DS207 and DS209 drive LEDs and wait until the
2nd drive is completely powered up.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:22 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.31.2.1: +7 -4 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) to selected 1.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:07 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.3 (colored)

Rebase.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Aug 8 21:18:10 2014 UTC (9 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Branch point for: nick-nhusb, netbsd-7
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.3 (colored)

Use __unreachable().

Revision 1.34 / (download) - annotate - [select for diffs], Tue Aug 5 17:55:20 2014 UTC (9 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) to selected 1.3 (colored)

Don't use non-literal strings as format strings.
XXX Switch to strlcpy.

Revision 1.20.2.5 / (download) - annotate - [select for diffs], Thu May 22 11:40:06 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.20.2.4: +4 -1 lines
Diff to previous 1.20.2.4 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored) to selected 1.3 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:24 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.32: +4 -1 lines
Diff to previous 1.32 (colored) next main 1.33 (colored) to selected 1.3 (colored)

sync with head

Revision 1.33 / (download) - annotate - [select for diffs], Thu Nov 7 14:51:36 2013 UTC (10 years, 5 months ago) by nisimura
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.32: +4 -1 lines
Diff to previous 1.32 (colored) to selected 1.3 (colored)


shut off gcc 4.8 unused variable warnings.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Wed Sep 18 20:00:53 2013 UTC (10 years, 7 months ago) by bouyer
Branch: netbsd-6
Changes since 1.27: +40 -1 lines
Diff to previous 1.27 (colored) next main 1.28 (colored) to selected 1.3 (colored)

Pull up following revision(s) (requested by phx in ticket #946):
	sys/arch/sandpoint/stand/altboot/rge.c: revision 1.7
	sys/arch/sandpoint/stand/altboot/brdsetup.c: revision 1.32
	sys/dev/ic/rtl8169.c: revision 1.138
QNAP V200 boards have no EEPROM for the MAC address, so all devices default
to the same address (00:e0:4c:69:20:01).
Now we read the real MAC address from the flash ROM. It is stored at the
beginning of a 512-byte block in ASCII format. Some QNAP's have a broken
ext2 file system, so we cannot look for the file ETH0.MAC_ADDR therein,
but have to search the whole flash in 512-byte steps for candidates...
Make re(4) driver always use IDR register values for its MAC address.
Some sandpoint NAS firmwares set MAC address per their
firmware settings and don't use re(4)'s EEPROM values.
Per rtl8169 manuals re(4) chip reads EEPROM automatically after
hardware reset and Linux driver also uses IDR registers,
so this change should not affect existing other boards
which actually have vaild EEPROM.
Per discussion in old tech-kern@ thread:
http://mail-index.netbsd.org/tech-kern/2012/12/01/msg014573.html
Note rtl81x9.c is still shared among rtk(4) only for a multicast function
(to avoid boring refactoring work).

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:55 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.31: +40 -1 lines
Diff to previous 1.31 (colored) to selected 1.3 (colored)

resync with head

Revision 1.20.2.4 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:56 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.20.2.3: +40 -1 lines
Diff to previous 1.20.2.3 (colored) to branchpoint 1.20 (colored) to selected 1.3 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Tue Dec 25 17:07:06 2012 UTC (11 years, 3 months ago) by phx
Branch: MAIN
CVS Tags: yamt-pagecache-base8, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.31: +40 -1 lines
Diff to previous 1.31 (colored) to selected 1.3 (colored)

QNAP V200 boards have no EEPROM for the MAC address, so all devices default
to the same address (00:e0:4c:69:20:01).
Now we read the real MAC address from the flash ROM. It is stored at the
beginning of a 512-byte block in ASCII format. Some QNAP's have a broken
ext2 file system, so we cannot look for the file ETH0.MAC_ADDR therein,
but have to search the whole flash in 512-byte steps for candidates...

Revision 1.20.2.3 / (download) - annotate - [select for diffs], Wed May 23 10:07:48 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.20.2.2: +66 -12 lines
Diff to previous 1.20.2.2 (colored) to branchpoint 1.20 (colored) to selected 1.3 (colored)

sync with head.

Revision 1.23.4.2 / (download) - annotate - [select for diffs], Sun Apr 29 23:04:42 2012 UTC (11 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.23.4.1: +86 -13 lines
Diff to previous 1.23.4.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored) to selected 1.3 (colored)

sync to latest -current.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:50 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.20.2.1: +181 -107 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) to selected 1.3 (colored)

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Mon Apr 16 16:55:29 2012 UTC (12 years ago) by phx
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, jmcneill-usbmp-base9, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.30: +66 -12 lines
Diff to previous 1.30 (colored) to selected 1.3 (colored)

Improved Synology CS/RS support: watch power-state of all SATA drives before
initializing them, configure drive LEDs to reflect SATA activity.
Configure drives on all ATA PCI devices, not only on the first one.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Apr 9 14:02:04 2012 UTC (12 years ago) by nisimura
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Changes since 1.29: +3 -13 lines
Diff to previous 1.29 (colored) to selected 1.3 (colored)


The processor ExtClk value of Kurobox/T4 is comfirmed as 32768000.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Apr 9 13:26:37 2012 UTC (12 years ago) by nisimura
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.3 (colored)


Change to use "kurot4" product name for Terastation TGL and
KuroBox/T4.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Apr 8 10:38:34 2012 UTC (12 years ago) by nisimura
Branch: MAIN
Changes since 1.27: +32 -3 lines
Diff to previous 1.27 (colored) to selected 1.3 (colored)


Add an entry for Terastation TGL miconv2 satellite processor which
features a more complex protocol than Linkstation/Kurobox.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:04 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.23: +143 -85 lines
Diff to previous 1.23 (colored) to selected 1.3 (colored)

merge to -current.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jan 14 22:36:54 2012 UTC (12 years, 3 months ago) by phx
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.3 (colored)

Netronics is spelled Netronix.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jan 14 20:03:11 2012 UTC (12 years, 3 months ago) by phx
Branch: MAIN
Changes since 1.25: +77 -53 lines
Diff to previous 1.25 (colored) to selected 1.3 (colored)

Add 0x70000000 BAT-mapping for NH230/231.
NH23x: Initialize LEDs on startup (status off, to indicate the bootloader
is running). Hardware reset routine.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jan 8 14:53:54 2012 UTC (12 years, 3 months ago) by phx
Branch: MAIN
Changes since 1.24: +15 -6 lines
Diff to previous 1.24 (colored) to selected 1.3 (colored)

Set the extclk for NH230 to 33000000Hz.
Prepare a synosetup() function which should set a different extclk for
the 400MHz models, as soon as we find a method to check for them.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jan 7 19:57:49 2012 UTC (12 years, 3 months ago) by phx
Branch: MAIN
Changes since 1.23: +60 -35 lines
Diff to previous 1.23 (colored) to selected 1.3 (colored)

NH230 PPCBoot configures the memory boundary registers for 128MB, although
the board has only 64MB. Fix that.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Nov 12 23:52:54 2011 UTC (12 years, 5 months ago) by phx
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Changes since 1.22: +19 -22 lines
Diff to previous 1.22 (colored) to selected 1.3 (colored)

Improved Iomega microcontroller support. Bumped version to 1.8.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Thu Nov 10 14:31:42 2011 UTC (12 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.20: +112 -28 lines
Diff to previous 1.20 (colored) to selected 1.3 (colored)

sync with head

Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 7 21:11:55 2011 UTC (12 years, 5 months ago) by phx
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2
Changes since 1.21: +79 -28 lines
Diff to previous 1.21 (colored) to selected 1.3 (colored)

Fixed Iomega microcontroller support. Implemented Iomega reboot function.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Nov 6 20:20:57 2011 UTC (12 years, 5 months ago) by phx
Branch: MAIN
Changes since 1.20: +35 -2 lines
Diff to previous 1.20 (colored) to selected 1.3 (colored)

Added a test terminal for communicating with the satellite microcontroller.
When compiled with DEBUG option it can be entered by typing 'C'.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Nov 1 16:32:57 2011 UTC (12 years, 5 months ago) by phx
Branch: MAIN
CVS Tags: yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.19: +12 -22 lines
Diff to previous 1.19 (colored) to selected 1.3 (colored)

The Apollo family of IDE interface chips has both channels disabled by
default, so we have to enable them in a new chipfix function. Also move
the channel enable code for the 82C686B from encpcifix() to pciide.c.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Oct 30 21:08:33 2011 UTC (12 years, 5 months ago) by phx
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) to selected 1.3 (colored)

Added in8() and out8() to access a byte with reorder-protection.
Use it in all drivers instead of (volatile uint8_t *).

Revision 1.18.4.2 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:35 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.18.4.1: +1113 -0 lines
Diff to previous 1.18.4.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored) to selected 1.3 (colored)

Sync with HEAD.

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Tue May 31 03:04:16 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.5.2.3: +58 -5 lines
Diff to previous 1.5.2.3 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.3 (colored)

sync with head

Revision 1.18.4.1, Sun May 29 18:06:45 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.18: +0 -1113 lines
FILE REMOVED

file brdsetup.c was added on branch jruoho-x86intr on 2011-06-06 09:06:35 +0000

Revision 1.18 / (download) - annotate - [select for diffs], Sun May 29 18:06:45 2011 UTC (12 years, 10 months ago) by phx
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Branch point for: jruoho-x86intr
Changes since 1.17: +54 -1 lines
Diff to previous 1.17 (colored) to selected 1.3 (colored)

When PPCBoot supports the SKnet interface it will configure it to automatically
byte-reverse all descriptors by setting a vendor-specific bit in PCI config
space. We have to clear that bit to make sure our driver can send and
receive.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Apr 26 08:08:39 2011 UTC (12 years, 11 months ago) by phx
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored) to selected 1.3 (colored)

Priority of QNAP board detection was still too high. It should be lowest,
because a Realtek chip at pci device 15 is used on several boards. Now
NH230/All6250 detection should work again.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Apr 25 18:28:47 2011 UTC (12 years, 11 months ago) by phx
Branch: MAIN
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored) to selected 1.3 (colored)

Detect StorCenter before QNAP, otherwise the Realtek NIC will mis-detect as
StorCenter boards as QNAP.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:22 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.5.2.2: +105 -28 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored) to selected 1.3 (colored)

sync with head

Revision 1.15 / (download) - annotate - [select for diffs], Sun Apr 17 13:09:30 2011 UTC (13 years ago) by phx
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.3 (colored)

DSM-G600 has a 33.000 MHz oscillator on board.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 13 18:32:21 2011 UTC (13 years ago) by phx
Branch: MAIN
Changes since 1.13: +5 -4 lines
Diff to previous 1.13 (colored) to selected 1.3 (colored)

ExtClk for QNAP should be the same as for Synology's 266MHz systems.
This seems logical, as both boards are very similar, and the clock precision
is ok now.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Apr 9 19:56:20 2011 UTC (13 years ago) by phx
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored) to selected 1.3 (colored)

Set D-Link DSM-G600 power LED to solid green on start.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 26 17:55:05 2011 UTC (13 years ago) by phx
Branch: MAIN
Changes since 1.11: +21 -10 lines
Diff to previous 1.11 (colored) to selected 1.3 (colored)

QNAP support. Detect wm(4) based V1.02 and re(4) based V200 boards.
That should include all TS-101 and TS-201 models.
Add reset-code and LED-illumination code for the QNAP PIC, which listens
on the second UART with 19200 bps.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 13 01:56:21 2011 UTC (13 years, 1 month ago) by phx
Branch: MAIN
Changes since 1.10: +21 -2 lines
Diff to previous 1.10 (colored) to selected 1.3 (colored)

Enter interactive mode, when a key is pressed within two seconds.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Mar 12 16:41:23 2011 UTC (13 years, 1 month ago) by phx
Branch: MAIN
Changes since 1.9: +35 -5 lines
Diff to previous 1.9 (colored) to selected 1.3 (colored)

Introduced an optional shutdown function for all network interfaces.
This is needed to stop a NIF and make it return to a known state. A running
NIF may cause all sorts of bad effects, like for example making it impossible
to reboot a board without a hardware-reset function.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 11 17:46:30 2011 UTC (13 years, 1 month ago) by phx
Branch: MAIN
Changes since 1.8: +13 -11 lines
Diff to previous 1.8 (colored) to selected 1.3 (colored)

Some code cleanup, suggested by nisimura@.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 10 21:11:49 2011 UTC (13 years, 1 month ago) by phx
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) to selected 1.3 (colored)

Make sure the device class is IDE (class 0, subclass 1), before checking
the PCI interface for native/legacy mode. Different subclasses are always
assumed being in native mode. That makes the Acard IDE controller work.

New macros for PCI interface, revision and class.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Mar 6 18:22:13 2011 UTC (13 years, 1 month ago) by phx
Branch: MAIN
Changes since 1.6: +2 -9 lines
Diff to previous 1.6 (colored) to selected 1.3 (colored)

Suport for loading a kernel from memory (RAM, ROM or Flash).
The boot file path should look like "mem:<address>", where <address> is
the start address, in hex notation, of the file in memory.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sun Mar 6 15:07:55 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.6.2.1: +983 -0 lines
Diff to previous 1.6.2.1 (colored) next main 1.7 (colored) to selected 1.3 (colored)

Sync with HEAD

Revision 1.6.2.1, Sun Mar 6 13:55:12 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.6: +0 -1003 lines
FILE REMOVED

file brdsetup.c was added on branch bouyer-quota2 on 2011-03-06 15:07:55 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 6 13:55:12 2011 UTC (13 years, 1 month ago) by phx
Branch: MAIN
Branch point for: bouyer-quota2
Changes since 1.5: +22 -2 lines
Diff to previous 1.5 (colored) to selected 1.3 (colored)

New experimental driver for SundanceIT ST1023 / IP1000+ NICs.
PHY initialization, media select and MAC address are working, but I found no
way to make the chip transmit any frame yet (although it clears the DONE flag).

Moved DSK_DECL to globals.h, where NIF_DECL already was.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:47 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.5.2.1: +983 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) to selected 1.3 (colored)

sync with head

Revision 1.5.2.1, Mon Feb 14 06:21:29 2011 UTC (13 years, 2 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.5: +0 -983 lines
FILE REMOVED

file brdsetup.c was added on branch rmind-uvmplock on 2011-03-05 20:51:47 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 14 06:21:29 2011 UTC (13 years, 2 months ago) by nisimura
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: rmind-uvmplock
Changes since 1.4: +160 -287 lines
Diff to previous 1.4 (colored) to selected 1.3 (colored)

- add preliminary Netronics NH230 and NH231 supports.
- assign PCI configuration register 0x3c with IDSEL value by PCI framework,
  eliminating most of pcifixup() logic in simple NASes.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 10 13:38:08 2011 UTC (13 years, 2 months ago) by nisimura
Branch: MAIN
Changes since 1.3: +48 -48 lines
Diff to previous 1.3 (colored)

- some rework for PCI device enumeration.
- allow dual IDE/SATA devices.
- fix a typo of D-Link #define.

Revision 1.3 / (download) - annotate - [selected], Tue Feb 8 00:33:05 2011 UTC (13 years, 2 months ago) by nisimura
Branch: MAIN
Changes since 1.2: +51 -1 lines
Diff to previous 1.2 (colored)

- add preliminary code to support D-Link DSM-G600 rev.B NAS.
- it features 9600bps console, Moto MCU on the 2nd DUART channel,
  ACARD ATP865 PCIIDE and IP Plus IP1000A GbE.  It has MiniPCI
  slot.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Feb 7 12:45:21 2011 UTC (13 years, 2 months ago) by nisimura
Branch: MAIN
Changes since 1.1: +45 -6 lines
Diff to previous 1.1 (colored) to selected 1.3 (colored)

add IOMEGA StorCenter fixup codes.  Need more change as the satellite
microcontroller protocol is defined in 8-byte fixed length sequence.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jan 23 01:05:30 2011 UTC (13 years, 2 months ago) by nisimura
Branch: MAIN
Diff to selected 1.3 (colored)

change bootloader name to "altboot".  bump version and add README.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>