svn commit: r198535 - head

2009-10-28 Thread Edwin Groothuis
Author: edwin
Date: Wed Oct 28 07:05:32 2009
New Revision: 198535
URL: http://svn.freebsd.org/changeset/base/198535

Log:
  Now that the zoneinfo data is automatically updated when a new world
  is installed, we should at least have the tzsetup tool available!
  
  Suggested by: Andriy Gapon a...@freebsd.org
  Noticed by:   Ben Kaduk minimar...@gmail.com
  MFC after:1 week

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==
--- head/Makefile.inc1  Wed Oct 28 03:34:05 2009(r198534)
+++ head/Makefile.inc1  Wed Oct 28 07:05:32 2009(r198535)
@@ -599,11 +599,14 @@ installcheck_UGID:
 .if ${MK_INFO} != no
 _install-info= install-info
 .endif
+.if ${MK_ZONEINFO} != no
+_zoneinfo= zic tzsetup
+.endif
 
 ITOOLS=[ awk cap_mkdb cat chflags chmod chown \
date echo egrep find grep ${_install-info} \
ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl \
-   test true uname wc zic
+   test true uname wc ${_zoneinfo}
 
 #
 # distributeworld
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198537 - head/sys/boot/common

2009-10-28 Thread Christian Brueffer
Author: brueffer
Date: Wed Oct 28 10:06:27 2009
New Revision: 198537
URL: http://svn.freebsd.org/changeset/base/198537

Log:
  Close a file descriptor leak in an error case.
  
  PR:   138374
  Submitted by: Patroklos Argyroudis a...@census-labs.com
  MFC after:1 week

Modified:
  head/sys/boot/common/commands.c

Modified: head/sys/boot/common/commands.c
==
--- head/sys/boot/common/commands.c Wed Oct 28 09:55:42 2009
(r198536)
+++ head/sys/boot/common/commands.c Wed Oct 28 10:06:27 2009
(r198537)
@@ -150,6 +150,7 @@ command_help(int argc, char *argv[]) 
break;
 default:
command_errmsg = usage is 'help topic [subtopic];
+   close(hfd);
return(CMD_ERROR);
 }
 
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198539 - head/sys/netinet/libalias

2009-10-28 Thread Christian Brueffer
Author: brueffer
Date: Wed Oct 28 12:10:29 2009
New Revision: 198539
URL: http://svn.freebsd.org/changeset/base/198539

Log:
  Close a stream file descriptor leak.
  
  PR:   138130
  Submitted by: Patroklos Argyroudis a...@census-labs.com
  MFC after:1 week

Modified:
  head/sys/netinet/libalias/alias.c

Modified: head/sys/netinet/libalias/alias.c
==
--- head/sys/netinet/libalias/alias.c   Wed Oct 28 11:14:32 2009
(r198538)
+++ head/sys/netinet/libalias/alias.c   Wed Oct 28 12:10:29 2009
(r198539)
@@ -1669,6 +1669,7 @@ LibAliasRefreshModules(void)
LibAliasLoadModule(buf);
}
}
+   fclose(fd);
return (0);
 }
 
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198540 - in stable/6/sys: . conf contrib/pf dev/aac dev/cxgb

2009-10-28 Thread Ed Maste
Author: emaste
Date: Wed Oct 28 13:38:07 2009
New Revision: 198540
URL: http://svn.freebsd.org/changeset/base/198540

Log:
  MFC r188896
  
Sync with the official Adaptec vendor driver:
  
[1] Add the support for the NARK controller which seems a variant of
the i960Rx.
[2] Split up memory regions and other resources in 2 different parts
as long as NARK uses them separately (it is not clear to me
why though as long as there are no more informations available
on this controller). Please note that in all the other cases,
the regions overlaps leaving the default behaviour for all the
other controllers.
[3] Implement a clock daemon responsible for maintain updated the
wall clock time of the controller (run any 30 minutes).
  
  (Replace callout_schedule with callout_reset for [3].)

Modified:
  stable/6/sys/   (props changed)
  stable/6/sys/conf/   (props changed)
  stable/6/sys/contrib/pf/   (props changed)
  stable/6/sys/dev/aac/aac.c
  stable/6/sys/dev/aac/aac_debug.c
  stable/6/sys/dev/aac/aac_pci.c
  stable/6/sys/dev/aac/aacreg.h
  stable/6/sys/dev/aac/aacvar.h
  stable/6/sys/dev/cxgb/   (props changed)

Modified: stable/6/sys/dev/aac/aac.c
==
--- stable/6/sys/dev/aac/aac.c  Wed Oct 28 12:10:29 2009(r198539)
+++ stable/6/sys/dev/aac/aac.c  Wed Oct 28 13:38:07 2009(r198540)
@@ -71,6 +71,7 @@ static void   aac_startup(void *arg);
 static voidaac_add_container(struct aac_softc *sc,
  struct aac_mntinforesp *mir, int f);
 static voidaac_get_bus_info(struct aac_softc *sc);
+static voidaac_daemon(void *arg);
 
 /* Command Processing */
 static voidaac_timeout(struct aac_softc *sc);
@@ -292,6 +293,9 @@ aac_attach(struct aac_softc *sc)
TAILQ_INIT(sc-aac_container_tqh);
TAILQ_INIT(sc-aac_ev_cmfree);
 
+   /* Initialize the clock daemon callout. */
+   callout_init_mtx(sc-aac_daemontime, sc-aac_io_lock, 0);
+
/*
 * Initialize the adapter.
 */
@@ -349,9 +353,34 @@ aac_attach(struct aac_softc *sc)
aac_get_bus_info(sc);
}
 
+   mtx_lock(sc-aac_io_lock);
+   callout_reset(sc-aac_daemontime, 30 * 60 * hz, aac_daemon, sc);
+   mtx_unlock(sc-aac_io_lock);
+
return(0);
 }
 
+static void
+aac_daemon(void *arg)
+{
+   struct timeval tv;
+   struct aac_softc *sc;
+   struct aac_fib *fib;
+
+   sc = arg;
+   mtx_assert(sc-aac_io_lock, MA_OWNED);
+
+   if (callout_pending(sc-aac_daemontime) ||
+   callout_active(sc-aac_daemontime) == 0)
+   return;
+   getmicrotime(tv);
+   aac_alloc_sync_fib(sc, fib);
+   *(uint32_t *)fib-data = tv.tv_sec;
+   aac_sync_fib(sc, SendHostTime, 0, fib, sizeof(uint32_t));
+   aac_release_sync_fib(sc);
+   callout_schedule(sc-aac_daemontime, 30 * 60 * hz);
+}
+
 void
 aac_add_event(struct aac_softc *sc, struct aac_event *event)
 {
@@ -632,9 +661,12 @@ aac_free(struct aac_softc *sc)
bus_dma_tag_destroy(sc-aac_parent_dmat);
 
/* release the register window mapping */
-   if (sc-aac_regs_resource != NULL)
+   if (sc-aac_regs_res0 != NULL)
+   bus_release_resource(sc-aac_dev, SYS_RES_MEMORY,
+sc-aac_regs_rid0, sc-aac_regs_res0);
+   if (sc-aac_hwif == AAC_HWIF_NARK  sc-aac_regs_res1 != NULL)
bus_release_resource(sc-aac_dev, SYS_RES_MEMORY,
-sc-aac_regs_rid, sc-aac_regs_resource);
+sc-aac_regs_rid1, sc-aac_regs_res1);
 }
 
 /*
@@ -654,6 +686,8 @@ aac_detach(device_t dev)
if (sc-aac_state  AAC_STATE_OPEN)
return(EBUSY);
 
+   callout_drain(sc-aac_daemontime);
+
/* Remove the child containers */
while ((co = TAILQ_FIRST(sc-aac_container_tqh)) != NULL) {
error = device_delete_child(dev, co-co_disk);
@@ -834,7 +868,7 @@ aac_new_intr(void *arg)
}
index = ~2;
for (i = 0; i  sizeof(struct aac_fib)/4; ++i)
-   ((u_int32_t *)fib)[i] = AAC_GETREG4(sc, index + 
i*4);
+   ((u_int32_t *)fib)[i] = AAC_MEM1_GETREG4(sc, 
index + i*4);
aac_handle_aif(sc, fib);
free(fib, M_AACBUF);
 
@@ -1753,26 +1787,33 @@ aac_check_firmware(struct aac_softc *sc)
 
/* Remap mem. resource, if required */
if ((sc-flags  AAC_FLAGS_NEW_COMM) 
-   atu_size  rman_get_size(sc-aac_regs_resource)) {
+   atu_size  rman_get_size(sc-aac_regs_res1)) {
bus_release_resource(
sc-aac_dev, SYS_RES_MEMORY,
-   sc-aac_regs_rid, sc-aac_regs_resource);
-   sc-aac_regs_resource = 

svn commit: r198541 - head/sys/dev/aac

2009-10-28 Thread Ed Maste
Author: emaste
Date: Wed Oct 28 13:50:28 2009
New Revision: 198541
URL: http://svn.freebsd.org/changeset/base/198541

Log:
  Do first controller time sync after 1 minute, as in Adaptec's vendor
  driver.

Modified:
  head/sys/dev/aac/aac.c

Modified: head/sys/dev/aac/aac.c
==
--- head/sys/dev/aac/aac.c  Wed Oct 28 13:38:07 2009(r198540)
+++ head/sys/dev/aac/aac.c  Wed Oct 28 13:50:28 2009(r198541)
@@ -354,7 +354,7 @@ aac_attach(struct aac_softc *sc)
}
 
mtx_lock(sc-aac_io_lock);
-   callout_reset(sc-aac_daemontime, 30 * 60 * hz, aac_daemon, sc);
+   callout_reset(sc-aac_daemontime, 60 * hz, aac_daemon, sc);
mtx_unlock(sc-aac_io_lock);
 
return(0);
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198542 - head/lib/libstand

2009-10-28 Thread Christian Brueffer
Author: brueffer
Date: Wed Oct 28 14:13:45 2009
New Revision: 198542
URL: http://svn.freebsd.org/changeset/base/198542

Log:
  Initialize f_rabuf in the raw device case. A subsequent close()
  later on would try to free it, leading to a crash.
  
  PR:   93998
  Submitted by: neel
  MFC after:1 week

Modified:
  head/lib/libstand/open.c

Modified: head/lib/libstand/open.c
==
--- head/lib/libstand/open.cWed Oct 28 13:50:28 2009(r198541)
+++ head/lib/libstand/open.cWed Oct 28 14:13:45 2009(r198542)
@@ -113,6 +113,7 @@ open(const char *fname, int mode)
 /* see if we opened a raw device; otherwise, 'file' is the file name. */
 if (file == (char *)0 || *file == '\0') {
f-f_flags |= F_RAW;
+   f-f_rabuf = NULL;
return (fd);
 }
 
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198543 - head/share/man/man5

2009-10-28 Thread Christian Brueffer
Author: brueffer
Date: Wed Oct 28 14:39:27 2009
New Revision: 198543
URL: http://svn.freebsd.org/changeset/base/198543

Log:
  Fix date (1) and SEE ALSO section.
  
  Submitted by: Ulrich Spoerlein (1)
  MFC after:1 week

Modified:
  head/share/man/man5/regdomain.5

Modified: head/share/man/man5/regdomain.5
==
--- head/share/man/man5/regdomain.5 Wed Oct 28 14:13:45 2009
(r198542)
+++ head/share/man/man5/regdomain.5 Wed Oct 28 14:39:27 2009
(r198543)
@@ -23,7 +23,7 @@
 .\ SUCH DAMAGE.
 .\
 .\ $FreeBSD$
-.Dd Apri 13, 2008
+.Dd April 13, 2008
 .Dt REGDOMAIN 5
 .Os
 .Sh NAME
@@ -44,5 +44,5 @@ This file should be changed only to refl
 XML database of 802.11 regulatory constraints
 .El
 .Sh SEE ALSO
-.Xr wlan 4
-.Xr ifconfig 8 ,
+.Xr wlan 4 ,
+.Xr ifconfig 8
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198544 - svnadmin/conf

2009-10-28 Thread Ken Smith
Author: kensmith
Date: Wed Oct 28 15:01:18 2009
New Revision: 198544
URL: http://svn.freebsd.org/changeset/base/198544

Log:
  Add releng/8.0, approval by re@ required.  Release stable/8 to *conservative*
  normal developer activity (please don't make taking care of things destined
  for the release more difficult than necessary).
  
  Approved by:  core (implicit)

Modified:
  svnadmin/conf/approvers

Modified: svnadmin/conf/approvers
==
--- svnadmin/conf/approvers Wed Oct 28 14:39:27 2009(r198543)
+++ svnadmin/conf/approvers Wed Oct 28 15:01:18 2009(r198544)
@@ -17,8 +17,9 @@
 # $FreeBSD$
 #
 #^head/re
-^stable/8/ re
+#^stable/8/re
 #^stable/7/re
+^releng/8.0/   re
 ^releng/7.[0-2]/   (security-officer|so)
 ^releng/6.[0-4]/   (security-officer|so)
 ^releng/5.[0-5]/   (security-officer|so)
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198545 - in stable/7/sys: . contrib/pf dev/aac

2009-10-28 Thread Ed Maste
Author: emaste
Date: Wed Oct 28 15:09:21 2009
New Revision: 198545
URL: http://svn.freebsd.org/changeset/base/198545

Log:
  MFC r185376:
  
Remove duplicate 2610SA entry.

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/aac/aac_pci.c

Modified: stable/7/sys/dev/aac/aac_pci.c
==
--- stable/7/sys/dev/aac/aac_pci.c  Wed Oct 28 15:01:18 2009
(r198544)
+++ stable/7/sys/dev/aac/aac_pci.c  Wed Oct 28 15:09:21 2009
(r198545)
@@ -168,8 +168,6 @@ struct aac_ident
 ICP ICP9014RO SCSI RAID},
{0x9005, 0x0285, 0x9005, 0x0294, AAC_HWIF_I960RX, 0,
 Adaptec SATA RAID 2026ZCR},
-   {0x9005, 0x0285, 0x103c, 0x3227, AAC_HWIF_I960RX, 0,
-Adaptec SATA RAID 2610SA},
{0x9005, 0x0285, 0x9005, 0x0296, AAC_HWIF_I960RX, 0,
 Adaptec SCSI RAID 2240S},
{0x9005, 0x0285, 0x9005, 0x0297, AAC_HWIF_I960RX, 0,
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198546 - head/sys/dev/amr

2009-10-28 Thread Christian Brueffer
Author: brueffer
Date: Wed Oct 28 15:22:58 2009
New Revision: 198546
URL: http://svn.freebsd.org/changeset/base/198546

Log:
  Remove spurious `)`
  
  PR:   137758
  Submitted by: Henning Petersen henning.peter...@t-online.de
  MFC after:1 week

Modified:
  head/sys/dev/amr/amr.c

Modified: head/sys/dev/amr/amr.c
==
--- head/sys/dev/amr/amr.c  Wed Oct 28 15:09:21 2009(r198545)
+++ head/sys/dev/amr/amr.c  Wed Oct 28 15:22:58 2009(r198546)
@@ -225,7 +225,7 @@ amr_attach(struct amr_softc *sc)
 }
 
 #ifdef AMR_BOARD_INIT
-if ((AMR_IS_QUARTZ(sc) ? amr_quartz_init(sc) : amr_std_init(sc
+if ((AMR_IS_QUARTZ(sc) ? amr_quartz_init(sc) : amr_std_init(sc)))
return(ENXIO);
 #endif
 
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198547 - in stable/6/sys: . conf contrib/pf dev/aac dev/cxgb

2009-10-28 Thread Ed Maste
Author: emaste
Date: Wed Oct 28 15:36:55 2009
New Revision: 198547
URL: http://svn.freebsd.org/changeset/base/198547

Log:
  MFC r185376:
  
Remove duplicate 2610SA entry.

Modified:
  stable/6/sys/   (props changed)
  stable/6/sys/conf/   (props changed)
  stable/6/sys/contrib/pf/   (props changed)
  stable/6/sys/dev/aac/aac_pci.c
  stable/6/sys/dev/cxgb/   (props changed)

Modified: stable/6/sys/dev/aac/aac_pci.c
==
--- stable/6/sys/dev/aac/aac_pci.c  Wed Oct 28 15:22:58 2009
(r198546)
+++ stable/6/sys/dev/aac/aac_pci.c  Wed Oct 28 15:36:55 2009
(r198547)
@@ -168,8 +168,6 @@ struct aac_ident
 ICP ICP9014RO SCSI RAID},
{0x9005, 0x0285, 0x9005, 0x0294, AAC_HWIF_I960RX, 0,
 Adaptec SATA RAID 2026ZCR},
-   {0x9005, 0x0285, 0x103c, 0x3227, AAC_HWIF_I960RX, 0,
-Adaptec SATA RAID 2610SA},
{0x9005, 0x0285, 0x9005, 0x0296, AAC_HWIF_I960RX, 0,
 Adaptec SCSI RAID 2240S},
{0x9005, 0x0285, 0x9005, 0x0297, AAC_HWIF_I960RX, 0,
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198549 - stable/8/share/man/man4

2009-10-28 Thread Christian Brueffer
Author: brueffer
Date: Wed Oct 28 16:54:48 2009
New Revision: 198549
URL: http://svn.freebsd.org/changeset/base/198549

Log:
  MFC: r198313
  
  Improve the description of the malofw kernel module installation.

Modified:
  stable/8/share/man/man4/   (props changed)
  stable/8/share/man/man4/malo.4

Modified: stable/8/share/man/man4/malo.4
==
--- stable/8/share/man/man4/malo.4  Wed Oct 28 15:58:15 2009
(r198548)
+++ stable/8/share/man/man4/malo.4  Wed Oct 28 16:54:48 2009
(r198549)
@@ -31,7 +31,7 @@
 .\
 .\ $FreeBSD$
 .\/
-.Dd March 26, 2009
+.Dd October 21, 2009
 .Dt MALO 4
 .Os
 .Sh NAME
@@ -71,14 +71,19 @@ For more information on configuring this
 .Pp
 This driver requires the
 .Nm malofw
-be installed before it will work.
+firmware kernel module be installed before it will work.
 The firmware files are not publicly available.
-A package of the firmware which can be installed via
-.Xr pkg_add 1
-with:
+A port of the firmware can be found at:
 .Bd -literal -offset indent
 http://weongyo.org/project/malo/malo-firmware-1.4.tar.gz
 .Ed
+.Pp
+The firmware kernel module can be installed by extracting
+the archive and running
+.Ql make install clean
+in the
+.Pa malo-firmware-1.4
+directory.
 .Sh HARDWARE
 The following cards are among those supported by the
 .Nm
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198551 - stable/7/share/man/man4

2009-10-28 Thread Christian Brueffer
Author: brueffer
Date: Wed Oct 28 17:41:29 2009
New Revision: 198551
URL: http://svn.freebsd.org/changeset/base/198551

Log:
  MFC: r198313
  
  Improve the description of the malofw kernel module installation.

Modified:
  stable/7/share/man/man4/   (props changed)
  stable/7/share/man/man4/malo.4

Modified: stable/7/share/man/man4/malo.4
==
--- stable/7/share/man/man4/malo.4  Wed Oct 28 17:03:20 2009
(r198550)
+++ stable/7/share/man/man4/malo.4  Wed Oct 28 17:41:29 2009
(r198551)
@@ -31,7 +31,7 @@
 .\
 .\ $FreeBSD$
 .\/
-.Dd March 26, 2009
+.Dd October 21, 2009
 .Dt MALO 4
 .Os
 .Sh NAME
@@ -69,25 +69,21 @@ The
 driver provides support for Marvell Libertas 88W8335 based PCI
 network adapters.
 .Pp
-This driver requires firmware to be loaded before it will work.
-These firmware files are from the
-.Ox
-.Nm
-driver.
-.Pp
-A package for the firmware which can be installed via
-.Xr pkg_add 1
-can be found at:
+This driver requires the
+.Nm malofw
+firmware kernel module be installed before it will work.
+The firmware files are not publicly available.
+A port of the firmware can be found at:
 .Bd -literal -offset indent
 http://weongyo.org/project/malo/malo-firmware-1.4.tar.gz
 .Ed
 .Pp
-This package must be installed before
-.Xr ifconfig 8
-will work.
-.Pp 
-For more information on configuring this device, see
-.Xr ifconfig 8 .
+The firmware kernel module can be installed by extracting
+the archive and running
+.Ql make install clean
+in the
+.Pa malo-firmware-1.4
+directory.
 .Sh HARDWARE
 The following cards are among those supported by the
 .Nm
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198552 - stable/8/share/man/man4

2009-10-28 Thread Christian Brueffer
Author: brueffer
Date: Wed Oct 28 17:46:05 2009
New Revision: 198552
URL: http://svn.freebsd.org/changeset/base/198552

Log:
  MFC: r198363
  
  List more dependencies for these drivers. While here, convert
  atapicam(4) to use our standard section 4 SYNOPSIS layout.

Modified:
  stable/8/share/man/man4/   (props changed)
  stable/8/share/man/man4/atapicam.4
  stable/8/share/man/man4/umass.4

Modified: stable/8/share/man/man4/atapicam.4
==
--- stable/8/share/man/man4/atapicam.4  Wed Oct 28 17:41:29 2009
(r198551)
+++ stable/8/share/man/man4/atapicam.4  Wed Oct 28 17:46:05 2009
(r198552)
@@ -27,14 +27,29 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd October 23, 2002
+.Dd October 22, 2009
 .Dt ATAPICAM 4
 .Os
 .Sh NAME
 .Nm atapicam
 .Nd CAM XPT (transport) module for ATAPI devices
 .Sh SYNOPSIS
+To compile this driver into the kernel,
+place the following lines in your
+kernel configuration file:
+.Bd -ragged -offset indent
+.Cd device scbus
+.Cd device cam
+.Cd device ata
 .Cd device atapicam
+.Ed
+.Pp
+Alternatively, to load the driver as a
+module at boot time, place the following line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+atapicam_load=YES
+.Ed
 .Sh DESCRIPTION
 The ATAPI/CAM module allows ATAPI devices (CD-ROM, CD-RW, DVD drives,
 floppy drives such as Iomega Zip, tape drives) to be accessed through

Modified: stable/8/share/man/man4/umass.4
==
--- stable/8/share/man/man4/umass.4 Wed Oct 28 17:41:29 2009
(r198551)
+++ stable/8/share/man/man4/umass.4 Wed Oct 28 17:46:05 2009
(r198552)
@@ -27,7 +27,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd November 22, 2006
+.Dd October 22, 2009
 .Dt UMASS 4
 .Os
 .Sh NAME
@@ -38,6 +38,9 @@ To compile this driver into the kernel,
 place the following line in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd device scbus
+.Cd device cam
+.Cd device usb
 .Cd device umass
 .Ed
 .Pp
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198553 - stable/7/share/man/man4

2009-10-28 Thread Christian Brueffer
Author: brueffer
Date: Wed Oct 28 17:46:52 2009
New Revision: 198553
URL: http://svn.freebsd.org/changeset/base/198553

Log:
  MFC: r198363
  
  List more dependencies for these drivers. While here, convert
  atapicam(4) to use our standard section 4 SYNOPSIS layout.

Modified:
  stable/7/share/man/man4/   (props changed)
  stable/7/share/man/man4/atapicam.4
  stable/7/share/man/man4/umass.4

Modified: stable/7/share/man/man4/atapicam.4
==
--- stable/7/share/man/man4/atapicam.4  Wed Oct 28 17:46:05 2009
(r198552)
+++ stable/7/share/man/man4/atapicam.4  Wed Oct 28 17:46:52 2009
(r198553)
@@ -27,14 +27,29 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd October 23, 2002
+.Dd October 22, 2009
 .Dt ATAPICAM 4
 .Os
 .Sh NAME
 .Nm atapicam
 .Nd CAM XPT (transport) module for ATAPI devices
 .Sh SYNOPSIS
+To compile this driver into the kernel,
+place the following lines in your
+kernel configuration file:
+.Bd -ragged -offset indent
+.Cd device scbus
+.Cd device cam
+.Cd device ata
 .Cd device atapicam
+.Ed
+.Pp
+Alternatively, to load the driver as a
+module at boot time, place the following line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+atapicam_load=YES
+.Ed
 .Sh DESCRIPTION
 The ATAPI/CAM module allows ATAPI devices (CD-ROM, CD-RW, DVD drives,
 floppy drives such as Iomega Zip, tape drives) to be accessed through

Modified: stable/7/share/man/man4/umass.4
==
--- stable/7/share/man/man4/umass.4 Wed Oct 28 17:46:05 2009
(r198552)
+++ stable/7/share/man/man4/umass.4 Wed Oct 28 17:46:52 2009
(r198553)
@@ -27,7 +27,7 @@
 .\
 .\ $FreeBSD$
 .\
-.Dd November 22, 2006
+.Dd October 22, 2009
 .Dt UMASS 4
 .Os
 .Sh NAME
@@ -38,6 +38,9 @@ To compile this driver into the kernel,
 place the following line in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd device scbus
+.Cd device cam
+.Cd device usb
 .Cd device umass
 .Ed
 .Pp
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198554 - in head/sys: amd64/linux32 i386/linux

2009-10-28 Thread John Baldwin
Author: jhb
Date: Wed Oct 28 20:17:54 2009
New Revision: 198554
URL: http://svn.freebsd.org/changeset/base/198554

Log:
  Fix some problems with effective mmap() offsets  32 bits.  This was
  partially fixed on amd64 earlier.  Rather than forcing linux_mmap_common()
  to use a 32-bit offset, have it accept a 64-bit file offset.  This offset
  is then passed to the real mmap() call.  Rather than inventing a structure
  to hold the normal linux_mmap args that has a 64-bit offset, just pass
  each of the arguments individually to linux_mmap_common() since that more
  closes matches the existing style of various kern_foo() functions.
  
  Submitted by: Christian Zander @ Nvidia
  MFC after:1 week

Modified:
  head/sys/amd64/linux32/linux32_machdep.c
  head/sys/i386/linux/linux_machdep.c

Modified: head/sys/amd64/linux32/linux32_machdep.c
==
--- head/sys/amd64/linux32/linux32_machdep.cWed Oct 28 17:46:52 2009
(r198553)
+++ head/sys/amd64/linux32/linux32_machdep.cWed Oct 28 20:17:54 2009
(r198554)
@@ -91,6 +91,10 @@ linux_to_bsd_sigaltstack(int lsa)
return (bsa);
 }
 
+static int linux_mmap_common(struct thread *td, l_uintptr_t addr,
+   l_size_t len, l_int prot, l_int flags, l_int fd,
+   l_loff_t pos);
+
 int
 bsd_to_linux_sigaltstack(int bsa)
 {
@@ -759,12 +763,9 @@ linux_clone(struct thread *td, struct li
 #define STACK_SIZE  (2 * 1024 * 1024)
 #define GUARD_SIZE  (4 * PAGE_SIZE)
 
-static int linux_mmap_common(struct thread *, struct l_mmap_argv *);
-
 int
 linux_mmap2(struct thread *td, struct linux_mmap2_args *args)
 {
-   struct l_mmap_argv linux_args;
 
 #ifdef DEBUG
if (ldebug(mmap2))
@@ -773,14 +774,9 @@ linux_mmap2(struct thread *td, struct li
args-flags, args-fd, args-pgoff);
 #endif
 
-   linux_args.addr = PTROUT(args-addr);
-   linux_args.len = args-len;
-   linux_args.prot = args-prot;
-   linux_args.flags = args-flags;
-   linux_args.fd = args-fd;
-   linux_args.pgoff = args-pgoff;
-
-   return (linux_mmap_common(td, linux_args));
+   return (linux_mmap_common(td, PTROUT(args-addr), args-len, args-prot,
+   args-flags, args-fd, (uint64_t)(uint32_t)args-pgoff *
+   PAGE_SIZE));
 }
 
 int
@@ -799,15 +795,15 @@ linux_mmap(struct thread *td, struct lin
linux_args.addr, linux_args.len, linux_args.prot,
linux_args.flags, linux_args.fd, linux_args.pgoff);
 #endif
-   if ((linux_args.pgoff % PAGE_SIZE) != 0)
-   return (EINVAL);
-   linux_args.pgoff /= PAGE_SIZE;
 
-   return (linux_mmap_common(td, linux_args));
+   return (linux_mmap_common(td, linux_args.addr, linux_args.len,
+   linux_args.prot, linux_args.flags, linux_args.fd,
+   (uint32_t)linux_args.pgoff));
 }
 
 static int
-linux_mmap_common(struct thread *td, struct l_mmap_argv *linux_args)
+linux_mmap_common(struct thread *td, l_uintptr_t addr, l_size_t len, l_int 
prot,
+l_int flags, l_int fd, l_loff_t pos)
 {
struct proc *p = td-td_proc;
struct mmap_args /* {
@@ -830,21 +826,20 @@ linux_mmap_common(struct thread *td, str
 * Linux mmap(2):
 * You must specify exactly one of MAP_SHARED and MAP_PRIVATE
 */
-   if (! ((linux_args-flags  LINUX_MAP_SHARED) ^
-   (linux_args-flags  LINUX_MAP_PRIVATE)))
+   if (!((flags  LINUX_MAP_SHARED) ^ (flags  LINUX_MAP_PRIVATE)))
return (EINVAL);
 
-   if (linux_args-flags  LINUX_MAP_SHARED)
+   if (flags  LINUX_MAP_SHARED)
bsd_args.flags |= MAP_SHARED;
-   if (linux_args-flags  LINUX_MAP_PRIVATE)
+   if (flags  LINUX_MAP_PRIVATE)
bsd_args.flags |= MAP_PRIVATE;
-   if (linux_args-flags  LINUX_MAP_FIXED)
+   if (flags  LINUX_MAP_FIXED)
bsd_args.flags |= MAP_FIXED;
-   if (linux_args-flags  LINUX_MAP_ANON)
+   if (flags  LINUX_MAP_ANON)
bsd_args.flags |= MAP_ANON;
else
bsd_args.flags |= MAP_NOSYNC;
-   if (linux_args-flags  LINUX_MAP_GROWSDOWN)
+   if (flags  LINUX_MAP_GROWSDOWN)
bsd_args.flags |= MAP_STACK;
 
/*
@@ -852,12 +847,12 @@ linux_mmap_common(struct thread *td, str
 * on Linux/i386. We do this to ensure maximum compatibility.
 * Linux/ia64 does the same in i386 emulation mode.
 */
-   bsd_args.prot = linux_args-prot;
+   bsd_args.prot = prot;
if (bsd_args.prot  (PROT_READ | PROT_WRITE | PROT_EXEC))
bsd_args.prot |= PROT_READ | PROT_EXEC;
 
/* Linux does not check file descriptor when MAP_ANONYMOUS is set. */
-   bsd_args.fd = (bsd_args.flags  MAP_ANON) ? -1 : linux_args-fd;
+   bsd_args.fd = (bsd_args.flags  MAP_ANON) ? -1 : fd;
if (bsd_args.fd != -1) {
/*
  

svn commit: r198555 - stable/8/share/zoneinfo

2009-10-28 Thread Edwin Groothuis
Author: edwin
Date: Wed Oct 28 21:07:42 2009
New Revision: 198555
URL: http://svn.freebsd.org/changeset/base/198555

Log:
  MFC of r197597, r198270, r198515:
  
  MFC of tzdata2009n:
  - Pakistan will go out DST on 1 October.
  - Headsup for changes in Argentina.
  
  MFC of tzdata2009o:
  - Somoa has not moved to DST this year (comment only)
  - Bangladesh stays on DST for now.
  - Pakistan went back to standard time in 1 October 2009
  
  MFC of tzdata2009p:
  - Argentina does not go to DST this year.
  
  Approved by:  re (Ken Smith)

Modified:
  stable/8/share/zoneinfo/   (props changed)
  stable/8/share/zoneinfo/asia
  stable/8/share/zoneinfo/australasia
  stable/8/share/zoneinfo/southamerica

Modified: stable/8/share/zoneinfo/asia
==
--- stable/8/share/zoneinfo/asiaWed Oct 28 20:17:54 2009
(r198554)
+++ stable/8/share/zoneinfo/asiaWed Oct 28 21:07:42 2009
(r198555)
@@ -1,5 +1,5 @@
 # pre
-# @(#)asia 8.40
+# @(#)asia 8.42
 # This file is in the public domain, so clarified as of
 # 2009-05-17 by Arthur David Olson.
 
@@ -172,11 +172,30 @@ Zone  Asia/Bahrain3:22:20 -   LMT 1920
# 
 #
 # No DST end date has been announced yet.
 
-# From Arthur David Olson (2009-07-11):
-# Arbitrarily end DST at the end of 2009 so that a POSIX-sytle time zone string
-# can appear in the Dhaka binary file and for the benefit of old glibc
-# reimplementations of the time zone software that mishandle permanent DST.
-# A change will be required once the end date is known.
+# From Alexander Krivenyshev (2009-09-25):
+# Bangladesh won't go back to Standard Time from October 1, 2009, 
+# instead it will continue DST measure till the cabinet makes a fresh 
decision. 
+#
+# Following report by same newspaper-The Daily Star Friday:
+# DST change awaits cabinet decision-Clock won't go back by 1-hr from Oct 1
+# a href=http://www.thedailystar.net/newDesign/news-details.php?nid=107021;
+# http://www.thedailystar.net/newDesign/news-details.php?nid=107021
+# /a
+# or
+# a href=http://www.worldtimezone.com/dst_news/dst_news_bangladesh04.html;
+# http://www.worldtimezone.com/dst_news/dst_news_bangladesh04.html
+# /a
+
+# From Steffen Thorsen (2009-10-13):
+# IANS (Indo-Asian News Service) now reports:
+# Bangladesh has decided that the clock advanced by an hour to make 
+# maximum use of daylight hours as an energy saving measure would 
+# continue for an indefinite period.
+#
+# One of many places where it is published:
+# a 
href=http://www.thaindian.com/newsportal/business/bangladesh-to-continue-indefinitely-with-advanced-time_100259987.html;
+# 
http://www.thaindian.com/newsportal/business/bangladesh-to-continue-indefinitely-with-advanced-time_100259987.html
+# /a
 
 # Zone NAMEGMTOFF  RULES   FORMAT  [UNTIL]
 Zone   Asia/Dhaka  6:01:40 -   LMT 1890
@@ -186,8 +205,7 @@ ZoneAsia/Dhaka  6:01:40 -   LMT 1890
6:30-   BURT1951 Sep 30
6:00-   DACT1971 Mar 26 # Dacca Time
6:00-   BDT 2009 Jun 19 23:00 # Bangladesh 
Time
-   6:001:00BDST2010
-   6:00-   BDT
+   6:001:00BDST
 
 # Bhutan
 # Zone NAMEGMTOFF  RULES   FORMAT  [UNTIL]
@@ -1674,16 +1692,66 @@ ZoneAsia/Muscat 3:54:20 -   LMT 1920
 # advance clocks in the country by one hour from April 15 to
 # conserve energy
 
-# From Arthur David Olson (2009-04-10):
-# Assume for now that Pakistan will end DST in 2009 as it did in 2008.
+# From Steffen Thorsen (2009-09-17):
+# The News International, Pakistan reports that: The Federal
+# Government has decided to restore the previous time by moving the
+# clocks backward by one hour from October 1. A formal announcement to
+# this effect will be made after the Prime Minister grants approval in
+# this regard. 
+# a href=http://www.thenews.com.pk/updates.asp?id=87168;
+# http://www.thenews.com.pk/updates.asp?id=87168
+# /a
+
+# From Alexander Krivenyshev (2009-09-28):
+# According to Associated Press Of Pakistan, it is confirmed that
+# Pakistan clocks across the country would be turned back by an hour from 
October
+# 1, 2009.
+#
+# Clocks to go back one hour from 1 Oct
+# a 
href=http://www.app.com.pk/en_/index.php?option=com_contenttask=viewid=86715Itemid=2;
+# 
http://www.app.com.pk/en_/index.php?option=com_contenttask=viewid=86715Itemid=2
+# /a
+# or
+# a href=http://www.worldtimezone.com/dst_news/dst_news_pakistan07.htm;
+# http://www.worldtimezone.com/dst_news/dst_news_pakistan07.htm
+# /a
+
+# From Steffen Thorsen (2009-09-29):
+# Alexander Krivenyshev wrote:
+#  According to Associated Press Of Pakistan, it is confirmed that
+#  Pakistan clocks across the country would be turned back by an hour from 
October
+#  1, 2009.
+#
+# Now they 

svn commit: r198556 - stable/8/usr.sbin/mfiutil

2009-10-28 Thread John Baldwin
Author: jhb
Date: Wed Oct 28 21:08:20 2009
New Revision: 198556
URL: http://svn.freebsd.org/changeset/base/198556

Log:
  MFC: Remove spurious README and an old version of the manpage.

Deleted:
  stable/8/usr.sbin/mfiutil/README
  stable/8/usr.sbin/mfiutil/mfiutil.1
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198557 - releng/8.0/usr.sbin/mfiutil

2009-10-28 Thread John Baldwin
Author: jhb
Date: Wed Oct 28 21:11:13 2009
New Revision: 198557
URL: http://svn.freebsd.org/changeset/base/198557

Log:
  MFC: Remove spurious README and an old version of the manpage.
  
  Approved by:  re (kib)

Deleted:
  releng/8.0/usr.sbin/mfiutil/README
  releng/8.0/usr.sbin/mfiutil/mfiutil.1
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198558 - releng/8.0/share/zoneinfo

2009-10-28 Thread Edwin Groothuis
Author: edwin
Date: Wed Oct 28 21:12:34 2009
New Revision: 198558
URL: http://svn.freebsd.org/changeset/base/198558

Log:
  MFC of r197597, r198270, r198515.
  
  MFC of tzdata2009n:
  - Pakistan will go out DST on 1 October.
  - Headsup for changes in Argentina.
  
  MFC of tzdata2009o:
  - Somoa has not moved to DST this year (comment only)
  - Bangladesh stays on DST for now.
  - Pakistan went back to standard time in 1 October 2009
  
  MFC of tzdata2009p:
  - Argentina does not go to DST this year.
  
  Approved by:  re (Ken Smith)

Modified:
  releng/8.0/share/zoneinfo/   (props changed)
  releng/8.0/share/zoneinfo/asia
  releng/8.0/share/zoneinfo/australasia
  releng/8.0/share/zoneinfo/southamerica

Modified: releng/8.0/share/zoneinfo/asia
==
--- releng/8.0/share/zoneinfo/asia  Wed Oct 28 21:11:13 2009
(r198557)
+++ releng/8.0/share/zoneinfo/asia  Wed Oct 28 21:12:34 2009
(r198558)
@@ -1,5 +1,5 @@
 # pre
-# @(#)asia 8.40
+# @(#)asia 8.42
 # This file is in the public domain, so clarified as of
 # 2009-05-17 by Arthur David Olson.
 
@@ -172,11 +172,30 @@ Zone  Asia/Bahrain3:22:20 -   LMT 1920
# 
 #
 # No DST end date has been announced yet.
 
-# From Arthur David Olson (2009-07-11):
-# Arbitrarily end DST at the end of 2009 so that a POSIX-sytle time zone string
-# can appear in the Dhaka binary file and for the benefit of old glibc
-# reimplementations of the time zone software that mishandle permanent DST.
-# A change will be required once the end date is known.
+# From Alexander Krivenyshev (2009-09-25):
+# Bangladesh won't go back to Standard Time from October 1, 2009, 
+# instead it will continue DST measure till the cabinet makes a fresh 
decision. 
+#
+# Following report by same newspaper-The Daily Star Friday:
+# DST change awaits cabinet decision-Clock won't go back by 1-hr from Oct 1
+# a href=http://www.thedailystar.net/newDesign/news-details.php?nid=107021;
+# http://www.thedailystar.net/newDesign/news-details.php?nid=107021
+# /a
+# or
+# a href=http://www.worldtimezone.com/dst_news/dst_news_bangladesh04.html;
+# http://www.worldtimezone.com/dst_news/dst_news_bangladesh04.html
+# /a
+
+# From Steffen Thorsen (2009-10-13):
+# IANS (Indo-Asian News Service) now reports:
+# Bangladesh has decided that the clock advanced by an hour to make 
+# maximum use of daylight hours as an energy saving measure would 
+# continue for an indefinite period.
+#
+# One of many places where it is published:
+# a 
href=http://www.thaindian.com/newsportal/business/bangladesh-to-continue-indefinitely-with-advanced-time_100259987.html;
+# 
http://www.thaindian.com/newsportal/business/bangladesh-to-continue-indefinitely-with-advanced-time_100259987.html
+# /a
 
 # Zone NAMEGMTOFF  RULES   FORMAT  [UNTIL]
 Zone   Asia/Dhaka  6:01:40 -   LMT 1890
@@ -186,8 +205,7 @@ ZoneAsia/Dhaka  6:01:40 -   LMT 1890
6:30-   BURT1951 Sep 30
6:00-   DACT1971 Mar 26 # Dacca Time
6:00-   BDT 2009 Jun 19 23:00 # Bangladesh 
Time
-   6:001:00BDST2010
-   6:00-   BDT
+   6:001:00BDST
 
 # Bhutan
 # Zone NAMEGMTOFF  RULES   FORMAT  [UNTIL]
@@ -1674,16 +1692,66 @@ ZoneAsia/Muscat 3:54:20 -   LMT 1920
 # advance clocks in the country by one hour from April 15 to
 # conserve energy
 
-# From Arthur David Olson (2009-04-10):
-# Assume for now that Pakistan will end DST in 2009 as it did in 2008.
+# From Steffen Thorsen (2009-09-17):
+# The News International, Pakistan reports that: The Federal
+# Government has decided to restore the previous time by moving the
+# clocks backward by one hour from October 1. A formal announcement to
+# this effect will be made after the Prime Minister grants approval in
+# this regard. 
+# a href=http://www.thenews.com.pk/updates.asp?id=87168;
+# http://www.thenews.com.pk/updates.asp?id=87168
+# /a
+
+# From Alexander Krivenyshev (2009-09-28):
+# According to Associated Press Of Pakistan, it is confirmed that
+# Pakistan clocks across the country would be turned back by an hour from 
October
+# 1, 2009.
+#
+# Clocks to go back one hour from 1 Oct
+# a 
href=http://www.app.com.pk/en_/index.php?option=com_contenttask=viewid=86715Itemid=2;
+# 
http://www.app.com.pk/en_/index.php?option=com_contenttask=viewid=86715Itemid=2
+# /a
+# or
+# a href=http://www.worldtimezone.com/dst_news/dst_news_pakistan07.htm;
+# http://www.worldtimezone.com/dst_news/dst_news_pakistan07.htm
+# /a
+
+# From Steffen Thorsen (2009-09-29):
+# Alexander Krivenyshev wrote:
+#  According to Associated Press Of Pakistan, it is confirmed that
+#  Pakistan clocks across the country would be turned back by an hour from 
October
+#  1, 2009.
+#

svn commit: r198559 - stable/7/share/zoneinfo

2009-10-28 Thread Edwin Groothuis
Author: edwin
Date: Wed Oct 28 21:13:12 2009
New Revision: 198559
URL: http://svn.freebsd.org/changeset/base/198559

Log:
  MFC of r198270, r198515.
  
  MFC of tzdata2009o:
  - Somoa has not moved to DST this year (comment only)
  - Bangladesh stays on DST for now.
  - Pakistan went back to standard time in 1 October 2009
  
  MFC of tzdata2009p:
  - Argentina does not go to DST this year.

Modified:
  stable/7/share/zoneinfo/   (props changed)
  stable/7/share/zoneinfo/asia
  stable/7/share/zoneinfo/australasia
  stable/7/share/zoneinfo/southamerica

Modified: stable/7/share/zoneinfo/asia
==
--- stable/7/share/zoneinfo/asiaWed Oct 28 21:12:34 2009
(r198558)
+++ stable/7/share/zoneinfo/asiaWed Oct 28 21:13:12 2009
(r198559)
@@ -1,5 +1,5 @@
 # pre
-# @(#)asia 8.41
+# @(#)asia 8.42
 # This file is in the public domain, so clarified as of
 # 2009-05-17 by Arthur David Olson.
 
@@ -172,11 +172,30 @@ Zone  Asia/Bahrain3:22:20 -   LMT 1920
# 
 #
 # No DST end date has been announced yet.
 
-# From Arthur David Olson (2009-07-11):
-# Arbitrarily end DST at the end of 2009 so that a POSIX-sytle time zone string
-# can appear in the Dhaka binary file and for the benefit of old glibc
-# reimplementations of the time zone software that mishandle permanent DST.
-# A change will be required once the end date is known.
+# From Alexander Krivenyshev (2009-09-25):
+# Bangladesh won't go back to Standard Time from October 1, 2009, 
+# instead it will continue DST measure till the cabinet makes a fresh 
decision. 
+#
+# Following report by same newspaper-The Daily Star Friday:
+# DST change awaits cabinet decision-Clock won't go back by 1-hr from Oct 1
+# a href=http://www.thedailystar.net/newDesign/news-details.php?nid=107021;
+# http://www.thedailystar.net/newDesign/news-details.php?nid=107021
+# /a
+# or
+# a href=http://www.worldtimezone.com/dst_news/dst_news_bangladesh04.html;
+# http://www.worldtimezone.com/dst_news/dst_news_bangladesh04.html
+# /a
+
+# From Steffen Thorsen (2009-10-13):
+# IANS (Indo-Asian News Service) now reports:
+# Bangladesh has decided that the clock advanced by an hour to make 
+# maximum use of daylight hours as an energy saving measure would 
+# continue for an indefinite period.
+#
+# One of many places where it is published:
+# a 
href=http://www.thaindian.com/newsportal/business/bangladesh-to-continue-indefinitely-with-advanced-time_100259987.html;
+# 
http://www.thaindian.com/newsportal/business/bangladesh-to-continue-indefinitely-with-advanced-time_100259987.html
+# /a
 
 # Zone NAMEGMTOFF  RULES   FORMAT  [UNTIL]
 Zone   Asia/Dhaka  6:01:40 -   LMT 1890
@@ -186,8 +205,7 @@ ZoneAsia/Dhaka  6:01:40 -   LMT 1890
6:30-   BURT1951 Sep 30
6:00-   DACT1971 Mar 26 # Dacca Time
6:00-   BDT 2009 Jun 19 23:00 # Bangladesh 
Time
-   6:001:00BDST2010
-   6:00-   BDT
+   6:001:00BDST
 
 # Bhutan
 # Zone NAMEGMTOFF  RULES   FORMAT  [UNTIL]
@@ -1684,13 +1702,56 @@ ZoneAsia/Muscat 3:54:20 -   LMT 1920
 # http://www.thenews.com.pk/updates.asp?id=87168
 # /a
 
+# From Alexander Krivenyshev (2009-09-28):
+# According to Associated Press Of Pakistan, it is confirmed that
+# Pakistan clocks across the country would be turned back by an hour from 
October
+# 1, 2009.
+#
+# Clocks to go back one hour from 1 Oct
+# a 
href=http://www.app.com.pk/en_/index.php?option=com_contenttask=viewid=86715Itemid=2;
+# 
http://www.app.com.pk/en_/index.php?option=com_contenttask=viewid=86715Itemid=2
+# /a
+# or
+# a href=http://www.worldtimezone.com/dst_news/dst_news_pakistan07.htm;
+# http://www.worldtimezone.com/dst_news/dst_news_pakistan07.htm
+# /a
+
+# From Steffen Thorsen (2009-09-29):
+# Alexander Krivenyshev wrote:
+#  According to Associated Press Of Pakistan, it is confirmed that
+#  Pakistan clocks across the country would be turned back by an hour from 
October
+#  1, 2009.
+#
+# Now they seem to have changed their mind, November 1 is the new date:
+# a href=http://www.thenews.com.pk/top_story_detail.asp?Id=24742;
+# http://www.thenews.com.pk/top_story_detail.asp?Id=24742
+# /a
+# The country's clocks will be reversed by one hour on November 1.
+# Officials of Federal Ministry for Interior told this to Geo News on
+# Monday.
+#
+# And more importantly, it seems that these dates will be kept every year:
+# It has now been decided that clocks will be wound forward by one hour
+# on April 15 and reversed by an hour on November 1 every year without
+# obtaining prior approval, the officials added.
+#
+# We have confirmed this year's end date with both with the Ministry of
+# Water and Power and the Pakistan 

svn commit: r198560 - stable/6/share/zoneinfo

2009-10-28 Thread Edwin Groothuis
Author: edwin
Date: Wed Oct 28 21:13:58 2009
New Revision: 198560
URL: http://svn.freebsd.org/changeset/base/198560

Log:
  MFC of r198270, r198515.
  
  MFC of tzdata2009o:
  - Somoa has not moved to DST this year (comment only)
  - Bangladesh stays on DST for now.
  - Pakistan went back to standard time in 1 October 2009
  
  MFC of tzdata2009p:
  - Argentina does not go to DST this year.

Modified:
  stable/6/share/zoneinfo/   (props changed)
  stable/6/share/zoneinfo/asia
  stable/6/share/zoneinfo/australasia
  stable/6/share/zoneinfo/southamerica

Modified: stable/6/share/zoneinfo/asia
==
--- stable/6/share/zoneinfo/asiaWed Oct 28 21:13:12 2009
(r198559)
+++ stable/6/share/zoneinfo/asiaWed Oct 28 21:13:58 2009
(r198560)
@@ -1,5 +1,5 @@
 # pre
-# @(#)asia 8.41
+# @(#)asia 8.42
 # This file is in the public domain, so clarified as of
 # 2009-05-17 by Arthur David Olson.
 
@@ -172,11 +172,30 @@ Zone  Asia/Bahrain3:22:20 -   LMT 1920
# 
 #
 # No DST end date has been announced yet.
 
-# From Arthur David Olson (2009-07-11):
-# Arbitrarily end DST at the end of 2009 so that a POSIX-sytle time zone string
-# can appear in the Dhaka binary file and for the benefit of old glibc
-# reimplementations of the time zone software that mishandle permanent DST.
-# A change will be required once the end date is known.
+# From Alexander Krivenyshev (2009-09-25):
+# Bangladesh won't go back to Standard Time from October 1, 2009, 
+# instead it will continue DST measure till the cabinet makes a fresh 
decision. 
+#
+# Following report by same newspaper-The Daily Star Friday:
+# DST change awaits cabinet decision-Clock won't go back by 1-hr from Oct 1
+# a href=http://www.thedailystar.net/newDesign/news-details.php?nid=107021;
+# http://www.thedailystar.net/newDesign/news-details.php?nid=107021
+# /a
+# or
+# a href=http://www.worldtimezone.com/dst_news/dst_news_bangladesh04.html;
+# http://www.worldtimezone.com/dst_news/dst_news_bangladesh04.html
+# /a
+
+# From Steffen Thorsen (2009-10-13):
+# IANS (Indo-Asian News Service) now reports:
+# Bangladesh has decided that the clock advanced by an hour to make 
+# maximum use of daylight hours as an energy saving measure would 
+# continue for an indefinite period.
+#
+# One of many places where it is published:
+# a 
href=http://www.thaindian.com/newsportal/business/bangladesh-to-continue-indefinitely-with-advanced-time_100259987.html;
+# 
http://www.thaindian.com/newsportal/business/bangladesh-to-continue-indefinitely-with-advanced-time_100259987.html
+# /a
 
 # Zone NAMEGMTOFF  RULES   FORMAT  [UNTIL]
 Zone   Asia/Dhaka  6:01:40 -   LMT 1890
@@ -186,8 +205,7 @@ ZoneAsia/Dhaka  6:01:40 -   LMT 1890
6:30-   BURT1951 Sep 30
6:00-   DACT1971 Mar 26 # Dacca Time
6:00-   BDT 2009 Jun 19 23:00 # Bangladesh 
Time
-   6:001:00BDST2010
-   6:00-   BDT
+   6:001:00BDST
 
 # Bhutan
 # Zone NAMEGMTOFF  RULES   FORMAT  [UNTIL]
@@ -1684,13 +1702,56 @@ ZoneAsia/Muscat 3:54:20 -   LMT 1920
 # http://www.thenews.com.pk/updates.asp?id=87168
 # /a
 
+# From Alexander Krivenyshev (2009-09-28):
+# According to Associated Press Of Pakistan, it is confirmed that
+# Pakistan clocks across the country would be turned back by an hour from 
October
+# 1, 2009.
+#
+# Clocks to go back one hour from 1 Oct
+# a 
href=http://www.app.com.pk/en_/index.php?option=com_contenttask=viewid=86715Itemid=2;
+# 
http://www.app.com.pk/en_/index.php?option=com_contenttask=viewid=86715Itemid=2
+# /a
+# or
+# a href=http://www.worldtimezone.com/dst_news/dst_news_pakistan07.htm;
+# http://www.worldtimezone.com/dst_news/dst_news_pakistan07.htm
+# /a
+
+# From Steffen Thorsen (2009-09-29):
+# Alexander Krivenyshev wrote:
+#  According to Associated Press Of Pakistan, it is confirmed that
+#  Pakistan clocks across the country would be turned back by an hour from 
October
+#  1, 2009.
+#
+# Now they seem to have changed their mind, November 1 is the new date:
+# a href=http://www.thenews.com.pk/top_story_detail.asp?Id=24742;
+# http://www.thenews.com.pk/top_story_detail.asp?Id=24742
+# /a
+# The country's clocks will be reversed by one hour on November 1.
+# Officials of Federal Ministry for Interior told this to Geo News on
+# Monday.
+#
+# And more importantly, it seems that these dates will be kept every year:
+# It has now been decided that clocks will be wound forward by one hour
+# on April 15 and reversed by an hour on November 1 every year without
+# obtaining prior approval, the officials added.
+#
+# We have confirmed this year's end date with both with the Ministry of
+# Water and Power and the Pakistan 

svn commit: r198566 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci net

2009-10-28 Thread Qing Li
Author: qingli
Date: Wed Oct 28 21:43:16 2009
New Revision: 198566
URL: http://svn.freebsd.org/changeset/base/198566

Log:
  MFC   r198353
  
  Verify smp_started is true before calling
  sched_bind() and sched_unbind().
  
  Reviewed by:  kmacy

Modified:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/net/flowtable.c

Modified: stable/8/sys/net/flowtable.c
==
--- stable/8/sys/net/flowtable.cWed Oct 28 21:41:23 2009
(r198565)
+++ stable/8/sys/net/flowtable.cWed Oct 28 21:43:16 2009
(r198566)
@@ -963,15 +963,19 @@ flowtable_clean_vnet(void)
if (CPU_ABSENT(i))
continue;
 
-   thread_lock(curthread);
-   sched_bind(curthread, i);
-   thread_unlock(curthread);
+   if (smp_started == 1) {
+   thread_lock(curthread);
+   sched_bind(curthread, i);
+   thread_unlock(curthread);
+   }
 
flowtable_free_stale(ft, NULL);
 
-   thread_lock(curthread);
-   sched_unbind(curthread);
-   thread_unlock(curthread);
+   if (smp_started == 1) {
+   thread_lock(curthread);
+   sched_unbind(curthread);
+   thread_unlock(curthread);
+   }
}
} else {
flowtable_free_stale(ft, NULL);
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198567 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci netinet netinet6

2009-10-28 Thread Qing Li
Author: qingli
Date: Wed Oct 28 21:45:25 2009
New Revision: 198567
URL: http://svn.freebsd.org/changeset/base/198567

Log:
  MFC   r198418
  
  Use the correct option name in the preprocessor command to enable
  or disable diagnostic messages.
  
  Reviewed by:  ru

Modified:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/netinet/if_ether.c
  stable/8/sys/netinet/in.c
  stable/8/sys/netinet6/in6.c

Modified: stable/8/sys/netinet/if_ether.c
==
--- stable/8/sys/netinet/if_ether.c Wed Oct 28 21:43:16 2009
(r198566)
+++ stable/8/sys/netinet/if_ether.c Wed Oct 28 21:45:25 2009
(r198567)
@@ -172,7 +172,7 @@ arptimer(void *arg)
callout_active(lle-la_timer))) {
(void) llentry_free(lle);
}
-#ifdef DIAGNOSTICS
+#ifdef DIAGNOSTIC
else {
struct sockaddr *l3addr = L3_ADDR(lle);
log(LOG_INFO, arptimer issue: %p, IPv4 address: \%s\\n, lle,

Modified: stable/8/sys/netinet/in.c
==
--- stable/8/sys/netinet/in.c   Wed Oct 28 21:43:16 2009(r198566)
+++ stable/8/sys/netinet/in.c   Wed Oct 28 21:45:25 2009(r198567)
@@ -1327,7 +1327,7 @@ in_lltable_rtcheck(struct ifnet *ifp, co
/* XXX rtalloc1 should take a const param */
rt = rtalloc1(__DECONST(struct sockaddr *, l3addr), 0, 0);
if (rt == NULL || (rt-rt_flags  RTF_GATEWAY) || rt-rt_ifp != ifp) {
-#ifdef DIAGNOSTICS
+#ifdef DIAGNOSTIC
log(LOG_INFO, IPv4 address: \%s\ is not on the network\n,
inet_ntoa(((const struct sockaddr_in *)l3addr)-sin_addr));
 #endif
@@ -1366,7 +1366,7 @@ in_lltable_lookup(struct lltable *llt, u
break;
}
if (lle == NULL) {
-#ifdef DIAGNOSTICS
+#ifdef DIAGNOSTIC
if (flags  LLE_DELETE)
log(LOG_INFO, interface address is missing from cache 
= %p  in delete\n, lle);
 #endif
@@ -1400,7 +1400,7 @@ in_lltable_lookup(struct lltable *llt, u
LLE_WLOCK(lle);
lle-la_flags = LLE_DELETED;
LLE_WUNLOCK(lle);
-#ifdef DIAGNOSTICS
+#ifdef DIAGNOSTIC
log(LOG_INFO, ifaddr cache = %p  is deleted\n, lle);  
 #endif
}

Modified: stable/8/sys/netinet6/in6.c
==
--- stable/8/sys/netinet6/in6.c Wed Oct 28 21:43:16 2009(r198566)
+++ stable/8/sys/netinet6/in6.c Wed Oct 28 21:45:25 2009(r198567)
@@ -2430,7 +2430,7 @@ in6_lltable_lookup(struct lltable *llt, 
LLE_WLOCK(lle);
lle-la_flags = LLE_DELETED;
LLE_WUNLOCK(lle);
-#ifdef DIAGNOSTICS
+#ifdef DIAGNOSTIC
log(LOG_INFO, ifaddr cache = %p  is deleted\n, lle);  
 #endif 
}
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


svn commit: r198568 - in releng/8.0/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci net

2009-10-28 Thread Qing Li
Author: qingli
Date: Wed Oct 28 22:00:49 2009
New Revision: 198568
URL: http://svn.freebsd.org/changeset/base/198568

Log:
  MFC   r198353
  
  Verify smp_started is true before calling
  sched_bind() and sched_unbind().
  
  Reviewed by:  kmacy
  Approved by:  re

Modified:
  releng/8.0/sys/   (props changed)
  releng/8.0/sys/amd64/include/xen/   (props changed)
  releng/8.0/sys/cddl/contrib/opensolaris/   (props changed)
  releng/8.0/sys/contrib/dev/acpica/   (props changed)
  releng/8.0/sys/contrib/pf/   (props changed)
  releng/8.0/sys/dev/xen/xenpci/   (props changed)
  releng/8.0/sys/net/flowtable.c

Modified: releng/8.0/sys/net/flowtable.c
==
--- releng/8.0/sys/net/flowtable.c  Wed Oct 28 21:45:25 2009
(r198567)
+++ releng/8.0/sys/net/flowtable.c  Wed Oct 28 22:00:49 2009
(r198568)
@@ -963,15 +963,19 @@ flowtable_clean_vnet(void)
if (CPU_ABSENT(i))
continue;
 
-   thread_lock(curthread);
-   sched_bind(curthread, i);
-   thread_unlock(curthread);
+   if (smp_started == 1) {
+   thread_lock(curthread);
+   sched_bind(curthread, i);
+   thread_unlock(curthread);
+   }
 
flowtable_free_stale(ft, NULL);
 
-   thread_lock(curthread);
-   sched_unbind(curthread);
-   thread_unlock(curthread);
+   if (smp_started == 1) {
+   thread_lock(curthread);
+   sched_unbind(curthread);
+   thread_unlock(curthread);
+   }
}
} else {
flowtable_free_stale(ft, NULL);
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


Re: svn commit: r198553 - stable/7/share/man/man4

2009-10-28 Thread jhell


On Wed, 28 Oct 2009 13:46, brueffer@ wrote:

Author: brueffer
Date: Wed Oct 28 17:46:52 2009
New Revision: 198553
URL: http://svn.freebsd.org/changeset/base/198553

Log:
 MFC: r198363

 List more dependencies for these drivers. While here, convert
 atapicam(4) to use our standard section 4 SYNOPSIS layout.

Modified:
 stable/7/share/man/man4/   (props changed)
 stable/7/share/man/man4/atapicam.4
 stable/7/share/man/man4/umass.4


--

stage 1: configuring the kernel

--
cd /usr/src/sys/i386/conf; 
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin 
config  -d /usr/obj/usr/src/sys/SH4500  /usr/src/sys/i386/conf/SH4500

config: Error: device cam is unknown

cam is not a device or a option on stable/7 or before. Maybe stable/8 - ? 
or is this planned to be turned into a device ?.


Already included without extra added options here on r198529M stable/7

# kldstat -v |grep cam
41 cam
#

Best regards.

--

 ;; dataix.net!jhell 2048R/89D8547E 2009-09-30
 ;; BSD since FreeBSD 4.2Linux since Slackware 2.1
 ;; 85EF E26B 07BB 3777 76BE  B12A 9057 8789 89D8 547E

___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org