The NetBSD Project

CVS log for src/sys/arch/sgimips/dev/scn.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11 / (download) - annotate - [select for diffs], Wed Dec 20 15:29:07 2023 UTC (2 months, 1 week ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +2 -3 lines
Diff to previous 1.10 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 26 23:59:14 2022 UTC (16 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-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

sgimips/scn(4): Convert to ttylock/ttyunlock.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Oct 4 07:24:32 2022 UTC (16 months, 4 weeks ago) by rin
Branch: MAIN
Changes since 1.8: +2 -4 lines
Diff to previous 1.8 (colored)

Remove unused extern declaration of constty.

Revision 1.3.14.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:41 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3.14.2: +0 -4 lines
Diff to previous 1.3.14.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

update from HEAD

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sat May 16 04:06:04 2015 UTC (8 years, 9 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, 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
Changes since 1.7: +2 -6 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Pull up following revision(s) (requested by maxv in ticket #761):
	sys/arch/sgimips/dev/scn.c: revision 1.8
	sys/arch/sgimips/mace/macekbc.c: revision 1.8
	sys/dev/hpc/hpcfb.c: revision 1.59
	sys/dev/i2c/i2c.c: revision 1.47
	sys/dev/ic/mfi.c: revision 1.57
	sys/dev/if_ndis/if_ndis_pci.c: revision 1.21
	sys/dev/sysmon/sysmon_power.c: revisions 1.50-1.52
	sys/dev/usb/umass_isdata.c: revision 1.31
fix double free, found by Brainy.
--
Free cmd on error if we allocated it.
Found by Brainy, reported by maxv@.
--
don't leak rl (but there are other leaks), found by Brainy.
--
Free ped if we can't hand it to the power daemon.
Found by Brainy, reported by maxv@.
--
don't forget to free the dictionary.
--
another missing free dict.
--
fix leak, found by Brainy.
--
don't malloc a tiny, fixed size buffer to scribble into, then not use it
and never free it either
found by Brainy
--
malloc() -> kmem_alloc() for private data, also kmem_free() them if we
don't finish attaching for whatever reason
found by Brainy

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:01 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.7: +2 -6 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Sat Apr 4 14:12:40 2015 UTC (8 years, 11 months ago) by macallan
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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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-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, 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, 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, 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, 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, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.7: +2 -6 lines
Diff to previous 1.7 (colored)

don't malloc a tiny, fixed size buffer to scribble into, then not use it
and never free it either

found by Brainy

Revision 1.3.14.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:22 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.3.14.1: +22 -13 lines
Diff to previous 1.3.14.1 (colored) to branchpoint 1.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:07 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Rebase.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:34 2014 UTC (9 years, 7 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:06 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.3.4.1: +21 -13 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (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.4.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:24 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.4: +21 -13 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 24 19:10:34 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.5: +10 -11 lines
Diff to previous 1.5 (colored)

- use cpu_{g,s}etmodel
- fix unused

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 16 05:20:25 2014 UTC (9 years, 11 months ago) by dholland
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.4: +13 -4 lines
Diff to previous 1.4 (colored)

Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.3.14.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:40 2012 UTC (11 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

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

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:17 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

sync with head

Revision 1.4 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:09 2012 UTC (11 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, 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.3: +4 -4 lines
Diff to previous 1.3 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:39 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Tue May 31 03:04:16 2011 UTC (12 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 24 16:26:57 2011 UTC (12 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jym-xensuspend-nbase, jym-xensuspend-base, 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, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency.  Remove some unnecessary malloc.h inclusions as well.

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:54 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.4.2: +2 -3 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.2 / (download) - annotate - [select for diffs], Sat Nov 21 17:40:28 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.1: +2 -3 lines
Diff to previous 1.1 (colored)

Use lwp_getpcb() on mips, powerpc and sh3, clean from struct user usage.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Wed May 13 17:18:18 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.1.6.1: +1957 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

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

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:49 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.4.1: +1957 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

sync with head.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:13 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.1.2.1: +1957 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.6.1, Tue Feb 10 06:04:56 2009 UTC (15 years ago) by jym
Branch: jym-xensuspend
Changes since 1.1: +0 -1957 lines
FILE REMOVED

file scn.c was added on branch jym-xensuspend on 2009-05-13 17:18:18 +0000

Revision 1.1.4.1, Tue Feb 10 06:04:56 2009 UTC (15 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1: +0 -1957 lines
FILE REMOVED

file scn.c was added on branch yamt-nfs-mp on 2009-05-04 08:11:49 +0000

Revision 1.1.2.1, Tue Feb 10 06:04:56 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.1: +0 -1957 lines
FILE REMOVED

file scn.c was added on branch nick-hppapmap on 2009-03-03 18:29:13 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 10 06:04:56 2009 UTC (15 years ago) by rumble
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base
Branch point for: yamt-nfs-mp, nick-hppapmap, jym-xensuspend

Check in work in progress of Personal IRIS 4D/20 and 4D/25 support (IP6
and IP10, respectively).

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>