Fuji S1800

2011-01-12 Thread DigitalesNet
USD359   Fujifilm   
  FinePix s1800 Caacute;mara  digital
compacta, visor electroacute;nico / Sensor 
CCD de 12,20 MP efectivos / Objetivo (en 35 mm) 
28,0 - 504,0 mm Zoom 18x (oacute;ptico) / 6,3x (digital) / Soportes
 compatibles SD Card, SDHC / Pantalla LCD de
3,00  pulgadas



Re: Teach pcidump(8) about another capability

2011-01-12 Thread David Gwynne
ok

On 12/01/2011, at 8:44 AM, Mark Kettenis wrote:

 Capability 0x12 is called SATA.  I have a diff to add PCI_CAP_SATA
 to pcireg.h, but given the fact that we're in ABI lock, that'll have
 to wait.  But it is anyhow better to use the number of elements in the
 array to decide whether we know about a capability or not.
 
 ok?
 
 Index: pcidump.c
 ===
 RCS file: /cvs/src/usr.sbin/pcidump/pcidump.c,v
 retrieving revision 1.26
 diff -u -p -r1.26 pcidump.c
 --- pcidump.c 19 Dec 2010 23:23:21 -  1.26
 +++ pcidump.c 11 Jan 2011 22:41:28 -
 @@ -35,6 +35,10 @@
 
 #define PCIDEV/dev/pci
 
 +#ifndef nitems
 +#define nitems(_a)   (sizeof((_a)) / sizeof((_a)[0]))
 +#endif
 +
 __dead void usage(void);
 void scanpcidomain(void);
 int probe(int, int, int);
 @@ -86,9 +90,9 @@ const char *pci_capnames[] = {
   AGP8,
   Secure,
   PCI Express,
 - Extended Message Signaled Interrupts (MSI-X)
 + Extended Message Signaled Interrupts (MSI-X),
 + SATA
 };
 -#define PCI_CAPNAMES_MAX PCI_CAP_MSIX
 
 int
 main(int argc, char *argv[])
 @@ -337,7 +341,7 @@ dump_caplist(int bus, int dev, int func,
   return;
   cap = PCI_CAPLIST_CAP(reg);
   printf(\t0x%04x: Capability 0x%02x: , ptr, cap);
 - if (cap  PCI_CAPNAMES_MAX)
 + if (cap  nitems(pci_capnames))
   cap = 0;
   printf(%s\n, pci_capnames[cap]);
   if (cap == PCI_CAP_PCIEXPRESS)



Re: Teach pcidump(8) about another capability

2011-01-12 Thread Jonathan Gray
ok, but you should add 0x13 Advanced Features as well:

http://www.pcisig.com/specifications/conventional/pci_30/ECN_Conventional_Adv_Caps_27Jul06.pdf

On Tue, Jan 11, 2011 at 11:44:54PM +0100, Mark Kettenis wrote:
 Capability 0x12 is called SATA.  I have a diff to add PCI_CAP_SATA
 to pcireg.h, but given the fact that we're in ABI lock, that'll have
 to wait.  But it is anyhow better to use the number of elements in the
 array to decide whether we know about a capability or not.
 
 ok?
 
 Index: pcidump.c
 ===
 RCS file: /cvs/src/usr.sbin/pcidump/pcidump.c,v
 retrieving revision 1.26
 diff -u -p -r1.26 pcidump.c
 --- pcidump.c 19 Dec 2010 23:23:21 -  1.26
 +++ pcidump.c 11 Jan 2011 22:41:28 -
 @@ -35,6 +35,10 @@
  
  #define PCIDEV   /dev/pci
  
 +#ifndef nitems
 +#define nitems(_a)   (sizeof((_a)) / sizeof((_a)[0]))
 +#endif
 +
  __dead void usage(void);
  void scanpcidomain(void);
  int probe(int, int, int);
 @@ -86,9 +90,9 @@ const char *pci_capnames[] = {
   AGP8,
   Secure,
   PCI Express,
 - Extended Message Signaled Interrupts (MSI-X)
 + Extended Message Signaled Interrupts (MSI-X),
 + SATA
  };
 -#define PCI_CAPNAMES_MAX PCI_CAP_MSIX
  
  int
  main(int argc, char *argv[])
 @@ -337,7 +341,7 @@ dump_caplist(int bus, int dev, int func,
   return;
   cap = PCI_CAPLIST_CAP(reg);
   printf(\t0x%04x: Capability 0x%02x: , ptr, cap);
 - if (cap  PCI_CAPNAMES_MAX)
 + if (cap  nitems(pci_capnames))
   cap = 0;
   printf(%s\n, pci_capnames[cap]);
   if (cap == PCI_CAP_PCIEXPRESS)



Solicitud de Informacion

2011-01-12 Thread El Genuino
PREMIUM PACK La Mayor Base de Datos de E-Mails jamas Recopilada
Actualizada al 30 de Noviembre de 2010!!!  Pedidos: (011)(15) 6249-1566
elgenu...@datafull.com  Transmiti tu idea, hace conocer tus ofertas, tus
productos, tus servicios o tu negocio / empresa a nada mas y nada menos que a
4.800.000 direcciones electronicas.

El correo electronico ha tenido un crecimiento tan explosivo desde el inicio
de internet, que ya reemplazo rapidamente a los sistemas tradicionales de
correspondencia. Su velocidad, capacidad de penetracion y bajo costo, ha
derivado en que sea una herramienta fundamental en el nuevo manejo del
marketing, gracias a las siguientes ventajas:


Una forma rapida y eficaz de presentar su empresa en Internet a nivel nacional
y mundial.
Aumentar en forma eficaz el numero de visitas y transacciones de su Sitio.
Entregar informacion directa y oportuna de su empresa o producto con imagenes,
sonido y texto directamente a la pantalla de su receptor.
Promover productos y servicios.
Lanzar productos, ofertas y nuevas oportunidades de negocios.
Crear un sistema de comunicaciones permanente con sus clientes.
Generar nuevas ventas. El Genuino Premium Pack es una enorme Base de Datos
diseqada en tres tipos de formatos distintos (Excel, Outlook y Archivos de
Texto por orden alfabetico).

Esta Primer Guia Argentina de Direcciones Electronicas fue realizada con el
fin de potenciar el Marketing Electronico en nuestro pais!!  Contenido del
Pack:
13000 E-mails de Universidades  Facultades
5200 E-mails de Empresas Lideres
35000 E-mails de Capital Federal separados por Zonas
700 E-mails de Estaciones de Servicio Argentina
3 E-mails del Gran Buenos Aires separados por Zonas
1800 E-mails de Organizadores de Eventos y Fiestas
2500 E-mails de Exportadores, Importadores y Mayoristas
2000 E-mails de Fabricas e Industrias Argentinas
1900 E-mails de Farmacias, Laboratorios y Droguerias
4300 E-mails de Ferreterias y afines Argentinas
3400 E-mails de Hoteles Argentinos
1800 E-mails de Inmobiliarias Argentinas
1500 E-mails de Jugueterias y Fabricantes Argentinos
7800 E-mails de Empresas de Marketing y Publicidad Argentinos
1300 E-mails de Empresas Metalurgicas Argentinas
350 E-mails de Mueblerias Y Fabricantes de Argentina
2500 E-mails de Organizaciones no Gubernamentales
800 E-mails de Empresas Quimicas y Petroleras
3000 E-mails de Estaciones de Radio y Television Argentina
1200 E-mails de Restaurantes , Bares y Pubs Argentinos
300 E-mails de Empresas de Seguridad Argentina
5000 E-mails de Empresas de Telefonia y Comunicaciones
1000 E-mails de Empresas Textiles
1900 E-mails de Empresas de Transporte Argentina
900 E-mails de Veterinarias Argentinas
44.000 E-mails de Provincias Argentinas separadas por Provincia
1800 E-mails de Administracion de Consorcios y Campos de Argentina
2700 E-mails de Abogados
800 E-mails de Profesionales del Area Humanistica
3800 E-mails de Arquitectos
1500 E-mails de Empresas de Alimentacion Argentina
4500 E-mails de Cientificos e Investigadores Argentina
600 E-mails de Aseguradoras Argentina
1 E-mails de Comerciantes Varios de Argentina
1600 E-mails de Asociaciones Bancarias de Argentina
1200 E-mails de Cine, Video y Fotografia Argentina
4000 E-mails de Asociaciones Culturales Argentina
300 E-mails de Diputados y Senadores
7000 E-mails de Asociaciones y Empleados Gubernamentales
3000 E-mails de Docentes Argentina
1600 E-mails de Empresas Automotrices Argentina
7300 E-mails de Encargados de Sistemas Argentina
2100 E-mails de Centros Comerciales Argentina
4500 E-mails de Clubes y Actividades deportivas Argentina
37000 E-mails de Personas del Sexo Masculino Argentina edades 20 a 45 aqos.
14500 E-mails de Empresas Computacion Argentina
26000 E-mails de Personas del Sexo Femenino Argentinas edades 20 a 50 aqos.
2500 E-mails de Diarios y Revistas Argentina
900 E-mails de Odontologos Argentina
1600 E-mails de Empresas Discograficas y Grabadoras Argentina
800 E-mails de Psicologos  Argentina
2200 E-mails de Empresas de Electronica
16.000 E-mails de Argentina de Educacion
12.000 E-mails de Argentina de Salud
100.000 E-mails de Empresas Argentinas
40.000 E-mails de Profesionales Argentinos
40.000 E-mails de Comerciantes Argentinos
15.000 E-mails de Turismo Argentina
16.500 E-mails de Empresas Agropecuarias Argentinas
10.500 E-mails de Industria Grafica Argentina
5.500 E-mails de Constructoras y Afines Argentinos
3.000 Empresas con nombre, cuit, telefono, cantidad de empleados,fax,
responsable, cargo, rubro extraidos de padrones oficiales!
3.000 Medios de comunicacion (diarios, radios, revistas, etc)
20.000 Pymes Argentinas por Rubro
11.500 por barrios de Capital Federal
8.500 Mails y direcciones de empresas y Pymes de Computacion y relacionados de
Argentina
7700 Contadores de Argentina
3200 Ciencias Economicas de Argentina
350 Consultoras de Argentina
4900 Ingenieros clasificados por especializacion de Argentina
650 Traductores de Idiomas Oficiales de Argentina
5900 Medicos Argentinos
1.000.000 

Re: Teach pcidump(8) about another capability

2011-01-12 Thread Mark Kettenis
 Date: Thu, 13 Jan 2011 03:10:58 +1100
 From: Jonathan Gray j...@goblin.cx
 
 ok, but you should add 0x13 Advanced Features as well:
 
 http://www.pcisig.com/specifications/conventional/pci_30/ECN_Conventional_Adv_Caps_27Jul06.pdf

Never seen that one.  What a horrible name.  Feel free to add it if
you think there's hardware out there that implements it.



ospfd - always check config file permissions

2011-01-12 Thread Martin Pelikan
Hello,
this patch makes ospfd(8) and ospf6d(8) check its config file permissions
even if run with a -n to test it. bgpd already behaves this way (changed
6 years ago by henning@) and it's quite handy to fix the permissions while
doing tests, rather than at the first production boot time :-)
Any comments?
--
Martin Pelikan


Index: parse.y
===
RCS file: /cvs/src/usr.sbin/ospf6d/parse.y,v
retrieving revision 1.20
diff -u -p -r1.20 parse.y
--- parse.y 13 Dec 2010 13:43:37 -  1.20
+++ parse.y 12 Jan 2011 22:23:36 -
@@ -887,7 +887,7 @@ parse_config(char *filename, int opts)
conf-spf_hold_time = DEFAULT_SPF_HOLDTIME;
conf-spf_state = SPF_IDLE;
 
-   if ((file = pushfile(filename, !(conf-opts  OSPFD_OPT_NOACTION))) == 
NULL) {
+   if ((file = pushfile(filename, 1)) == NULL) {
free(conf);
return (NULL);
}
Index: parse.y
===
RCS file: /cvs/src/usr.sbin/ospfd/parse.y,v
retrieving revision 1.73
diff -u -p -r1.73 parse.y
--- parse.y 13 Dec 2010 13:43:37 -  1.73
+++ parse.y 12 Jan 2011 22:23:51 -
@@ -1092,7 +1092,7 @@ parse_config(char *filename, int opts)
conf-spf_hold_time = DEFAULT_SPF_HOLDTIME;
conf-spf_state = SPF_IDLE;
 
-   if ((file = pushfile(filename, !(conf-opts  OSPFD_OPT_NOACTION))) == 
NULL) {
+   if ((file = pushfile(filename, 1)) == NULL) {
free(conf);
return (NULL);
}



Re: ospfd - always check config file permissions

2011-01-12 Thread Claudio Jeker
On Wed, Jan 12, 2011 at 11:57:59PM +0100, Martin Pelikan wrote:
 Hello,
 this patch makes ospfd(8) and ospf6d(8) check its config file permissions
 even if run with a -n to test it. bgpd already behaves this way (changed
 6 years ago by henning@) and it's quite handy to fix the permissions while
 doing tests, rather than at the first production boot time :-)
 Any comments?

Appart from my desire to kill the permission checking?
I don't see why bgpd and ospfd needs this non-unix like behaviour, 
other tools like pfctl do not care. We install the file with the correct
permissions so if somebody changes them it is his fault. But this is just
my opinion. 

 --
 Martin Pelikan
 
 
 Index: parse.y
 ===
 RCS file: /cvs/src/usr.sbin/ospf6d/parse.y,v
 retrieving revision 1.20
 diff -u -p -r1.20 parse.y
 --- parse.y   13 Dec 2010 13:43:37 -  1.20
 +++ parse.y   12 Jan 2011 22:23:36 -
 @@ -887,7 +887,7 @@ parse_config(char *filename, int opts)
   conf-spf_hold_time = DEFAULT_SPF_HOLDTIME;
   conf-spf_state = SPF_IDLE;
  
 - if ((file = pushfile(filename, !(conf-opts  OSPFD_OPT_NOACTION))) == 
 NULL) {
 + if ((file = pushfile(filename, 1)) == NULL) {
   free(conf);
   return (NULL);
   }
 Index: parse.y
 ===
 RCS file: /cvs/src/usr.sbin/ospfd/parse.y,v
 retrieving revision 1.73
 diff -u -p -r1.73 parse.y
 --- parse.y   13 Dec 2010 13:43:37 -  1.73
 +++ parse.y   12 Jan 2011 22:23:51 -
 @@ -1092,7 +1092,7 @@ parse_config(char *filename, int opts)
   conf-spf_hold_time = DEFAULT_SPF_HOLDTIME;
   conf-spf_state = SPF_IDLE;
  
 - if ((file = pushfile(filename, !(conf-opts  OSPFD_OPT_NOACTION))) == 
 NULL) {
 + if ((file = pushfile(filename, 1)) == NULL) {
   free(conf);
   return (NULL);
   }
 

-- 
:wq Claudio



Re: ospfd - always check config file permissions

2011-01-12 Thread Martin Pelikan
On Thu, Jan 13, 2011 at 12:13:14AM +0100, Claudio Jeker wrote:
 Appart from my desire to kill the permission checking?
 I don't see why bgpd and ospfd needs this non-unix like behaviour, 
 other tools like pfctl do not care. We install the file with the correct
 permissions so if somebody changes them it is his fault. But this is just
 my opinion. 

Personally, I don't really care about the check. I saw bgpd notify me,
so I fixed that and then both ospfd's told me they were OK. Obviously
the errors followed next boot.
I'd just want the behavior to be consistent and the information
configuration OK to keep its meaning up. Because I found in CVS log
that Henning and Theo were discussing that earlier, I did it this way.
After all, it doesn't look like an expensive check, or is it?

--
Martin Pelikan



INTERNATIONAL SCIENTIFIC CONFERENCE GEOPOLITICS, GEOECONOMICS AND INTERNATIONAL RELATIONS PROBLEMS Saint Petersburg, Russia, March, 23-24, 2011

2011-01-12 Thread Organizing Committee
FIFTH INTERNATIONAL SCIENTIFIC b PRACTICAL CONFERENCE
GEOPOLITICS, GEOECONOMICS AND INTERNATIONAL RELATIONS PROBLEMS. NATO AND EU
EXPANSION TO THE EAST b SECURITY PROBLEMS OF RUSSIA, CIS STATES, EUROPE AND
ASIA
Saint Petersburg, Russia, March, 23-24, 2011
+7 (812) 3329469, www.geopolitika.net, c...@htfi.ru
DEAR COLLEAGUES!
We are glad to inform you that The FIFTH INTERNATIONAL SCIENTIFIC b
PRACTICAL CONFERENCE bGEOPOLITICS, GEOECONOMICS AND INTERNATIONAL RELATIONS
PROBLEMS. NATO AND EU EXPANSION TO THE EAST b SECURITY PROBLEMS IN RUSSIA,
CIS STATES, EUROPE AND ASIA will be held in Saint Petersburg, Russia, March,
23-24, 2011.
The following questions are to be discussed at plenary and sectional meetings
of the Conference:
Historiography, philosophy, theory and practice of geopolitics, geo-economics
and international relations. Nazism, fascism, racism, genocide and dual
standards of Western-European civilization. Genesis and morphology;
Influence of The Warsaw Treaty cancellation and the Soviet Union collapse on
the geopolitical and geo-economical situation in the world, on Russia, CIS
states, Europe and Asia security;
Analysis of the balance variation of nuclear and non-nuclear weapons and
military industrial complexes finance support in Russia b CIS and USA b
NATO states in 1991-2009;
Problems and prospect the elimination of the occupation regimes of power and
of  occupation military bases in Europe and Asia. Liquidation of NATO b the
only way of struggle with the consequences of the Second World War, the fight
against fascism and struggle for freedom and democracy of European and Asian
countries;
Termination of Russia and other CIS states separate negotiations with NATO as
the only way for foundation of equal and democratic international
relationships in Eurasian continent;
Problems and prospect of CIS development as a real geopolitical subject of
international community and international law with one elected parliament (by
analogy with EU building);
Constitutional, financial and information problems of development of defense
capacity, national security and independence of Russia and CIS in 2010-2035.
Establishment of the strategic parity on air-capable fleets and
missile-nuclear forces between Russia, CIS and NATO countries as a main
condition for the democratization of international relationships and
peacekeeping;
The sovereign independent states right for the necessary self-defense and
possession of nuclear missile weapons in the modern geopolitical conditions.
Problems of Nuclear Nonproliferation Treaties inappropriateness to new
geopolitical realities;
Theoretical and practical background of developing the appropriate response
measures of CIS states in case of the threat of the outer intervention,
including struggle with fomentation of intrastate interethnic and interfaith
conflicts;
State and power b problems of interests and interaction. Development of
scientifically-based methods of optimum interaction between power and state;
Windows of vulnerability. The chief of the state b as the main window of
vulnerability. Problems and preventative measures of authoritiesb banditism
and transformation of the all branches into joint OCG (organized criminal
group) of the state. Genesis and morphology;
Division of the roles of the chief of the state and Commander-in-Chief of the
state as a way of strengthening of the state security, struggle with fascism,
struggle for the democracy an liberalization of the country, defense of the
human rights;
Television and cinematography as the ways of the totalitarianism development,
ideological aggression and unconstitutional methods of the states
administration;
Anti-Russian attitude of the Russian television as the main dangers of Russia
and CIS security. Problems and prospect of establishment of independent
pro-Russian television
High-technology, industrial, financial and food supply state safety. Problems
and ways of solving them;
Strong army and developed high-technology industry b the basis of the state
independent politics, geopolitics, geo-economics and international relations;
Speed-up of CIS states integration b the main way of their security in
conditions of NATO and EU expansion to the West, outer threats increase,
including drug invasion of NATO against CIS from Afghanistan and other world
drug regions.
The list of questions to be introduced for discussion at the Conference may be
widened at Your request. We propose you and scientific workers of your
University, Institute, Institution to take an active part in the Conference
and in the work of Organizing Committee.
The deadline for sending applications to participate in the Conference is
15.02.2011.
Your application should contain the following information:
First name and last name of authors
Title and length of paper abstracts
Affiliation (if materials are presented by the institution)
First name and last name of a speaker
Mailing address, fax and e-mail
The official language of the Conference 

Workaround for data corruption issue with ALI M5229 IDE chip used with Sun Blade 100/Netra X1.

2011-01-12 Thread Brad
The following diff is ported from NetBSD (the workaround originated from
OpenSolaris) to workaround the issue of data corruption with the ALI M5229
IDE chipset when using UltraDMA. Same workaround is also used by FreeBSD/Linux.
This chipset is found in some sparc64 systems such as the Blade 100 and
Netra X1.

I don't have any such systems but I went digging for this being curious
why the nasty hack was added to the kernel configs to disable UltraDMA
to workaround this bug and thus penalizing other IDE/SATA controllers
that could be in the same system. If you have one of the mentioned
systems please test this.


Index: dev/pci/pciide.c
===
RCS file: /home/cvs/src/sys/dev/pci/pciide.c,v
retrieving revision 1.323
diff -u -p -r1.323 pciide.c
--- dev/pci/pciide.c18 Nov 2010 18:12:52 -  1.323
+++ dev/pci/pciide.c13 Jan 2011 00:22:14 -
@@ -212,6 +212,8 @@ void natsemi_irqack(struct channel_softc
 void ns_scx200_chip_map(struct pciide_softc *, struct pci_attach_args *);
 void ns_scx200_setup_channel(struct channel_softc *);
 
+int acer_pcib_match(struct pci_attach_args *);
+void acer_do_reset(struct channel_softc *);
 void acer_chip_map(struct pciide_softc *, struct pci_attach_args *);
 void acer_setup_channel(struct channel_softc *);
 int  acer_pci_intr(void *);
@@ -289,6 +291,11 @@ struct pciide_product_desc {
void (*chip_map)(struct pciide_softc *, struct pci_attach_args *);
 };
 
+struct pciide_acer_softc {
+   struct pciide_softc pciide_sc;
+   struct pci_attach_args pcib_pa;
+};
+
 /* Flags for ide_flags */
 #define IDE_PCI_CLASS_OVERRIDE 0x0001  /* accept even if class != pciide */
 #define IDE_16BIT_IOSPACE  0x0002  /* I/O space BARS ignore upper word */
@@ -5619,10 +5626,27 @@ ns_scx200_setup_channel(struct channel_s
pciide_print_modes(cp);
 }
 
+int
+acer_pcib_match(struct pci_attach_args *pa)
+{
+   /*
+* We need to access the PCI config space of the pcib, see
+* acer_do_reset().
+*/
+   if (PCI_CLASS(pa-pa_class) == PCI_CLASS_BRIDGE 
+   PCI_SUBCLASS(pa-pa_class) == PCI_SUBCLASS_BRIDGE_ISA 
+   PCI_VENDOR(pa-pa_id) == PCI_VENDOR_ALI 
+   PCI_PRODUCT(pa-pa_id) == PCI_PRODUCT_ALI_M1533)
+   return (1);
+
+   return (0);
+}
+
 void
 acer_chip_map(struct pciide_softc *sc, struct pci_attach_args *pa)
 {
struct pciide_channel *cp;
+   struct pciide_acer_softc *acer_sc = (struct pciide_acer_softc *)sc;
int channel;
pcireg_t cr, interface;
bus_size_t cmdsize, ctlsize;
@@ -5684,6 +5708,12 @@ acer_chip_map(struct pciide_softc *sc, s
pciide_pci_read(sc-sc_pc, sc-sc_tag, ACER_0x4B)
| ACER_0x4B_CDETECT);
 
+   if (rev == 0xC3) {
+   /* Install reset bug workaround */
+   if (pci_find_device(acer_sc-pcib_pa, acer_pcib_match))
+   sc-sc_wdcdev.reset = acer_do_reset;
+   }
+
for (channel = 0; channel  sc-sc_wdcdev.nchannels; channel++) {
cp = sc-pciide_channels[channel];
if (pciide_chansetup(sc, channel, interface) == 0)
@@ -5713,6 +5743,31 @@ acer_chip_map(struct pciide_softc *sc, s
}
acer_setup_channel(cp-wdc_channel);
}
+}
+
+void
+acer_do_reset(struct channel_softc *chp)
+{
+   struct pciide_channel *cp = (struct pciide_channel *)chp;
+   struct pciide_softc *sc = (struct pciide_softc *)cp-wdc_channel.wdc;
+   struct pciide_acer_softc *acer_sc = (struct pciide_acer_softc *)sc;
+   u_int8_t reg;
+
+   /*
+* From OpenSolaris: after a reset we need to disable/enable the
+* corresponding channel, or data corruption will occur in
+* UltraDMA modes.
+*/
+
+   wdc_do_reset(chp);
+
+   reg = pciide_pci_read(acer_sc-pcib_pa.pa_pc, acer_sc-pcib_pa.pa_tag,
+   ACER_PCIB_CTRL);
+   pciide_pci_write(acer_sc-pcib_pa.pa_pc, acer_sc-pcib_pa.pa_tag,
+   ACER_PCIB_CTRL, reg  ~ACER_PCIB_CTRL_ENCHAN(chp-channel));
+   delay(1000);
+   pciide_pci_write(acer_sc-pcib_pa.pa_pc, acer_sc-pcib_pa.pa_tag,
+   ACER_PCIB_CTRL, reg);
 }
 
 void
Index: dev/pci/pciide_acer_reg.h
===
RCS file: /home/cvs/src/sys/dev/pci/pciide_acer_reg.h,v
retrieving revision 1.8
diff -u -p -r1.8 pciide_acer_reg.h
--- dev/pci/pciide_acer_reg.h   23 Jul 2010 07:47:13 -  1.8
+++ dev/pci/pciide_acer_reg.h   12 Jan 2011 05:14:26 -
@@ -89,6 +89,10 @@
 #define ACER_0x79_REVC2_EN 0x4
 #define ACER_0x79_EN   0x2
 
+/* OpenSolaris: channel enable/disable in the PCI-ISA bridge */
+#define ACER_PCIB_CTRL 0x58
+#define ACER_PCIB_CTRL_ENCHAN(chan) (0x4  (chan))
+
 /*
  * IDE bus frequency (1 byte)
  * This should be setup by the BIOS - can we rely on this ?
Index: arch/sparc64/conf/GENERIC