The NetBSD Project

CVS log for src/sys/dev/pci/if_tlp_pci.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / pci

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.131 / (download) - annotate - [select for diffs], Wed Dec 20 04:32:30 2023 UTC (3 months, 4 weeks ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.130: +8 -9 lines
Diff to previous 1.130 (colored)

malloc(9) -> kmem(9), and plug a memory leak on detach while I'm here.

Revision 1.129.6.1 / (download) - annotate - [select for diffs], Thu May 13 00:47:31 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.129: +87 -83 lines
Diff to previous 1.129 (colored) next main 1.130 (colored)

Sync with HEAD.

Revision 1.130 / (download) - annotate - [select for diffs], Sat May 8 00:27:02 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.129: +87 -83 lines
Diff to previous 1.129 (colored)

Use pci_compatible_match().

Revision 1.129 / (download) - annotate - [select for diffs], Tue Jul 7 06:27:37 2020 UTC (3 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs
Branch point for: thorpej-i2c-spi-conf
Changes since 1.128: +5 -4 lines
Diff to previous 1.128 (colored)

No functional change:

 - u_int32_t -> uint32_t
 - KNF.

Revision 1.128 / (download) - annotate - [select for diffs], Thu Jul 2 09:07:10 2020 UTC (3 years, 9 months ago) by msaitoh
Branch: MAIN
Changes since 1.127: +4 -4 lines
Diff to previous 1.127 (colored)

prop_data_data_nocopy -> prop_data_value

Revision 1.124.18.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:26 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.124.18.1: +5 -5 lines
Diff to previous 1.124.18.1 (colored) to branchpoint 1.124 (colored) next main 1.125 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.127 / (download) - annotate - [select for diffs], Sun Nov 10 21:16:36 2019 UTC (4 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, 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.126: +5 -5 lines
Diff to previous 1.126 (colored)

in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Revision 1.124.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:16 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.124: +26 -27 lines
Diff to previous 1.124 (colored)

Sync with HEAD

Revision 1.126 / (download) - annotate - [select for diffs], Wed May 29 06:17:28 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20190609, 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
Changes since 1.125: +24 -25 lines
Diff to previous 1.125 (colored)

No functional change:
 - Simplify MII structure initialization and reference.
 - KNF

Revision 1.124.16.1 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:50 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.124: +4 -4 lines
Diff to previous 1.124 (colored) next main 1.125 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.125 / (download) - annotate - [select for diffs], Sun Dec 9 11:14:02 2018 UTC (5 years, 4 months ago) by jdolecek
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, isaki-audio2-base, isaki-audio2
Changes since 1.124: +4 -4 lines
Diff to previous 1.124 (colored)

use pci_intr_establish_xname() everywhere

Revision 1.121.10.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:08 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.121.10.2: +1 -2 lines
Diff to previous 1.121.10.2 (colored) to branchpoint 1.121 (colored) next main 1.122 (colored)

update from HEAD

Revision 1.123.6.1 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:04 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.123: +3 -4 lines
Diff to previous 1.123 (colored) next main 1.124 (colored)

Sync with HEAD

Revision 1.124 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:41 2016 UTC (7 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, 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-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.123: +3 -4 lines
Diff to previous 1.123 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.121.10.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:42 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.121.10.1: +4 -3 lines
Diff to previous 1.121.10.1 (colored) to branchpoint 1.121 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.118.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:25 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.118.2.2: +4 -3 lines
Diff to previous 1.118.2.2 (colored) to branchpoint 1.118 (colored) next main 1.119 (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.122.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:40 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.122: +4 -3 lines
Diff to previous 1.122 (colored) next main 1.123 (colored)

sync with head

Revision 1.123 / (download) - annotate - [select for diffs], Sat Mar 29 19:28:25 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, 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, netbsd-7
Branch point for: nick-nhusb
Changes since 1.122: +4 -3 lines
Diff to previous 1.122 (colored)

make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.

Revision 1.121.6.1 / (download) - annotate - [select for diffs], Thu Nov 22 17:48:17 2012 UTC (11 years, 4 months ago) by riz
Branch: netbsd-6
CVS Tags: 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
Changes since 1.121: +9 -2 lines
Diff to previous 1.121 (colored) next main 1.122 (colored)

Pull up following revision(s) (requested by chs in ticket #691):
	sys/dev/pci/aac_pci.c: revision 1.34
	sys/dev/pci/if_sip.c: revision 1.155
	sys/dev/pci/if_tlp_pci.c: revision 1.122
	sys/dev/pci/if_an_pci.c: revision 1.34
match some more devices.

Revision 1.121.10.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:18 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.121: +9 -2 lines
Diff to previous 1.121 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.118.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:21:33 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.118.2.1: +9 -2 lines
Diff to previous 1.118.2.1 (colored) to branchpoint 1.118 (colored)

sync with head

Revision 1.122 / (download) - annotate - [select for diffs], Sun Sep 23 01:10:59 2012 UTC (11 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base3, 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.121: +9 -2 lines
Diff to previous 1.121 (colored)

match some more devices.

Revision 1.118.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:48 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.118: +6 -9 lines
Diff to previous 1.118 (colored)

sync with head

Revision 1.121 / (download) - annotate - [select for diffs], Fri Nov 11 23:01:59 2011 UTC (12 years, 5 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, 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-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: tls-maxphys, netbsd-6
Changes since 1.120: +3 -3 lines
Diff to previous 1.120 (colored)

Use GPP_GPC in the last place it isn't already used.

Revision 1.120 / (download) - annotate - [select for diffs], Fri Nov 11 22:57:27 2011 UTC (12 years, 5 months ago) by jakllsch
Branch: MAIN
Changes since 1.119: +5 -5 lines
Diff to previous 1.119 (colored)

Improve punctuation and consistency in some comments.

Revision 1.119 / (download) - annotate - [select for diffs], Thu Nov 10 20:12:48 2011 UTC (12 years, 5 months ago) by jakllsch
Branch: MAIN
Changes since 1.118: +2 -5 lines
Diff to previous 1.118 (colored)

When applying the board-specific bits for the SMC 9332,
the mediasw has already been set to non-NULL, don't require it to be NULL.

Revision 1.118 / (download) - annotate - [select for diffs], Tue Jul 26 20:51:24 2011 UTC (12 years, 8 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.117: +4 -4 lines
Diff to previous 1.117 (colored)

Replace anonymous constants, 0x10, 0x14, ..., with PCI_BAR(0),
PCI_BAR(1), .... There was no change in the generated assembly.  I used
this semantic patch:

@ mapsit @
identifier bar;
expression pact;
@@

(
pci_mapreg_map
|
Cardbus_mapreg_map
)(pact, bar, ...)

@ depends on mapsit @
identifier mapsit.bar;
@@
(
- #define bar 0x10
+ #define bar PCI_BAR(0)
|
- #define bar 0x14
+ #define bar PCI_BAR(1)
|
- #define bar 0x18
+ #define bar PCI_BAR(2)
|
- #define bar 0x1C
+ #define bar PCI_BAR(3)
|
- #define bar 0x20
+ #define bar PCI_BAR(4)
)

Revision 1.117 / (download) - annotate - [select for diffs], Sat Jul 9 23:18:05 2011 UTC (12 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.116: +5 -6 lines
Diff to previous 1.116 (colored)

- add a routine to get the name of the card.

Revision 1.104.4.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:48 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.104.4.4: +17 -17 lines
Diff to previous 1.104.4.4 (colored) to branchpoint 1.104 (colored) next main 1.105 (colored)

sync with head

Revision 1.116 / (download) - annotate - [select for diffs], Thu Jan 21 16:14:39 2010 UTC (14 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.115: +17 -17 lines
Diff to previous 1.115 (colored)

Remove sparc specific code, rely on device properties instead

Revision 1.104.4.4 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:51 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.104.4.3: +10 -10 lines
Diff to previous 1.104.4.3 (colored) to branchpoint 1.104 (colored)

sync with head

Revision 1.115 / (download) - annotate - [select for diffs], Tue Sep 1 21:46:53 2009 UTC (14 years, 7 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.114: +10 -10 lines
Diff to previous 1.114 (colored)

aprint-ify

Revision 1.104.4.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:35 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.104.4.2: +3 -3 lines
Diff to previous 1.104.4.2 (colored) to branchpoint 1.104 (colored)

sync with head

Revision 1.106.12.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:26 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.106: +97 -45 lines
Diff to previous 1.106 (colored) next main 1.107 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.114 / (download) - annotate - [select for diffs], Wed May 6 09:25:16 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-base
Changes since 1.113: +3 -3 lines
Diff to previous 1.113 (colored)

struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.104.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:58 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.104.4.1: +97 -45 lines
Diff to previous 1.104.4.1 (colored) to branchpoint 1.104 (colored)

sync with head.

Revision 1.106.6.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:57 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.106: +96 -44 lines
Diff to previous 1.106 (colored) next main 1.107 (colored)

Sync with HEAD.

Revision 1.113 / (download) - annotate - [select for diffs], Fri Apr 17 19:04:20 2009 UTC (15 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.112: +1 -1 lines
Diff to previous 1.112 (colored)

backout rev. 1.112. I was misleaded by the wrong pci(9) manpage.

Revision 1.112 / (download) - annotate - [select for diffs], Fri Apr 17 18:43:53 2009 UTC (15 years ago) by cegger
Branch: MAIN
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (colored)

pci_activate() wants a softc and not a device

Revision 1.111 / (download) - annotate - [select for diffs], Fri Apr 17 16:57:37 2009 UTC (15 years ago) by cegger
Branch: MAIN
Changes since 1.110: +5 -3 lines
Diff to previous 1.110 (colored)

check return code of tlp_attach()

Revision 1.110 / (download) - annotate - [select for diffs], Fri Apr 17 14:07:32 2009 UTC (15 years ago) by cegger
Branch: MAIN
Changes since 1.109: +28 -14 lines
Diff to previous 1.109 (colored)

Free resources in error path.
While here, fix copy&paste error I introduced in rev. 1.108.

Revision 1.109 / (download) - annotate - [select for diffs], Fri Apr 17 13:15:53 2009 UTC (15 years ago) by cegger
Branch: MAIN
Changes since 1.108: +17 -20 lines
Diff to previous 1.108 (colored)

use aprint_*

Revision 1.108 / (download) - annotate - [select for diffs], Fri Apr 17 12:59:19 2009 UTC (15 years ago) by cegger
Branch: MAIN
Changes since 1.107: +44 -6 lines
Diff to previous 1.107 (colored)

Detach tlp(4) during shutdown.
Free unused resources on attachment.

Revision 1.107 / (download) - annotate - [select for diffs], Fri Apr 17 10:20:32 2009 UTC (15 years ago) by cegger
Branch: MAIN
Changes since 1.106: +24 -23 lines
Diff to previous 1.106 (colored)

device_t/softc split. Tested with tlp at pci

Revision 1.102.16.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:09 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.102.16.2: +1 -1 lines
Diff to previous 1.102.16.2 (colored) to branchpoint 1.102 (colored) next main 1.103 (colored)

Sync with HEAD.

Revision 1.105.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:11 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored) next main 1.106 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.104.2.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:41 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.104.2.1: +3 -3 lines
Diff to previous 1.104.2.1 (colored) to branchpoint 1.104 (colored) next main 1.105 (colored)

sync with head.

Revision 1.106 / (download) - annotate - [select for diffs], Sun Jun 8 18:18:34 2008 UTC (15 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, jym-xensuspend
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored)

Use device_lookup_private() rather than using cd_devs[] directly to get softc.

XXX maybe we should change a type of cd_devs[] in struct cfdriver
    from (void *) to device_t.

Revision 1.102.16.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:40 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.102.16.1: +16 -26 lines
Diff to previous 1.102.16.1 (colored) to branchpoint 1.102 (colored)

Sync with HEAD.

Revision 1.104.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:20 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.104: +2 -9 lines
Diff to previous 1.104 (colored)

sync with head.

Revision 1.104.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:44 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.104: +2 -9 lines
Diff to previous 1.104 (colored)

sync with head.

Revision 1.105 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:55 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.104: +2 -9 lines
Diff to previous 1.104 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.104 / (download) - annotate - [select for diffs], Thu Apr 10 19:13:37 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.103: +18 -21 lines
Diff to previous 1.103 (colored)

use aprint_*_dev and device_xname

Revision 1.102.16.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:51 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.102: +8 -8 lines
Diff to previous 1.102 (colored)

Sync with HEAD.

Revision 1.80.2.5 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:51 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.80.2.4: +8 -8 lines
Diff to previous 1.80.2.4 (colored) next main 1.81 (colored)

sync with head.

Revision 1.102.12.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:48 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.102: +8 -8 lines
Diff to previous 1.102 (colored) next main 1.103 (colored)

sync with head.

Revision 1.101.18.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:48 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.101.18.1: +8 -8 lines
Diff to previous 1.101.18.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

sync with HEAD

Revision 1.103 / (download) - annotate - [select for diffs], Fri Mar 21 07:47:43 2008 UTC (16 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.102: +8 -8 lines
Diff to previous 1.102 (colored)

pci_activate() expects for its void * argument to be a device_t,
so change the type of the argument to device_t.  Update each use
of pci_activate().

Use device_t and accessors.  Use aprint_*_dev().

Revision 1.101.18.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:29:08 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.101: +4 -4 lines
Diff to previous 1.101 (colored)

sync with HEAD

Revision 1.80.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:33:03 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.80.2.3: +4 -4 lines
Diff to previous 1.80.2.3 (colored)

sync with head.

Revision 1.101.16.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:46:23 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.101: +4 -4 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.101.22.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:39:05 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.101: +4 -4 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

Sync with HEAD.

Revision 1.101.4.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:09:03 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.101: +4 -4 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

Sync with head.

Revision 1.102 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:49 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-base, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.101: +4 -4 lines
Diff to previous 1.101 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.100.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:01 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.100: +58 -71 lines
Diff to previous 1.100 (colored) next main 1.101 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.80.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:28 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.80.2.2: +73 -67 lines
Diff to previous 1.80.2.2 (colored)

sync with head.

Revision 1.101 / (download) - annotate - [select for diffs], Sun Feb 18 12:16:14 2007 UTC (17 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.100: +58 -71 lines
Diff to previous 1.100 (colored)

- KNF, ANSIfy, TAB/space cleanup
- unwrap some lines
- u_intNN_t -> uintNN_t

Revision 1.100 / (download) - annotate - [select for diffs], Sat Feb 10 12:22:26 2007 UTC (17 years, 2 months ago) by dsl
Branch: MAIN
Branch point for: yamt-idlelwp
Changes since 1.99: +4 -4 lines
Diff to previous 1.99 (colored)

Remove some ancient debugging leftovers left in by Michael Lorenz.

Revision 1.99 / (download) - annotate - [select for diffs], Fri Feb 9 21:39:38 2007 UTC (17 years, 2 months ago) by macallan
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.98: +24 -5 lines
Diff to previous 1.98 (colored)

add a quirks entry for the DEC21140 found on UMAX E100 cards

Revision 1.80.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:45 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.80.2.1: +100 -14 lines
Diff to previous 1.80.2.1 (colored)

sync with head.

Revision 1.96.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:44 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.96.4.1: +18 -18 lines
Diff to previous 1.96.4.1 (colored) to branchpoint 1.96 (colored) next main 1.97 (colored)

sync with head.

Revision 1.96.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:31 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.96: +28 -15 lines
Diff to previous 1.96 (colored) next main 1.97 (colored)

Sync with head.

Revision 1.98 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:09 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.97: +18 -18 lines
Diff to previous 1.97 (colored)

__unused removal on arguments; approved by core.

Revision 1.96.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:17 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.96: +31 -18 lines
Diff to previous 1.96 (colored)

sync with head

Revision 1.97 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:30 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.96: +31 -18 lines
Diff to previous 1.96 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.95.2.1 / (download) - annotate - [select for diffs], Sun Sep 10 16:56:49 2006 UTC (17 years, 7 months ago) by tron
Branch: abandoned-netbsd-4
Changes since 1.95: +71 -2 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

Pull up following revision(s) (requested by rumble in ticket #137):
	sys/dev/pci/if_tlp_pci.c: revision 1.96
Add quirks for the Phobos GIO Fast Ethernet boards.

Revision 1.84.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:18 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.84: +123 -36 lines
Diff to previous 1.84 (colored) next main 1.85 (colored)

sync with head

Revision 1.86.2.5 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:22 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.86.2.4: +71 -2 lines
Diff to previous 1.86.2.4 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

sync with head.

Revision 1.96 / (download) - annotate - [select for diffs], Wed Aug 30 23:32:07 2006 UTC (17 years, 7 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.95: +71 -2 lines
Diff to previous 1.95 (colored)

Add quirks for the Phobos GIO Fast Ethernet boards.

Revision 1.86.2.4 / (download) - annotate - [select for diffs], Fri Aug 11 15:44:25 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.86.2.3: +7 -3 lines
Diff to previous 1.86.2.3 (colored) to branchpoint 1.86 (colored)

sync with head

Revision 1.95 / (download) - annotate - [select for diffs], Wed Jul 26 14:21:20 2006 UTC (17 years, 8 months ago) by itohy
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.94: +2 -3 lines
Diff to previous 1.94 (colored)

Remove ADM9511's "signature".
I don't think it is used anywhere.

Revision 1.94 / (download) - annotate - [select for diffs], Fri Jul 21 17:20:20 2006 UTC (17 years, 9 months ago) by gdamore
Branch: MAIN
Changes since 1.93: +6 -4 lines
Diff to previous 1.93 (colored)

Update ADMtek pci device ids to match data sheets.  While here, add the 9513
device (although I've never seen one, I have a datasheet for it. :-)

Revision 1.93 / (download) - annotate - [select for diffs], Tue Jul 18 14:26:57 2006 UTC (17 years, 9 months ago) by itohy
Branch: MAIN
Changes since 1.92: +5 -2 lines
Diff to previous 1.92 (colored)

Make new device (vendor 0x1317, product 0x9511) work as AN983.

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:27 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.91: +9 -27 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

Merge from HEAD.

Revision 1.86.2.3 / (download) - annotate - [select for diffs], Mon Jun 26 12:51:22 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.86.2.2: +9 -27 lines
Diff to previous 1.86.2.2 (colored) to branchpoint 1.86 (colored)

sync with head.

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:05 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.80: +51 -35 lines
Diff to previous 1.80 (colored)

sync with head.

Revision 1.90.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:01:36 2006 UTC (17 years, 10 months ago) by chap
Branch: chap-midi
Changes since 1.90: +10 -28 lines
Diff to previous 1.90 (colored) next main 1.91 (colored)

Sync with head.

Revision 1.92 / (download) - annotate - [select for diffs], Sat Jun 17 23:34:27 2006 UTC (17 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, chap-midi-nbase, chap-midi-base
Changes since 1.91: +9 -27 lines
Diff to previous 1.91 (colored)

re-factor the pci powestate api. reviewed by gimpy

Revision 1.84.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:45 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.84.6.1: +13 -5 lines
Diff to previous 1.84.6.1 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)

Sync with head.

Revision 1.86.6.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:28 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.86.6.1: +17 -4 lines
Diff to previous 1.86.6.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.86.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:58:01 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.86.2.1: +17 -4 lines
Diff to previous 1.86.2.1 (colored) to branchpoint 1.86 (colored)

sync with head.

Revision 1.91 / (download) - annotate - [select for diffs], Sat May 20 14:23:07 2006 UTC (17 years, 11 months ago) by rpaulo
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base
Branch point for: gdamore-uart
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

The check for LMC cards should return NULL, not 0.
No functional change.

Revision 1.86.4.2 / (download) - annotate - [select for diffs], Thu May 11 23:28:48 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.86.4.1: +17 -4 lines
Diff to previous 1.86.4.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

sync with head

Revision 1.90 / (download) - annotate - [select for diffs], Fri May 5 18:04:42 2006 UTC (17 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: elad-kernelauth-base
Branch point for: chap-midi
Changes since 1.89: +12 -4 lines
Diff to previous 1.89 (colored)

Remove the devprop API and switch everthing over to the new proplib.  Add
a new device_properties() accessor for device_t that returns the device's
property dictionary.

Revision 1.84.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:14 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
Changes since 1.84: +33 -9 lines
Diff to previous 1.84 (colored)

Sync with head.

Revision 1.89 / (download) - annotate - [select for diffs], Thu Apr 20 17:08:20 2006 UTC (18 years ago) by christos
Branch: MAIN
Changes since 1.88: +7 -2 lines
Diff to previous 1.88 (colored)

Put back the code that avoids matching the lmc card. As pointed out by David
Boggs, it does not matter if the lmc driver routine returns 100 for the match,
because if the lmc driver is loaded via an LKM after boot, the other drivers
would have claimed the card already.

Revision 1.86.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:35 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.86: +19 -3 lines
Diff to previous 1.86 (colored)

sync with head.

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:16 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.86: +19 -3 lines
Diff to previous 1.86 (colored)

sync with head.

Revision 1.86.6.1 / (download) - annotate - [select for diffs], Tue Mar 28 09:42:13 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.86: +19 -3 lines
Diff to previous 1.86 (colored)

Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.

Revision 1.88 / (download) - annotate - [select for diffs], Sat Mar 25 23:10:50 2006 UTC (18 years ago) by rpaulo
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3
Changes since 1.87: +17 -2 lines
Diff to previous 1.87 (colored)

Add support for the Conexant RS7112. From Frank Wille <frank@phoenix.owl.de>.

Revision 1.87 / (download) - annotate - [select for diffs], Sat Mar 25 04:12:36 2006 UTC (18 years ago) by thorpej
Branch: MAIN
Changes since 1.86: +4 -3 lines
Diff to previous 1.86 (colored)

Use device_parent().

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:08 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.84: +11 -8 lines
Diff to previous 1.84 (colored) next main 1.85 (colored)

sync with head.

Revision 1.86 / (download) - annotate - [select for diffs], Sat Feb 18 05:04:12 2006 UTC (18 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.85: +4 -5 lines
Diff to previous 1.85 (colored)

- Don't expose dev_propdb directly -- provide devprop_*() wrappers instead.
- Rework the ARMADILLO / epe device properties interaction so that it actually
  associates the MAC address property with the epe device instance.

Revision 1.85 / (download) - annotate - [select for diffs], Thu Feb 16 18:20:31 2006 UTC (18 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.84: +13 -9 lines
Diff to previous 1.84 (colored)

Remove the ugly algor_get_ethaddr() hack.  We have a properties infrastructure
now, so use that to provide the Ethernet address of the built-in Ethernet.
XXX Still a little ugly in the tlp driver, but fixing that would require
XXX reworking the SROM usage in a broader sense.

While here, do the P4032 DMA window hack in device_register() as well.

Revision 1.73.2.7 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:58 2005 UTC (18 years, 4 months ago) by christos
Branch: ktrace-lwp
Changes since 1.73.2.6: +2 -2 lines
Diff to previous 1.73.2.6 (colored) next main 1.74 (colored)

Sync with head.

Revision 1.84 / (download) - annotate - [select for diffs], Tue Dec 6 18:37:57 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: ktrace-lwp-base
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.83: +2 -7 lines
Diff to previous 1.83 (colored)

Remove the "don't match lmc cards" test, because the lmc driver returns a
match of 100 which will supersede the de and tlp match if present. If not
present, then these two drivers will fail to match an mii. Thanks to thorpej
for the explanation.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Dec 6 15:40:16 2005 UTC (18 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.82: +4 -3 lines
Diff to previous 1.82 (colored)

Don't use magic constants in previous.  (Not that we should be doing this
here in the first place...)

Revision 1.82 / (download) - annotate - [select for diffs], Tue Dec 6 03:30:12 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.81: +6 -2 lines
Diff to previous 1.81 (colored)

Don't match lmc cards by accident.

Revision 1.73.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:02 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.73.2.5: +27 -6 lines
Diff to previous 1.73.2.5 (colored)

Sync with HEAD. Here we go again...

Revision 1.76.4.1 / (download) - annotate - [select for diffs], Sun Jul 24 03:56:24 2005 UTC (18 years, 8 months ago) by riz
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Changes since 1.76: +4 -2 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

Pull up revision 1.81 (requested by rpaulo in ticket #5506):
If the DEC board name is not known, remove the leading whitespace in
sc_name.
This closes PR#30458.
ok'ed Jason Thorpe.

Revision 1.78.2.3 / (download) - annotate - [select for diffs], Tue Jul 19 22:00:36 2005 UTC (18 years, 9 months ago) by riz
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.78.2.2: +4 -2 lines
Diff to previous 1.78.2.2 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

Pull up revision 1.81 (requested by rpaulo in ticket #600):
If the DEC board name is not known, remove the leading whitespace in
sc_name.
This closes PR#30458.
ok'ed Jason Thorpe.

Revision 1.81 / (download) - annotate - [select for diffs], Sun Jul 17 00:44:13 2005 UTC (18 years, 9 months ago) by rpaulo
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr
Changes since 1.80: +4 -2 lines
Diff to previous 1.80 (colored)

If the DEC board name is not known, remove the leading whitespace in
sc_name.
This closes PR#30458.

ok'ed Jason Thorpe.

Revision 1.78.2.2 / (download) - annotate - [select for diffs], Fri Jul 1 12:28:20 2005 UTC (18 years, 9 months ago) by tron
Branch: netbsd-3
Changes since 1.78.2.1: +19 -4 lines
Diff to previous 1.78.2.1 (colored) to branchpoint 1.78 (colored)

Pull up revision 1.80 (requested by rpaulo in ticket #493):
Add support for ASIX AX88140A/AX88141 chipsets using only
the 10/100 MII with inspiration from FreeBSD dc(4) driver.
Tested on i386 and macppc.
Reviewed by Jason Thorpe and ok'ed by Hubert Feyrer.

Revision 1.80 / (download) - annotate - [select for diffs], Thu Jun 23 23:51:41 2005 UTC (18 years, 9 months ago) by rpaulo
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.79: +19 -4 lines
Diff to previous 1.79 (colored)

Add support for ASIX AX88140A/AX88141 chipsets using only
the 10/100 MII with inspiration from FreeBSD dc(4) driver.

Tested on i386 and macppc.

Reviewed by Jason Thorpe and ok'ed by Hubert Feyrer.

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Sat Jun 18 05:56:59 2005 UTC (18 years, 10 months ago) by riz
Branch: netbsd-3
Changes since 1.78: +8 -4 lines
Diff to previous 1.78 (colored)

Pull up revision 1.79 (requested by tron in ticket #451):
Also use prom_getether() under NetBSD-sparc(64) if the MAC address
retrieved from the PROM starts with ff:ff:ff. The driver now works with
the onboard interface in the Tadpole SPARCle.

Revision 1.79 / (download) - annotate - [select for diffs], Mon Jun 13 16:37:38 2005 UTC (18 years, 10 months ago) by tron
Branch: MAIN
Changes since 1.78: +8 -4 lines
Diff to previous 1.78 (colored)

Also use prom_getether() under NetBSD-sparc(64) if the MAC address
retrieved from the PROM starts with ff:ff:ff. The driver now works with
the onboard interface in the Tadpole SPARCle.

Revision 1.77.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:06 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.77: +8 -8 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

sync with -current

Revision 1.77.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:11 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.77: +8 -8 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.73.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:19 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.73.2.4: +8 -8 lines
Diff to previous 1.73.2.4 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.78 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:33 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, kent-audio2-base
Branch point for: netbsd-3
Changes since 1.77: +8 -8 lines
Diff to previous 1.77 (colored)

nuke trailing whitespace

Revision 1.73.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:04 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.73.2.3: +2 -2 lines
Diff to previous 1.73.2.3 (colored)

Fix the sync with head I botched.

Revision 1.73.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:04 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.73.2.2: +2 -2 lines
Diff to previous 1.73.2.2 (colored)

Sync with HEAD.

Revision 1.73.2.2 / (download) - annotate - [select for diffs], Wed Aug 25 06:58:06 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.73.2.1: +98 -146 lines
Diff to previous 1.73.2.1 (colored)

Sync with HEAD.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Aug 21 23:48:33 2004 UTC (19 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.76: +98 -146 lines
Diff to previous 1.76 (colored)

Use ANSI function decls and make use of static.

Revision 1.73.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:09 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.73: +10 -5 lines
Diff to previous 1.73 (colored)

Sync with HEAD

Revision 1.76 / (download) - annotate - [select for diffs], Wed Mar 17 13:54:09 2004 UTC (20 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0
Branch point for: netbsd-2
Changes since 1.75: +6 -4 lines
Diff to previous 1.75 (colored)

For sparc*: myetheraddr is no more

Revision 1.75 / (download) - annotate - [select for diffs], Fri Nov 28 06:03:09 2003 UTC (20 years, 4 months ago) by cube
Branch: MAIN
Changes since 1.74: +5 -2 lines
Diff to previous 1.74 (colored)

Add support for the 3com OfficeConnect 10/100B card, which has an ADMtek
AN985 controller, handled by tlp(4).

From Mike M. Volokhov <mishka AT terabyte DOT com DOT ua> in
current-users.

Revision 1.74 / (download) - annotate - [select for diffs], Mon Nov 3 03:05:25 2003 UTC (20 years, 5 months ago) by ichiro
Branch: MAIN
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

Fix uninitialized variable warnings

Revision 1.73 / (download) - annotate - [select for diffs], Fri Jun 27 12:25:38 2003 UTC (20 years, 9 months ago) by itohy
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.72: +59 -2 lines
Diff to previous 1.72 (colored)

Properly reset PHY on ZNYX boards which are composed of
21143 and Quality Semiconductor QS6611 PHY.

QS6611 requires explicit reset on some hardware configuration.  See
``Using the Intel 21143 with the Quality Semiconductor QS6611 Revision D4''
<http://www.intel.com/design/network/applnots/278239.htm> for details.

Models which should be supported by this change are
	ZX345Q, ZX346Q, ZX348Q,		(non-Q versions use different PHYs)
	ZX414, ZX412, ZX444,
	ZX442, ZX212, ZX214,
	ZX374, ZX372, ZX244,
	ZX424, ZX422.

Tested on ZX346Q.

Some information is from the ZNYX driver source code available from
the ZNYX web site <http://www.znyx.com/>.

Revision 1.72 / (download) - annotate - [select for diffs], Mon Mar 10 20:50:22 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.71: +8 -6 lines
Diff to previous 1.71 (colored)

Fix an error message.

Revision 1.51.2.10 / (download) - annotate - [select for diffs], Sun Dec 29 20:49:24 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.51.2.9: +5 -5 lines
Diff to previous 1.51.2.9 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Sync with HEAD.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Dec 23 02:58:37 2002 UTC (21 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.70: +5 -5 lines
Diff to previous 1.70 (colored)

Replace magic numbers for power management control with PCI_PMCSR* macros.

XXX Should we use pci_get_powerstate() and pci_set_powerstate() in pci.c?

Revision 1.51.2.9 / (download) - annotate - [select for diffs], Fri Oct 18 02:43:07 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.8: +24 -5 lines
Diff to previous 1.51.2.8 (colored) to branchpoint 1.51 (colored)

Catch up to -current.

Revision 1.54.2.5 / (download) - annotate - [select for diffs], Thu Oct 10 18:40:48 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.54.2.4: +4 -5 lines
Diff to previous 1.54.2.4 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.70 / (download) - annotate - [select for diffs], Wed Oct 9 16:59:19 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

tlp_pci_vpc_21140_quirks(): make agnostic to signed/unsigned char; fixes
compile on cats

Revision 1.69 / (download) - annotate - [select for diffs], Tue Oct 8 15:09:54 2002 UTC (21 years, 6 months ago) by minoura
Branch: MAIN
Changes since 1.68: +22 -2 lines
Diff to previous 1.68 (colored)

Add quirk for Connectix VirtualPC emulated 21140, just to print the name
from the SROM.

Revision 1.68 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:35 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Sep 30 20:37:41 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.66: +4 -5 lines
Diff to previous 1.66 (colored)

Use CFATTACH_DECL().

Revision 1.66 / (download) - annotate - [select for diffs], Fri Sep 27 20:40:21 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

Declare all cfattach structures const.

Revision 1.54.2.4 / (download) - annotate - [select for diffs], Sun Jun 23 17:47:45 2002 UTC (21 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.54.2.3: +269 -18 lines
Diff to previous 1.54.2.3 (colored) to branchpoint 1.54 (colored)

catch up with -current on kqueue branch

Revision 1.51.2.8 / (download) - annotate - [select for diffs], Thu Jun 20 03:45:31 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.7: +4 -14 lines
Diff to previous 1.51.2.7 (colored) to branchpoint 1.51 (colored)

Catch up to -current.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Apr 17 02:19:14 2002 UTC (22 years ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, gehenna-devsw-base, gehenna-devsw
Changes since 1.64: +4 -14 lines
Diff to previous 1.64 (colored)

Remove TLP_MATCH_* options.

Revision 1.51.2.7 / (download) - annotate - [select for diffs], Wed Apr 17 00:06:01 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.6: +133 -3 lines
Diff to previous 1.51.2.6 (colored) to branchpoint 1.51 (colored)

Catch up to -current.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Apr 4 05:45:55 2002 UTC (22 years ago) by chs
Branch: MAIN
Changes since 1.63: +91 -3 lines
Diff to previous 1.63 (colored)

add support for Cogent EM100 (aka Adaptec ANA-6910) TX and FX.

Revision 1.63 / (download) - annotate - [select for diffs], Wed Apr 3 20:52:42 2002 UTC (22 years ago) by thorpej
Branch: MAIN
Changes since 1.62: +46 -4 lines
Diff to previous 1.62 (colored)

Add support for the Netwinder on-board 21143 (but don't try using it
yet; there are still some problems).

Revision 1.51.2.6 / (download) - annotate - [select for diffs], Mon Apr 1 07:46:26 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.5: +140 -7 lines
Diff to previous 1.51.2.5 (colored) to branchpoint 1.51 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.62 / (download) - annotate - [select for diffs], Tue Mar 26 07:57:17 2002 UTC (22 years ago) by chs
Branch: MAIN
Changes since 1.61: +102 -2 lines
Diff to previous 1.61 (colored)

add support for SMC 9332DST.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Mar 16 18:44:17 2002 UTC (22 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.60: +35 -4 lines
Diff to previous 1.60 (colored)

decode the sub-system IDs on adaptec cards so we can differentiate between
multi-port cards (which need the shared-rom/intr stuff) and single-port cards
(which must not have it).  previously we enabled sharing for all adaptec cards,
which caused problems if you had multiple single-port cards on the same PCI bus.

Revision 1.54.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:14 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.54.2.2: +30 -23 lines
Diff to previous 1.54.2.2 (colored) to branchpoint 1.54 (colored)

Catch up with -current.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Mar 13 05:05:38 2002 UTC (22 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.59: +3 -2 lines
Diff to previous 1.59 (colored)

support the 4-port boards with the Cogent OUI as well.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Mar 13 04:15:05 2002 UTC (22 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.58: +6 -5 lines
Diff to previous 1.58 (colored)

support ANA-6944A boards (in addition to ANA-6922).

Revision 1.51.2.5 / (download) - annotate - [select for diffs], Thu Feb 28 04:14:02 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.4: +29 -25 lines
Diff to previous 1.51.2.4 (colored) to branchpoint 1.51 (colored)

Catch up to -current.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Feb 14 07:59:55 2002 UTC (22 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.57: +28 -23 lines
Diff to previous 1.57 (colored)

add support for Adaptec ANA-69xx multi-port cards.

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Mon Feb 11 20:09:59 2002 UTC (22 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.54.2.1: +3 -4 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored)

Sync w/ -current.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jan 12 16:17:06 2002 UTC (22 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.56: +3 -4 lines
Diff to previous 1.56 (colored)

Call malloc(9) with M_ZERO flag instead of memset() after malloc().

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:56:46 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.54: +13 -2 lines
Diff to previous 1.54 (colored)

Sync kqueue branch with -current.

Revision 1.51.2.4 / (download) - annotate - [select for diffs], Tue Jan 8 00:31:06 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.3: +11 -3 lines
Diff to previous 1.51.2.3 (colored) to branchpoint 1.51 (colored)

Catch up to -current.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Dec 7 21:13:58 2001 UTC (22 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.55: +11 -3 lines
Diff to previous 1.55 (colored)

Fix sense of if to grab address from alternation if srom is not in isv
format on Davicom chips.  Add sparc specific case in this case to call
myetheraddr if oui is all 0s (for Netra X1).

Revision 1.51.2.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:19 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.2: +4 -1 lines
Diff to previous 1.51.2.2 (colored) to branchpoint 1.51 (colored)

Catch up to -current.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:45 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.54: +4 -1 lines
Diff to previous 1.54 (colored)

add RCSID

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Fri Aug 24 00:10:10 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.51.2.1: +1 -6 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored)

Catch up with -current.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Jul 8 18:02:29 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: kqueue
Changes since 1.53: +1 -6 lines
Diff to previous 1.53 (colored)

Remove unnecessary include files.  From Onno van der Linden.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:04:53 2001 UTC (22 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.51: +44 -13 lines
Diff to previous 1.51 (colored)

Catch up to -current.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Jun 12 22:28:16 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.52: +1 -13 lines
Diff to previous 1.52 (colored)

Don't need INET or NS includes here.

Revision 1.52 / (download) - annotate - [select for diffs], Sun May 27 21:00:33 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.51: +44 -1 lines
Diff to previous 1.51 (colored)

Add quirks for the Algorithmics P-5064 on-board 21143, and a way to
get the Ethernet address from it (they don't have an SROM).

XXX The latter should be replaced with devprops when they exist.

Revision 1.39.2.7 / (download) - annotate - [select for diffs], Tue Apr 24 21:33:52 2001 UTC (22 years, 11 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.39.2.6: +2 -2 lines
Diff to previous 1.39.2.6 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Apply patch (requested by he):
  Fix typo in last patch, so that this compiles again.

Revision 1.39.2.6 / (download) - annotate - [select for diffs], Mon Apr 23 22:05:02 2001 UTC (23 years ago) by he
Branch: netbsd-1-5
Changes since 1.39.2.5: +51 -2 lines
Diff to previous 1.39.2.5 (colored) to branchpoint 1.39 (colored)

Pull up revisions 1.47-1.50 (via patch, requested by hubertf):
  Support Accton EN2242 and other AmdTek AN985 compatible cards
  with the tlp(4) driver.

Revision 1.20.2.4 / (download) - annotate - [select for diffs], Mon Mar 12 13:31:08 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.20.2.3: +6 -1 lines
Diff to previous 1.20.2.3 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Feb 24 00:01:23 2001 UTC (23 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.50: +6 -1 lines
Diff to previous 1.50 (colored)

C requires that labels be followed by statements.

Revision 1.20.2.3 / (download) - annotate - [select for diffs], Thu Jan 18 09:23:26 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.20.2.2: +8 -1 lines
Diff to previous 1.20.2.2 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jan 8 21:50:47 2001 UTC (23 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.49: +3 -1 lines
Diff to previous 1.49 (colored)

Add Accton EN2242 10/100 MiniPCI Ethernet.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Jan 8 21:45:42 2001 UTC (23 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.48: +7 -2 lines
Diff to previous 1.48 (colored)

Use the AN985 media switch on the AN985.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:09 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.20.2.1: +2 -3 lines
Diff to previous 1.20.2.1 (colored)

Sync with HEAD

Revision 1.48 / (download) - annotate - [select for diffs], Thu Dec 28 22:59:13 2000 UTC (23 years, 3 months ago) by sommerfeld
Branch: MAIN
Changes since 1.47: +2 -3 lines
Diff to previous 1.47 (colored)

Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:24 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.20: +235 -71 lines
Diff to previous 1.20 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Oct 3 04:32:02 2000 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.46: +43 -1 lines
Diff to previous 1.46 (colored)

Add support for the ADMtek AN983 and AN985.

Revision 1.39.2.5 / (download) - annotate - [select for diffs], Wed Aug 9 14:39:15 2000 UTC (23 years, 8 months ago) by castor
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.39.2.4: +11 -3 lines
Diff to previous 1.39.2.4 (colored) to branchpoint 1.39 (colored)

Pulling up
	ic/tulipvar.h diffs between 1.36 and 1.37
	ic/tulipreg.h diffs between 1.21 and 1.20
	ic/ tulip.c  diffs between 1.70 and 1.71
	pci/if_tlp_pci.c diffs between 1.43 and 1.46

requested by tls and thorpej, approved by thorpej

>	date: 2000/08/03 03:07:31;  author: castor;  state: Exp;
	lines: +5 -1 Support some differences in the Macronix
	98715AEC-C and E chips from the other 98715* series.

	The MX98715AEC-[C,E] use a different location in the serial eerom for
	LED control, and programming it with the original location's values
	caused unpredictable behavior.

	Also, start integrating fixes where media changes on an adapter
	under load may fail.  There's more work to be done here, but I need
	to sort out our internal changes a little more carefully.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Aug 3 03:07:31 2000 UTC (23 years, 8 months ago) by castor
Branch: MAIN
Changes since 1.45: +5 -1 lines
Diff to previous 1.45 (colored)

Support some differences in the Macronix 98715AEC-C and E chips from the other
98715* series.

The MX98715AEC-[C,E] use a different location in the serial eerom for
LED control, and programming it with the original location's values
caused unpredictable behavior.

Also, start integrating fixes where media changes on an adapter
under load may fail.  There's more work to be done here, but I need
to sort out our internal changes a little more carefully.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jul 17 18:12:00 2000 UTC (23 years, 9 months ago) by tron
Branch: MAIN
Changes since 1.44: +5 -3 lines
Diff to previous 1.44 (colored)

Don't make assumptions of the actual value of PCI_PMCSR_STATE_D0.
Problem noted by John Hawkinson.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jul 17 17:53:44 2000 UTC (23 years, 9 months ago) by tron
Branch: MAIN
Changes since 1.43: +5 -3 lines
Diff to previous 1.43 (colored)

Don't clobber bits from 2 to 31 when trying to change the power state.
Problem noted by John Hawkinson.

Revision 1.39.2.4 / (download) - annotate - [select for diffs], Sun Jul 16 20:29:08 2000 UTC (23 years, 9 months ago) by tron
Branch: netbsd-1-5
Changes since 1.39.2.3: +13 -9 lines
Diff to previous 1.39.2.3 (colored) to branchpoint 1.39 (colored)

Sync with NetBSD-current (pull up approved by thorpej):

syssrc/sys/dev/pci/if_epic_pci.c, 1.12
syssrc/sys/dev/pci/if_tlp_pci.c, 1.43

If card is in power state D3 put it into power state D0 so that it will
at least work after the next reboot.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jul 16 20:18:48 2000 UTC (23 years, 9 months ago) by tron
Branch: MAIN
Changes since 1.42: +13 -9 lines
Diff to previous 1.42 (colored)

If card is in power state D3 put it into power state D0 so that it will
at least work after the next reboot.

Revision 1.39.2.3 / (download) - annotate - [select for diffs], Sat Jul 15 22:48:01 2000 UTC (23 years, 9 months ago) by tron
Branch: netbsd-1-5
Changes since 1.39.2.2: +2 -2 lines
Diff to previous 1.39.2.2 (colored) to branchpoint 1.39 (colored)

Sync with NetBSD-current (pull up approved by thorpej):

syssrc/sys/dev/pci/if_epic_pci.c, 1.11
syssrc/sys/dev/pci/if_tlp_pci.c, 1.42

Avoid printing duplicate colon when card is waked up.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Jul 15 20:57:24 2000 UTC (23 years, 9 months ago) by tron
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Avoid printing duplicate colon when card is waked up.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Sat Jul 15 19:47:05 2000 UTC (23 years, 9 months ago) by tron
Branch: netbsd-1-5
Changes since 1.39.2.1: +4 -5 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored)

Sync with NetBSD-current (pull up approved by thorpej):

syssrc/sys/dev/pci/if_epic_pci.c, 1.9
syssrc/sys/dev/pci/if_tlp_pci.c, 1.41

Improve kernel message when card is in power state D3. Instead of...

epic0 at pci0 dev 11 function 0 epic0: unable to wake up from ...

... print this:

epic0 at pci0 dev 11 function 0: unable to wake up from power state D3

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jul 15 10:32:37 2000 UTC (23 years, 9 months ago) by tron
Branch: MAIN
Changes since 1.40: +4 -5 lines
Diff to previous 1.40 (colored)

Improve kernel message when card is in power state D3. Instead of...

epic0 at pci0 dev 11 function 0 epic0: unable to wake up from ...

... print this:

epic0 at pci0 dev 11 function 0: unable to wake up from power state D3

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Sun Jun 25 20:23:36 2000 UTC (23 years, 9 months ago) by sommerfeld
Branch: netbsd-1-5
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

defopt TLP_MATCH_*.  pullup approved by thorpej

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jun 25 18:49:22 2000 UTC (23 years, 9 months ago) by sommerfeld
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

Defopt TLP_MATCH_*

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:07:23 2000 UTC (23 years, 10 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.38: +17 -8 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.39 / (download) - annotate - [select for diffs], Sat May 27 19:42:06 2000 UTC (23 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.38: +17 -8 lines
Diff to previous 1.38 (colored)

While DM9102A boards tend to have ISV-format SROMs (likely to describe
the HomePNA PHY typically connected to the external MII interface),
DM9102 implementations (often found on motherboards) do not.  Handle
this.

Revision 1.38 / (download) - annotate - [select for diffs], Fri May 26 16:38:14 2000 UTC (23 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.37: +25 -4 lines
Diff to previous 1.37 (colored)

Add support for the Davicom DM9102 and DM9102A 10/100 Ethernet chips.

Partially based on diffs submitted by Matthew Orgass <darkstar@pgh.net>
and IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Apr 4 19:22:51 2000 UTC (24 years ago) by thorpej
Branch: MAIN
Changes since 1.36: +1 -2 lines
Diff to previous 1.36 (colored)

- if_tlp_cardbus.c: Use the `pmreg' pointer passed by by
  cardbus_get_capability() [mirror change already made to if_tlp_pci.c]
- if_tlp_cardbus.c: If we don't find an ISV SROM, try to grab the
  Ethernet address from the CIS.
- if_tlp_cardbus.c: set CardBus cards to store-and-forward mode from
  the get-go.
- Put the TxThresh tables in tulipvar.h, and use them in the CardBus
  and PCI front-ends to go to store-and-forward mode.
- Document the Xircom X3201-3 clone a little more.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Mar 26 10:53:39 2000 UTC (24 years ago) by soren
Branch: MAIN
Changes since 1.35: +25 -1 lines
Diff to previous 1.35 (colored)

For Cobalt Networks 21143's, always use store-and-forward and toggle
a GPIO line to fully reset the PHY.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Mar 23 22:23:03 2000 UTC (24 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.34: +20 -25 lines
Diff to previous 1.34 (colored)

Rather than guessing at the location of the PMCSR, use the pointer returned by
pci_get_capability().  (This is, after all, a standardized interface...)

Revision 1.34 / (download) - annotate - [select for diffs], Wed Mar 15 18:39:52 2000 UTC (24 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.33: +7 -1 lines
Diff to previous 1.33 (colored)

Add power management support to the `tlp' driver.  The battery on my
laptop lasts a whole lot longer now.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Mar 7 00:39:18 2000 UTC (24 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.32: +22 -127 lines
Diff to previous 1.32 (colored)

Determine the size of the SROM by probing the chip using the standard Microwire
protocol.  Eliminates the need for srom_quirks and some other trash.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jan 26 16:51:11 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.31: +26 -22 lines
Diff to previous 1.31 (colored)

Give the ISV filter a chance to verify 21143 pass 4.1 SROMs before running
them through the quirk table.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jan 26 15:50:52 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +80 -8 lines
Diff to previous 1.30 (colored)

Additional hackery for the Cobalt interfaces.  Even though these are
pass 4.1 21143s, they have a 128-byte SROM, and thus use a different
SROM address size than all other pass 4.1 21143s.

A plea to hardware designers -- *please* read application notes for
the components you're using before putting your hardware together.  Thanks.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jan 25 19:53:34 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +11 -25 lines
Diff to previous 1.29 (colored)

Clean up the SROM addrbits code a little.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jan 25 19:29:18 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +3 -5 lines
Diff to previous 1.28 (colored)

Add a chip type for the Xircom X3201-3, and centralize the declaration
of the chip names array.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jan 25 03:23:56 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +33 -4 lines
Diff to previous 1.27 (colored)

Handle Cobalt Networks interfaces, which are 21143 pass 4.1 devices
with a simple (MAC address only) SROM format.

From Soren S. Jorvang <soren@wheel.dk>

Revision 1.20.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:18 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.20: +80 -8 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Pull up to last week's -current.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Dec 11 00:33:01 1999 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.26: +3 -1 lines
Diff to previous 1.26 (colored)

- Don't try to run the chip in big-endian mode.  Not all chips support
  this consistently, and it doesn't always work even when the chip
  supports it.
- Make sure things DMA'd to the chip that the chip interprets are in
  little-endian mode.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Dec 7 07:36:20 1999 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored)

After reading the 21143 manual again, make sure SNOOZE is cleared in
the CFDA register, too.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Dec 7 07:32:58 1999 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +4 -2 lines
Diff to previous 1.24 (colored)

Add the PMCSR offset for the 21143, and make sure to bring the 21142
and 21143 out of sleep mode.  From Masanori Kanaoka.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Dec 7 07:20:17 1999 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +21 -3 lines
Diff to previous 1.23 (colored)

If, on the 21143, we find that we don't have an ISV SROM, try reading
it again, with 8 address bits.  21143 Pass 4.1 has a larger SROM,
for storing the CIS when used in a CardBus application.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Nov 19 18:22:43 1999 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.22: +9 -5 lines
Diff to previous 1.22 (colored)

- Use the common MII bit-bang module.
- Add support other than 128-byte SROMs.
- Add support for the 21142/21143 MII.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:41:02 1999 UTC (24 years, 5 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.20: +46 -1 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with -current

Revision 1.22 / (download) - annotate - [select for diffs], Thu Nov 4 01:20:55 1999 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl-softdep-base
Changes since 1.21: +11 -1 lines
Diff to previous 1.21 (colored)

Use Memory Read Line and Memory Read Multiple on the 21140, 21140A,
21142, and 21143, if the PCI bus says its okay.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Oct 28 23:32:37 1999 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Changes since 1.20: +36 -1 lines
Diff to previous 1.20 (colored)

Add some 21142/21143 goo.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Sep 30 17:48:25 1999 UTC (24 years, 6 months ago) by thorpej
Branch: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.19: +24 -13 lines
Diff to previous 1.19 (colored)

Changes to get the Lite-On/Macronix 82C115 working:
- 82C115 has a 128-bit multicast hash table, not 512-bit.
- Correct the way the MAC address is read from the SROM, after re-reading
  the MX98715A Application Note.

Other semi-related changes:
- Differentiate between MX98715 and MX98715A.
- Improve the Macronix link-up/link-down detection.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Sep 29 18:52:19 1999 UTC (24 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +48 -18 lines
Diff to previous 1.18 (colored)

- Get a little closer on the Macronix chips.  Still some more work to do.
- Add some basic support for the ADMtek AL981 clone (which, unfortunately,
  I can't test until my sample boards arrive).

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 28 23:12:23 1999 UTC (24 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +111 -39 lines
Diff to previous 1.17 (colored)

Add code to take a device out of Power-Down state if it's in such a state,
and attempt to attach Macronix chips.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Sep 26 05:03:58 1999 UTC (24 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +42 -1 lines
Diff to previous 1.16 (colored)

Add a quirk entry for the Asante 21140[A] boards that don't use the
ISV SROM format.  For these boards, we provide the GPIO pin direction
info, a separate reset hook, and hard-wire them to MII-on-SIO.

Based on a patch submitted by Luoqi Chen <luoqi@chekov.watermarkgroup.com>.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Sep 26 04:43:45 1999 UTC (24 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +8 -6 lines
Diff to previous 1.15 (colored)

Some 21140[A] boards don't use the ISV SROM format (e.g. Asante boards),
but instead use the older DEC Address ROM format.

From a patch supplied by Luoqi Chen <luoqi@chekov.watermarkgroup.com>.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Sep 26 04:37:29 1999 UTC (24 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +42 -3 lines
Diff to previous 1.14 (colored)

Add quirk entry support for the 21041 and 21140 chips.  Initial quirks
for these: extract the spiffy DEC board names (e.g. DE500-AA).

Revision 1.14 / (download) - annotate - [select for diffs], Sun Sep 26 03:39:02 1999 UTC (24 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +3 -4 lines
Diff to previous 1.13 (colored)

Make tlp_read_srom() work on big-endian systems.

From a patch supplied by Luoqi Chen <luoqi@chekov.watermarkgroup.com>.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Sep 25 00:27:00 1999 UTC (24 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +29 -2 lines
Diff to previous 1.12 (colored)

Add support for the DECchip 21140[A].  This currently only works with
boards which use MII for media attachment.

ISV SROM format information lifted from Matt Thomas's `de' driver.

Thanks to Dave Sainty for experimenting w/ his 21140A MII boards, and
for supplying a fix to the MII bit-bang code (PR #8382).

Revision 1.12 / (download) - annotate - [select for diffs], Mon Sep 20 19:26:55 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +43 -1 lines
Diff to previous 1.11 (colored)

Add support for the DECchip 21041.  This also adds some preliminary
support for the ISV SROM format used in the 2114{1,1A,2,3}.  Note, like
the 21040, auto-sense is not yet supported for the 21041.

Add a "pre-init" hook, which will be used for the 2114x and PNIC (currently)
which allows chip-specific code to set up and write OPMODE before the
chip is reset.  This is necessary in order for the chip's internal
pathways to get initialized properly for MII/SYM/PCS/SIA media attachments.

Thanks to Dave Sainty for the hint from the `de' driver that inspired the
pre-init hook.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Sep 17 21:55:01 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +18 -5 lines
Diff to previous 1.10 (colored)

Fix a few buglets in the multi-port 21040 code.  ZNYX ZX314 confirmed
working now.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Sep 14 23:43:10 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +22 -1 lines
Diff to previous 1.9 (colored)

Make sure 21040 chips are at least pass 2.0 and that 21140 chips are at
least pass 1.1.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Sep 14 23:33:04 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +5 -6 lines
Diff to previous 1.8 (colored)

Move the PCI device number to the base Tulip softc; it will be needed to
decode the SROM on 21041 and 2114x multi-port boards.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Sep 14 22:25:49 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +300 -22 lines
Diff to previous 1.7 (colored)

First crack at shared ROM/shared interrupts on 21040 multi-port boards,
plus quirk identification for non-multiple-port boards.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Sep 14 05:59:53 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Oops, fix Winbond regshift.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Sep 14 05:52:23 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +7 -2 lines
Diff to previous 1.5 (colored)

Change the semantics of `sc_regshift'; it is now the shift required to
make a CSR index number into a CSR offset.  Introduce a couple of macros
to handle CSR name -> offset conversion.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 14 00:55:39 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +42 -11 lines
Diff to previous 1.4 (colored)

- More PNIC NWAY stuff.  Still more work to do, here.
- Fix the SROM checksum routine.
- Add code to parse the old DEC Address ROM SROM format.
- Rearrange the statchg routines a bit, to make them consistent with one
  another.
- Add support for the DECchip 21040.  XXX No support for media autosense
  yet, and no support for any of the multi-port boards yet.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Sep 8 22:29:47 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +31 -1 lines
Diff to previous 1.3 (colored)

Add chip types for several more Tulip clones (ASIX, ADMtex, PNIC II, Davicom),
and match the Compex RL100-ATX; it uses the Winbond 89C840F (RL100-TX is
a Macronix 98713).

Revision 1.3 / (download) - annotate - [select for diffs], Wed Sep 8 21:42:44 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Update for Lite-On product ID change.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Sep 3 00:24:56 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Byte swap the EEPROM words on the PNIC.  From Stephen Ma.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 1 00:32:42 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN

This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.

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>